Hello folks,

Just this tried again with maven 2.1.0.  I deleted the
org/geotools/maven dir from my local repository to simulate a
first-time build, then tried to build trunk.  The jar-collector error
appeared again as was the case with maven 2.0.9 :-(

As before, it can be fixed by building jar-collector offline and then
building trunk.

Am I doing something stupid at my end ?


[INFO] snapshot org.geotools.maven:jar-collector:2.6-SNAPSHOT:
checking for updates from osgeo
Downloading: 
http://download.osgeo.org/webdav/geotools//org/geotools/maven/jar-collector/2.6-SNAPSHOT/jar-collector-2.6-SNAPSHOT.jar
[INFO] Unable to find resource
'org.geotools.maven:jar-collector:maven-plugin:2.6-SNAPSHOT' in
repository osgeo (http://download.osgeo.org/webdav/geotools/)
[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.geotools.maven
-DartifactId=jar-collector -Dversion=2.6-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.geotools.maven
-DartifactId=jar-collector -Dversion=2.6-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


  org.geotools.maven:jar-collector:maven-plugin:2.6-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  osgeo (http://download.osgeo.org/webdav/geotools/)


  org.geotools.maven:jar-collector:maven-plugin:2.6-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  osgeo (http://download.osgeo.org/webdav/geotools/)

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to