Hi all, I'm trying to make a "mvn clean install site" command on the Hudson I've installed for my company. I'd like to share my experiments on the site creation with maven.
To begin with, the maven version installed is the 2.0.9, on a Jdk5 (5.0.15). On this configuration, the command "mvn clean install site" passed correctly, generating the site in the target/site directories, but for an unknown reason, the javadoc generated is not present in the target directory, just in all target directories for every modules. Has someone ever tried this, and find a solution to get the javadoc regroup into the root target directory of Geotools (with a jdk5) ? So for me, mvn site on a JDK5 is a fail. Consequently, my second step was to try on a JDK6 (update 6). The "mvn clean install site" command fails with an error on the clover plugin in the root pom.xml. For an unknow reason to me, this plugin in the pom does not seems to work with a jdk6. Since it complains on the file "clover.licence", I've noticed that this url was not correct, the Geotools project URL has moved, that's the reason of my commit at revision 30542, to correct the url of the clover licence file. But even with this change, the maven site keeps complaining on this module. The only way I find is to comment this plugin description, in the root pom and in the pom of the geometry module. Has anyone ever used this plugin can help me to debug this situation ? Is this plugin used by Geotools ? Commenting this plugin does not cause any error at compilation and site generation, so I'm a little surprised. Plus, I've tested the same command on a Ubuntu platform, and the clover plugin on JDK6 works, if the URL of the clover.licence file is correct. Indeed, the site is well generated. I don't understand anything ... I will commit the clover licence URL in the pom.xml file of the geometry module, to fix the maven site command on Ubuntu platforms, but it still won't work on Gentoo ... Regards, Cédric. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
