Hi Daniele, please see below, some more explanations. Daniele Romagnoli a écrit : > Hi guys, > I have a question in order to help fixing issues with the Javadoc > generation involing imageio-ext-gdal module and coverage-tools. > > On Mon, Feb 9, 2009 at 12:02 PM, Adrian Custer <acus...@gmail.com > <mailto:acus...@gmail.com>> wrote: > > Hey all, > > Cedric is back from too much snow, the poor boy, and too much skiing. > He's sharing with us the magic incantations to get the build > generating > javadocs. There are problems at various levels. > > > 0) Protective, paranoid cleanup > rm -Rf ~/.m2/repository/org/opengis > rm -Rf ~/.m2/repository/org/geotools > rm -Rf ~/.m2/repository/it/geosolutions > > 1) Checkout tag (2.5.3) > > 2) First compile: (with Java 6, maven 2.0.9) > > maven install -Dall -DskipTests > > => Build fails because coveragetools pom is borked. > > > I'm not sure I have understood this statement. Can you give me > additional info/explanation on this? > > Regards, > Daniele > Here is the schema to get a compilation error: 1) rm -Rf ~/.m2/repository/org/geotools 2) mvn install -Dall -DskipTests (from the root directory)...
With a clean .m2 repository of all org.geotools, you'll see that the unsupported module coveragetools needs gt-imageio-ext-gdal. But the dependency is probably not declared in the pom.xml of coveragetools, or it can be a matter of profile, I don't really know where the issue is. (Just deploying the gt-imageio-ext-gdal module on a repository can solve the problem too) In fact, gt-imageio-ext-gdal should have been built before the coveragetools module. So when building coveragetools, yo'u'll get: ... Downloading: http://download.java.net/maven/2/org/geotools/gt-imageio-ext-gdal/2.5.3/gt-imageio-ext-gdal-2.5.3.jar Downloading: http://lists.refractions.net/m2/org/geotools/gt-imageio-ext-gdal/2.5.3/gt-imageio-ext-gdal-2.5.3.jar Downloading: http://maven.geotools.fr/repository/org/geotools/gt-imageio-ext-gdal/2.5.3/gt-imageio-ext-gdal-2.5.3.jar Downloading: http://repo1.maven.org/maven2/org/geotools/gt-imageio-ext-gdal/2.5.3/gt-imageio-ext-gdal-2.5.3.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.geotools:gt-imageio-ext-gdal:jar:2.5.3 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-imageio-ext-gdal -Dversion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-imageio-ext-gdal -Dversion=2.5.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.geotools:gt-coveragetools:jar:2.5.3 2) org.geotools:gt-imageio-ext-gdal:jar:2.5.3 ---------- 1 required artifact is missing. for artifact: org.geotools:gt-coveragetools:jar:2.5.3 Regards, Cédric. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel