You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Craig L Russell <Cr...@Sun.COM> on 2010/02/18 02:01:30 UTC
Missing mvn artifact
Hi,
I'm getting a failure on a mvn artifact. Probably don't have the right
repos configured...
[CraigRussell:~/openjpa/openjpa/trunk] clr% mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] OpenJPA Parent POM
[INFO] OpenJPA Utilities Library
[INFO] OpenJPA Kernel
[INFO] OpenJPA JDBC
[INFO] OpenJPA Persistence
[INFO] OpenJPA Persistence JDBC
[INFO] OpenJPA Persistence Locking Tests
[INFO] OpenJPA XML Store
[INFO] OpenJPA Slice
[INFO] OpenJPA Aggregate Jar
[INFO] OpenJPA Aggregate Jar with Dependencies
[INFO] OpenJPA Project Docs and Assemblies
[INFO] OpenJPA Examples
[INFO] OpenJPA Integration Tests
[INFO] OpenJPA Integration Tests - Examples
[INFO] OpenJPA Integration Tests - JPA TCK
[INFO] OpenJPA Integration Tests - Bean Validation
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenJPA Parent POM
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.1/maven-source-plugin-2.1.1.jar
[WARNING] Unable to get resource 'org.apache.maven.plugins:maven-
source-plugin:maven-plugin:2.1.1' from repository central (http://repo1.maven.org/maven2
): Operation timed out
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: 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=org.apache.maven.plugins -
DartifactId=maven-source-plugin -Dversion=2.1.1 -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=org.apache.maven.plugins -
DartifactId=maven-source-plugin -Dversion=2.1.1 -Dpackaging=maven-
plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.1.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.1.1
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 minutes 2 seconds
[INFO] Finished at: Wed Feb 17 11:36:26 PST 2010
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------
Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!
Re: Missing mvn artifact
Posted by Donald Woods <dw...@apache.org>.
It's in the repo1 mirror that my builds are using on the east coast -
38.97.124.18
I've noticed lately that the ibiblio mirrors (152.46.7.65 or
152.46.7.80) are missing some artifacts, so you may need to update your
etc/hosts to force repo1 to resolve to a different mirror, like the one
above (or 63.246.20.112).....
-Donald
On 2/17/10 8:01 PM, Craig L Russell wrote:
> Hi,
>
> I'm getting a failure on a mvn artifact. Probably don't have the right
> repos configured...
>
> [CraigRussell:~/openjpa/openjpa/trunk] clr% mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] OpenJPA Parent POM
> [INFO] OpenJPA Utilities Library
> [INFO] OpenJPA Kernel
> [INFO] OpenJPA JDBC
> [INFO] OpenJPA Persistence
> [INFO] OpenJPA Persistence JDBC
> [INFO] OpenJPA Persistence Locking Tests
> [INFO] OpenJPA XML Store
> [INFO] OpenJPA Slice
> [INFO] OpenJPA Aggregate Jar
> [INFO] OpenJPA Aggregate Jar with Dependencies
> [INFO] OpenJPA Project Docs and Assemblies
> [INFO] OpenJPA Examples
> [INFO] OpenJPA Integration Tests
> [INFO] OpenJPA Integration Tests - Examples
> [INFO] OpenJPA Integration Tests - JPA TCK
> [INFO] OpenJPA Integration Tests - Bean Validation
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building OpenJPA Parent POM
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.1/maven-source-plugin-2.1.1.jar
>
> [WARNING] Unable to get resource
> 'org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.1.1' from
> repository central (http://repo1.maven.org/maven2): Operation timed out
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] A required plugin was not found: 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=org.apache.maven.plugins
> -DartifactId=maven-source-plugin -Dversion=2.1.1
> -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=org.apache.maven.plugins
> -DartifactId=maven-source-plugin -Dversion=2.1.1
> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
> org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.1.1
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.1.1
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 minutes 2 seconds
> [INFO] Finished at: Wed Feb 17 11:36:26 PST 2010
> [INFO] Final Memory: 8M/15M
> [INFO]
> ------------------------------------------------------------------------
>
> Craig L Russell
> Architect, Sun Java Enterprise System http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>