Hi Michael - you are not doing anything stupid on your end. We are doing something stupid as a project - we should define the jar collector (and any other build plugins for maven) as almost a separate project with their own version number tracking.
That way when you go to build - maven can download an already released jar collector from a repository and get to work. Right now it both needs this plugin; and tries to build it ... which is a bit circular. As far as I know the way to get going is to cd into the jar collector and build; and the go back out and do your build as usual. Jody On Wed, Jul 22, 2009 at 7:53 PM, Michael Bedward<[email protected]> wrote: > 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 > ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
