You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Siegmann Daniel, NY" <Da...@fja-us.com> on 2007/10/16 18:01:26 UTC
Maven ignores remote repository ... sometimes
Maven is checking our internal remote repository (configured in the POM)
for some artifacts - and then not bothering to check for others
(maven-pmdb-plugin)! Even more oddly, it downloads the POM but not the
jar.
Downloading the jar to the local repository manually works fine. The
'-X' option shows no additional information of interest.
Anyone have an idea what might be wrong? Or even what I else I could
check? I've copied the output below.
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO]
------------------------------------------------------------------------
-
---
[INFO] Building PM for Chubb Yacht (Enhancement)
[INFO] task-segment: [clean]
[INFO]
------------------------------------------------------------------------
-
---
Downloading:
http://repo1.maven.org/maven2/com/fja/mvnplugins/maven-pmdb-plugin/
1.0.0/maven-pmdb-plugin-1.0.0.pom
Downloading:
http://pwstwa04:8080/maven/repository/com/fja/mvnplugins/maven-pmdb
-plugin/1.0.0/maven-pmdb-plugin-1.0.0.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/com/fja/common/fjaus-configuration/1/
fjaus-configuration-1.pom
Downloading:
http://pwstwa04:8080/maven/repository/com/fja/common/fjaus-configur
ation/1/fjaus-configuration-1.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/com/fja/mvnplugins/maven-pmdb-plugin/
1.0.0/maven-pmdb-plugin-1.0.0.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that t
he 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=com.fja.mvnplugins
-DartifactId=maven-pmd
b-plugin \
-Dversion=1.0.0 -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=com.fja.mvnplugins
-DartifactId=maven-pmdb-pl
ugin \
-Dversion=1.0.0 -Dpackaging=maven-plugin -Dfile=/path/to/file \
-Durl=[url] -DrepositoryId=[id]
com.fja.mvnplugins:maven-pmdb-plugin:maven-plugin:1.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
com.fja.mvnplugins:maven-pmdb-plugin:maven-plugin:1.0.0
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: 4 seconds
[INFO] Finished at: Tue Oct 16 11:19:38 EDT 2007
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------
--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org