Show maven.xml syntax highlighted
<project default="dist:build-bin"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:doc="doc"
xmlns:maven="jelly:maven" >
<!-- define the classpath used to run examples -->
<goal name="create-classpath" prereqs="java:compile,test:compile">
<path id="test.classpath">
<pathelement path="${maven.build.dest}"/>
<pathelement path="target/classes"/>
<pathelement path="target/test-classes"/>
<pathelement path="src/"/>
<path refid="maven.dependency.classpath"/>
</path>
</goal>
<postGoal name="clean:clean">
<delete>
<fileset dir="${basedir}" includes="junit*.properties"/>
<fileset dir="${basedir}" includes="javadoc*"/>
</delete>
</postGoal>
<postGoal name="dist:prepare-bin-filesystem">
<ant:copy todir="${maven.dist.bin.assembly.dir}">
<fileset dir=".">
<include name="build.xml" />
<include name="maven.xml" />
<include name="project.properties" />
<include name="project.xml" />
<include name="LICENSE*" />
<include name="lib/**" />
<include name="src/**" />
<include name="xdocs/**" />
<include name="xml/**" />
</fileset>
</ant:copy>
<ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
<fileset dir="target/docs"/>
</ant:copy>
</postGoal>
<postGoal name="dist:prepare-src-filesystem">
<ant:copy todir="${maven.dist.src.assembly.dir}/lib">
<fileset dir="lib"/>
</ant:copy>
</postGoal>
<preGoal name="site">
<attainGoal name="docbook:transform"/>
</preGoal>
</project>
See more files for this project here