dev@glassfish.java.net

HK2 build broken?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 15 Apr 2008 14:35:48 -0700

MB2:hk2 lloyd$ svn up
At revision 686.
MB2:hk2 lloyd$ cd hk2
MB2:hk2 lloyd$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Modules Subsystem
[INFO] Inversion of Control / Autodependency mechanism
[INFO] Inhabitants' index generator
[INFO] org.jvnet.tiger-types repackaged as module
[INFO] HK2 configuration module
[INFO] HK2 core module
[INFO] HK2 configuration reader generator module
[INFO] StAX API and Woodstox OSGi repackaging
[INFO] OSGi repackaging of HK2 dependencies
[INFO] Module system maven support
[INFO] HK2 test harness
[INFO] Maven Plugin for hk2
[INFO] HK2 OSGi Adapter
[INFO] HK2 module of HK2 itself
[INFO] Autodepends tests
[INFO] HK2 test1
[INFO] HK2 test2
[INFO] HK2 config test
WAGON_VERSION: 1.0-beta-2
Downloading: http://download.java.net/maven/glassfish//com/sun/enterprise/hk2-maven-plugin/0.3-SNAPSHOT/hk2-maven-plugin-0.3-SNAPSHOT.jar
Downloading: http://download.java.net/maven/2//com/sun/enterprise/hk2-maven-plugin/0.3-SNAPSHOT/hk2-maven-plugin-0.3-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is
correct: Unable to download the artifact from any repository

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-maven-plugin \
         -Dversion=0.3-SNAPSHOT -Dpackaging=maven-plugin -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-maven-plugin \
         -Dversion=0.3-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/
to/file \
          -Durl=[url] -DrepositoryId=[id]


   com.sun.enterprise:hk2-maven-plugin:maven-plugin:0.3-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   glassfish-repository (http://download.java.net/maven/glassfish/),
   mavaen2-repository (http://download.java.net/maven/2/)

   com.sun.enterprise:hk2-maven-plugin:maven-plugin:0.3-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2),
   glassfish-repository (http://download.java.net/maven/glassfish/),
   mavaen2-repository (http://download.java.net/maven/2/)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Apr 15 14:35:09 PDT 2008
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------
MB2:hk2 lloyd$























---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc