dev@glassfish.java.net

cannot download persistence jar?

From: <Shing-Wai.Chan_at_Sun.COM>
Date: Mon, 21 Apr 2008 10:44:53 -0700

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

Hi,

I have just updated my workspace and see the following when I run
"mvn install" or "mvn -U install". Any idea?
Thanks.
     Shing Wai Chan

-----

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),
  maven2.java.net-backup
(https://maven2-repository.dev.java.net/nonav/repository),
  glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)