A page to collect notes on the conversion to Maven 2

Please use the StrutsMaintenanceMaven page for formal instructions.

Assemblies

The action/assembly module has the config for the binary assembly (borrowed from myfaces/core), the source assembly (borrowed from maven/components) and the "all" assembly which is currently in use (see assembly/pom.xml)

I tried combining these using multiple <execution>s of the assembly plugin, but got an error saying that the assembly plugin must be invoked directly. I think that means in <project>/<build>/<plugins>/<plugin>, and not in a profile.

maven-assembly-plugin v2.0.1 does support multiple descriptors, the docs published in October 2005 are for a prior version.

The source assembly (with <module>s) only works with maven-assembly-plugin 2.1-SNAPSHOT

Project Structure

Reconcile Maven's suggested directory structure with the current one, decide what to change and what to configure.

Maven

Struts

Notes

src/main/java

src/java

src/main/resources

src/java, conf, src/conf

src/test/java

src/test

src/test/resources

src/test, src/conf

src/site/xdoc

xdocs

src/tld

src/main/resources/META-INF

Other Issues

Notes

Timeline

StrutsMaven2Plan (last edited 2009-09-20 23:12:18 by localhost)