General steps in upgrading build files from JAM 2.0 to 2.1:
JAM_HOME environmental variable to the newly installed JAM 2.1 base directory.javagen to jam.
Confirm the new plugin is working by typing: maven -P jam
resources target found in classpath.xml.
For guidance refer to the many examples and to the POM specification.
basedir to src/jam. If you
don't wish to migrate these files, you can change this setting (maven.jam.generate.dir)
in the JAM plugin.maven jam, remove the old files
from the basedir and update your import statements.props-maven.xml generated property file which replaces the old props-module.xml file.
Your property imports should be in the correct relative sequence:
<import file="${basedir}/src/jam/props-maven.xml"/>
<import file="${jam.home}/props-global.xml"/>
<import file="${basedir}/src/jam/classpath.xml"/> depends clause have been added, deprecated or renamed in JAM 2.1.
Standard targets are located at the top of the file in JAM 2.1 modules.