This file is generated by the JAM plugin from POM meta-data. It automates the classpath settings and resource handling. It should be imported after the property files, but before the core or support modules. Technicaly, this module is optional provided you don't mind maintaining this by hand ;)
The following example is from an EJB project.
<?xml version="1.0" encoding="UTF-8"?>
<project default="cp" name="classpath">
<description>
+ ==\_/============J=A=V=A=G=E=N===A=N=T===M=O=D=U=L=E=S================= +
+ \(_)/ +
+ -(_)- Maven Repository-based Classpath +
+ /(_)\ +
+ ======================================================================= +
+ = Copyright (c) 2002-2004 Outsource Cafe, Inc. All rights reserved. = +
+ ======================================================================= +
+ ! GENERATED ! GENERATED ! GENERATED ! GENERATED ! GENERATED !
+
+ This file was generated from a Maven POM (Project Object Model)
+ project.xml file. To regenerate using Maven type:
+
+ maven jam:classpath
+
+ Ant classpath.xml file defines jar properties and classpaths from
+ a Maven repository without requiring Maven.
+
+ This file complements props-maven.xml which contains override properties.
+ Import order should be: props-maven.xml, props-global.xml, classpath.xml
+
+ To install the JavaGen Maven plugin for generating this file, drop the
+ plugin (maven-jam-plugin.jar) into C:\dev\maven-1.0.2/plugins folder.
+
+ Ant 1.6 or newer is required.
+
+ Source POM: javagen-autopk-ejb, version 1.0.1, Date: February 4 2005, time: 1400
+
+ =J=A=M===========================================J=A=V=A=G=E=N=.=C=O=M= +
</description>
<property name="CLASSPATH.PRESENT" value="true"/>
<!--=====================================================================-->
<!--Jar file properties-->
<!--=====================================================================-->
<property location="${maven.repo}/j2ee/jars/j2ee-1.3.1.jar" name="j2ee.jar"/>
<property location="${maven.repo}/junit/jars/junit-3.8.1.jar" name="junit.jar"/>
<property location="${maven.repo}/log4j/jars/log4j-1.2.8.jar" name="log4j.jar"/>
<!--=====================================================================-->
<!--Other dependencies including .dir/.name breakdown-->
<!--=====================================================================-->
<!--=====================================================================-->
<!--These jars are required and will be ignored if defined above-->
<!--=====================================================================-->
<property location="${maven.repo}/junit/jars/junit-3.8.1.jar" name="junit.jar"/>
<property location="${maven.repo}/commons-logging/jars/commons-logging-1.0.3.jar" name="commons-logging.jar"/>
<property location="${maven.repo}/commons-collections/jars/commons-collections-2.1.jar" name="commons-collections.jar"/>
<property location="${maven.repo}/xjavadoc/jars/xjavadoc-1.1.jar" name="xjavadoc.jar"/>
<!--=====================================================================-->
<!--Maven dependencies classpath plus optional lib jars-->
<!--=====================================================================-->
<path id="dependencies.classpath">
<pathelement location="${j2ee.jar}"/>
<pathelement location="${junit.jar}"/>
<pathelement location="${log4j.jar}"/>
<fileset dir="${basedir}">
<include name="${lib.folder}/*.jar"/>
</fileset>
</path>
<!--=====================================================================-->
<!--build classpath = dependencies + java.class.path + build.classes.dir-->
<!--=====================================================================-->
<path id="build.classpath">
<pathelement path="${java.class.path}"/>
<path refid="dependencies.classpath"/>
<pathelement path="${build.classes.dir}"/>
</path>
<!--=====================================================================-->
<!--copy tld files to WEB-INFO/tld-->
<!--=====================================================================-->
<target name="tlds"/>
<!--=====================================================================-->
<!--web lib fileset-->
<!--=====================================================================-->
<fileset dir="${maven.repo}" id="web.lib.fileset">
<include name="NO-FILES-SPECIFIED/*"/>
</fileset>
<!--=====================================================================-->
<!--web lib fileset when bundled in ear - duplicates removed-->
<!--=====================================================================-->
<fileset dir="${maven.repo}" id="web.ear.lib.fileset">
<include name="NO-FILES-SPECIFIED/*"/>
</fileset>
<!--=====================================================================-->
<!--ear lib fileset-->
<!--=====================================================================-->
<fileset dir="${maven.repo}" id="ear.lib.fileset">
<include name="log4j/jars/log4j-1.2.8.jar"/>
</fileset>
<!--=====================================================================-->
<!--copy resources defined in pom-->
<!--NOTES: If targetPath is omitted the 'todir' becomes-->
<!--${build.classes.dir}. If targetPath is set to any relative-->
<!--directory, including '.', the 'todir' starts with ${basedir}.-->
<!--=====================================================================-->
<target name="resources">
<mkdir dir="${basedir}/src/resources"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/src/resources"/>
</copy>
<mkdir dir="${basedir}/src/java"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/src/java">
<exclude name="**/*.java"/>
</fileset>
</copy>
<mkdir dir="${basedir}/src-gen/resources"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/src-gen/resources"/>
</copy>
<mkdir dir="${basedir}/src-gen/java"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/src-gen/java">
<exclude name="**/*.java"/>
</fileset>
</copy>
<mkdir dir="${basedir}/target/xdoclet/resources"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/target/xdoclet/resources"/>
</copy>
<mkdir dir="${basedir}/target/xdoclet/java"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/target/xdoclet/java">
<exclude name="**/*.java"/>
</fileset>
</copy>
<mkdir dir="${basedir}/target/xdoclet"/>
<copy todir="${build.classes.dir}" filtering="false">
<fileset dir="${basedir}/target/xdoclet">
<include name="META-INF/*"/>
</fileset>
</copy>
</target>
<!--=====================================================================-->
<!--copy unit test resources defined in pom-->
<!--=====================================================================-->
<target name="utest.resources"/>
<!--=====================================================================-->
<!--unitTest excludes/includes-->
<!--=====================================================================-->
<patternset id="utest.batchtest.patternset">
<include name="**/*Test.java"/>
<exclude name="${utest.batchtest.exclude}"/>
</patternset>
<!--=====================================================================-->
<!--sourceModifications excludes/includes-->
<!--=====================================================================-->
<patternset id="source.modifications.patternset">
<include name="**/*.java"/>
</patternset>
<!--=====================================================================-->
<!--list build classpath-->
<!--=====================================================================-->
<target name="cp" description="build classpath">
<pathconvert pathsep="
" refid="build.classpath" property="build.classpath.list"/>
<echo message="+ build.classpath======================================== +"/>
<echo message="${build.classpath.list}"/>
</target>
<!--=====================================================================-->
<!--XDoclet extends build classpath-->
<!--=====================================================================-->
<path id="xdoclet.classpath">
<path refid="build.classpath"/>
<pathelement location="${commons-logging.jar}"/>
<pathelement location="${commons-collections.jar}"/>
<pathelement location="${xjavadoc.jar}"/>
<fileset dir="${maven.repo}/xdoclet/jars">
<include name="xdoclet-*1.2.2.jar"/>
</fileset>
</path>
<!--=====================================================================-->
<!--list XDoclet classpath-->
<!--=====================================================================-->
<target name="xdocletcp" description="XDoclet classpath">
<pathconvert pathsep="${CR}" refid="xdoclet.classpath" property="xdoclet.classpath.list"/>
<echo message="+ xdoclet.classpath======================================+ +"/>
<echo message="${xdoclet.classpath.list}"/>
</target>
</project>