1
<project default="dist:build-bin"
5
xmlns:maven="jelly:maven" >
7
<!-- define the classpath used to run examples -->
8
<goal name="create-classpath" prereqs="java:compile,test:compile">
9
<path id="test.classpath">
10
<pathelement path="${maven.build.dest}"/>
11
<pathelement path="target/classes"/>
12
<pathelement path="target/test-classes"/>
13
<pathelement path="src/"/>
14
<path refid="maven.dependency.classpath"/>
18
<postGoal name="clean:clean">
20
<fileset dir="${basedir}" includes="junit*.properties"/>
21
<fileset dir="${basedir}" includes="javadoc*"/>
25
<postGoal name="dist:prepare-bin-filesystem">
26
<ant:copy todir="${maven.dist.bin.assembly.dir}">
28
<include name="build.xml" />
29
<include name="maven.xml" />
30
<include name="project.properties" />
31
<include name="project.xml" />
32
<include name="LICENSE*" />
33
<include name="lib/**" />
34
<include name="src/**" />
35
<include name="xdocs/**" />
36
<include name="xml/**" />
39
<ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
40
<fileset dir="target/docs"/>
44
<postGoal name="dist:prepare-src-filesystem">
45
<ant:copy todir="${maven.dist.src.assembly.dir}/lib">
51
<attainGoal name="docbook:transform"/>