Update of /cvsroot/nextobjects/nextobjects/nextobjects
In directory sc8-pr-cvs1:/tmp/cvs-serv14984
Added Files:
maven.xml
Log Message:
make maven generated dist work out of the box
--- NEW FILE: maven.xml ---
<project default="jar:jar" xmlns:deploy="deploy">
<!-- Allow any user specific values to override the defaults -->
<property file="${user.home}/build.properties" />
<!-- Allow user defaults for this project -->
<property file="build.properties" />
<!-- Set default values for the build -->
<property file="default.properties" />
<!-- ================================================================== -->
<!-- D I S T : B U I L D _ B I N P R E G O A L -->
<!-- ================================================================== -->
<!-- copies jars, templates, ... to the ${maven.dist.bin.assembly.dir} -->
<!-- to include them in the binary dists -->
<!-- ================================================================== -->
<preGoal name="dist:build-bin">
<!-- include listed dependencies -->
<deploy:copy-deps todir="${maven.dist.bin.assembly.dir}/lib"/>
<!-- move jar to /lib -->
<move file="${maven.dist.bin.assembly.dir}/${maven.final.name}.jar"
todir="${maven.dist.bin.assembly.dir}/lib"
/>
<!-- copy torque dist to /lib -->
<copy file="lib/torque-3.0.zip"
todir="${maven.dist.bin.assembly.dir}/lib"
/>
<!-- copy shell scripts to dist -->
<copy todir="${maven.dist.bin.assembly.dir}">
<fileset dir="bin" />
</copy>
</preGoal>
</project>
|