dev@glassfish.java.net

Re: build problems -- unable to download snapshot

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 21 Apr 2008 13:42:02 -0700

Note sure what has caused this, but I can't spot 1.0.3-SNAPSHOT
anywhere, so looks like the value has been incorrect for a long time. It
must be that somehow we've been locally building this artifact in this
version.

I committed your change.


Anissa Lam wrote:
> I think Byron starts seeing this on Friday and i am having the same thing.
> Kedar sent out email for a workaround. I followed that and i am able
> to built. As i don't use persistence, i don't know what problem this
> workaround will/may cause.
> workaround: in v3/pom.xml, change
> <persistence-api.version>1.0.3-SNAPSHOT</persistence-api.version>
> to
> <persistence-api.version>1.0-rev-1</persistence-api.version>
>
> thanks
> Anissa
>
> 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?
>>
>> 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
>
>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com