You can remove repositories element from
jakarta/commons/trunks-sandbox/pom.xml and make it inherit from the
apache pom with
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>1</version>
</parent>
On 5/3/06, Henri Yandell <[EMAIL PROTECTED]> wrote:
I get the following error (using a fresh install of Maven 2.0.4) when
trying to build OpenPGP, or indeed trying to do mvn -N install in
the sandbox directory to put the parent pom into the local repository.
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-site-plugin-2.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository snapshots
(http://snapshots.maven.codehaus.org/maven2)
[INFO] Skipping missing optional mojo:
org.apache.maven.plugins:maven-site-plugin:attach-descriptor
Downloading:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-site-plugin-2.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository snapshots
(http://snapshots.maven.codehaus.org/maven2)
[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-site-plugin \
-Dversion=2.0-SNAPSHOT -Dpackaging=maven-plugin
-Dfile=/path/to/file
Any thoughts?
Hen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]