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:[email protected]
P.S. A good JDO? O, Gasp!