Mail Archive Home | exoplatform List | December 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Do you see this failure:
=====================================================
[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-antrun-plugin \
-Dversion=1.2-SNAPSHOT -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
-Dartifact
Id=maven-antrun-plugin \
-Dversion=1.2-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
org.apache.maven.plugins:maven-antrun-plugin:maven-plugin:1.2-SNAPSHOT
=====================================================
?
So, you need to check this repository configuration within .m2/settings.xml
=====================================================
<pluginRepository>
<id>exoplatform.org</id>
<name>exoplatform.org internal repository</name>
<url>http://maven2.exoplatform.org/rest/maven2</url>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
=====================================================
HTH,
Alexey
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.