-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
25 lines (21 loc) · 890 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<project name="ooo-build" default="dist" basedir="." xmlns:artifact="urn:maven-artifact-ant">
<property name="deploy.dir" value="dist"/>
<!-- bring in our standard build support -->
<property name="ooo-build.vers" value="2.5"/>
<ant antfile="etc/bootstrap.xml"/>
<import file="${user.home}/.m2/ooo-build/${ooo-build.vers}/ooo-build.xml"/>
<target name="distclean">
<delete dir="${deploy.dir}"/>
</target>
<target name="dist">
<mkdir dir="${deploy.dir}"/>
<jar destfile="${deploy.dir}/${ant.project.name}.jar">
<fileset dir="src/main/ant" includes="**"/>
</jar>
</target>
<target name="maven-deploy" depends="dist,-init-maven-ant,-init-contrib"
description="Deploys our build artifacts to a Maven repository.">
<mavendeploy file="${deploy.dir}/${ant.project.name}.jar" pom="pom.xml"/>
</target>
</project>