Downloading:
http://maven.glassfish.org/content/groups/glassfish-group//org/apache/felix/org.osgi.core/1.2.0/org.osgi.core-1.2.0.jar
59K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.sun.enterprise:hk2-core:jar:1.0.37-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.enterprise -DartifactId=hk2-core -Dversion=1.0.37-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.enterprise -DartifactId=hk2-core -Dversion=1.0.37-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.enterprise:hk2-dependency-verifier:jar:1.0.37-SNAPSHOT
2) com.sun.enterprise:hk2-core:jar:1.0.37-SNAPSHOT
2) com.sun.enterprise:osgi-adapter:jar:1.0.37-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.enterprise -DartifactId=osgi-adapter -Dversion=1.0.37-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.enterprise -DartifactId=osgi-adapter -Dversion=1.0.37-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.enterprise:hk2-dependency-verifier:jar:1.0.37-SNAPSHOT
2) com.sun.enterprise:osgi-adapter:jar:1.0.37-SNAPSHOT
----------
2 required artifacts are missing.
for artifact:
com.sun.enterprise:hk2-dependency-verifier:jar:1.0.37-SNAPSHOT
from the specified remote repositories:
glassfish-maven-repository (
http://maven.glassfish.org/content/groups/glassfish-group/),
central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Thu Aug 12 15:42:46 EDT 2010
[INFO] Final Memory: 12M/81M
[INFO] ------------------------------------------------------------------------