dev@glassfish.java.net

Re: HK2 build broken?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 15 Apr 2008 15:24:25 -0700

Fixed now.

On Apr 15, 2008, at 3:09 PM, Lloyd L Chambers wrote:
> Fails elsewhere now...(after 'svn up')
>
> INFO] Executing tasks
> [INFO] snapshot com.sun.enterprise:tiger-types-osgi:0.3-SNAPSHOT:
> checking for updates from maven2-repository.dev.java.net
> [INFO] snapshot com.sun.enterprise:tiger-types-osgi:0.3-SNAPSHOT:
> checking for updates from maven-repository.dev.java.net
> Downloading: https://maven2-repository.dev.java.net/repository/com/sun/enterprise/tiger-types-osgi/0.3-SNAPSHOT/tiger-types-osgi-0.3-SNAPSHOT-sources.jar
> Downloading: https://maven-repository.dev.java.net/repository/com.sun.enterprise/jars/tiger-types-osgi-0.3-SNAPSHOT-sources.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.sun.enterprise
> ArtifactId: tiger-types-osgi
> Version: 0.3-SNAPSHOT
>
> Reason: 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=tiger-types-osgi \
> -Dversion=0.3-SNAPSHOT -Dclassifier=sources -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=tiger-types-osgi \
> -Dversion=0.3-SNAPSHOT -Dclassifier=sources -Dpackaging=jar -
> Dfile=/path/to/file \
> -Durl=[url] -DrepositoryId=[id]
>
>
> com.sun.enterprise:tiger-types-osgi:jar:0.3-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> maven2-repository.dev.java.net (https://maven2-repository.dev.java.net/repository
> ),
> maven-repository.dev.java.net (https://maven-repository.dev.java.net/repository
> )
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Tue Apr 15 15:08:41 PDT 2008
> [INFO] Final Memory: 17M/31M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> On Apr 15, 2008, at 3:03 PM, Kohsuke Kawaguchi wrote:
>>
>> It is due to a temporary glitch in deploying a new jar.
>>
>> I believe it should be fixed now.
>>
>> Lloyd L Chambers wrote:
>>> 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
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

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