dev@glassfish.java.net

Re: build problems -- unable to download snapshot

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 21 Apr 2008 11:59:07 -0700

Yes, removing the repository worked, albeit a painful alternative in
terms of time.

On Apr 21, 2008, at 11:52 AM, Jan.Luehe_at_Sun.COM wrote:
> Lloyd L Chambers wrote:
>
>> This is on the trunk. In the past week the build has gone flaky,
>> wasting hours with this kind of think.
>>
>> This is after a 'svn up', 'mvn clean', 'mvn -U install.
>>
>> Anyone else seeing this?
>
>
> Shing Wai had reported the same problem earlier this morning,
> and I just ran into it myself.
>
> Removing your .m2/repository is a workaround for the time being.
>
>
> Jan
>
>>
>> Lloyd
>> ------------------
>>
>> create.bundle:
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from glassfish-repository
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from java.net
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from glassfish-repository-wsinterop
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from java-dev-repository
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from repo1.maven.org
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from maven2.java.net
>> [INFO] snapshot javax.persistence:persistence-api:1.0.3-SNAPSHOT:
>> checking for updates from maven2.java.net-backup
>> Downloading: http://download.java.net/maven/glassfish/javax/persistence/persistence-api/1.0.3-SNAPSHOT/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: http://download.java.net/maven/1/javax.persistence/jars/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: http://maven.dyndns.org/glassfish//javax/persistence/persistence-api/1.0.3-SNAPSHOT/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: https://maven-repository.dev.java.net/nonav/repository/javax.persistence/jars/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0.3-SNAPSHOT/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: http://download.java.net/maven/2/javax/persistence/persistence-api/1.0.3-SNAPSHOT/persistence-api-1.0.3-SNAPSHOT.jar
>> Downloading: https://maven2-repository.dev.java.net/nonav/repository/javax/persistence/persistence-api/1.0.3-SNAPSHOT/persistence-api-1.0.3-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: javax.persistence
>> ArtifactId: persistence-api
>> Version: 1.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=javax.persistence -
>> DartifactId=persistence-api \
>> -Dversion=1.0.3-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=javax.persistence
>> - DartifactId=persistence-api \
>> -Dversion=1.0.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/
>> file \
>> -Durl=[url] -DrepositoryId=[id]
>>
>>
>> javax.persistence:persistence-api:jar:1.0.3-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> maven2.java.net (http://download.java.net/maven/2),
>> repo1.maven.org (http://repo1.maven.org/maven2),
>> java-dev-repository (https://maven-repository.dev.java.net/nonav/repository
>> ),
>> glassfish-repository (http://download.java.net/maven/glassfish),
>> java.net (http://download.java.net/maven/1),
>> maven2.java.net-backup (https://maven2-repository.dev.java.net/nonav/repository
>> ),
>> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
>>
>>
>> [INFO] ---------------------------------
>>
>>
>> ---
>> 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
>>
>
>
> ---------------------------------------------------------------------
> 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