Remove some custom plugins in our Maven build
---------------------------------------------
Key: GEOT-1253
URL: http://jira.codehaus.org/browse/GEOT-1253
Project: GeoTools
Issue Type: Task
Components: admin
Affects Versions: 2.4.M1
Reporter: Martin Desruisseaux
Priority: Minor
We wrote some custom Maven plugins at a time when some functionalities where
not available in standard Maven release. Today, some of our custom plugins
duplicate Maven standard plugins. We should try to remove them since Maven
plugins should be better known, more widely used and supported. The list
includes:
* {{gt2-jjtree-javacc}}, replaced by {{javacc-maven-plugin}}
(http://mojo.codehaus.org/javacc-maven-plugin/)
* {{gt2-rmic}}, replaced by {{rmic-maven-plugin}}
(http://mojo.codehaus.org/rmic-maven-plugin/)
* {{gt2-jar-collector}}, replaced by {{maven-assembly-plugin}}
(http://maven.apache.org/plugins/maven-assembly-plugin/)
The later may be more difficult to replace. Our {{gt2-jar-collector}} plugin
copies the Geotools JARs as well as dependencies with "runtime" and "compile"
scope. I'm not sure how to get equivalent fonctionalities with
{{maven-assembly-plugin}}. Its look like that the {{<dependencySets>}} element
in the assembly descriptor may do the job, but it needs to be experimented. A
tedious aspect of {{maven-assembly-plugin}} is that invoking {{mvn
assembly:assembly}} cause Maven to rebuild the project.
*Note 1:* We already use the {{maven-assembly-plugin}} in 2.4-M1, but we just
use it as a zip tools. We zip the whole project in a {{gt2\-...\-src.zip}}
file, and we zip the output of {{gt2-jar-collector}} in a {{gt2\-...\-bin.zip}}
file.
*Note 2:* We also use a custom taglet for our Javadoc. This custom taglet has
no equivalent in Maven standard release as far as I know. It requires Java 5 to
work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel