This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
build.xml
27 lines (22 loc) · 1.62 KB
/
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
26
27
<?xml version="1.0" encoding="UTF-8"?>
<project name="insight-plugin-struts2" default="install">
<description>
Provides some useful ANT tasks involving the entire project
</description>
<dirname property="module.root.folder" file="${ant.file}" />
<dirname property="collection.plugins.folder" file="${module.root.folder}" />
<dirname property="insight.community.folder" file="${collection.plugins.folder}" />
<dirname property="insight.root.folder" file="${insight.community.folder}" />
<property name="insight.parent.folder" value="${insight.root.folder}${file.separator}parent" />
<property name="module.artifact.name" value="${ant.project.name}" />
<import file="${insight.parent.folder}${file.separator}build-insight.xml" />
<target name="compile" depends="run-module-mvn" description="Runs the mvn install command - including all the tests" />
<target name="uncompile" depends="clean-module-mvn" description="Runs the mvn clean command - including un-install the artifact from Maven local repository" />
<!-- ############### Generic targets ############## -->
<target name="install" depends="compile,copy-collection-plugin-artifact"
description="Compiles (including all the tests) and deploys the required artifacts" />
<target name="clean" depends="clean-module-mvn,clean-collection-plugin-artifact"
description="Runs the mvn clean command + undeploys the generated artifacts" />
<target name="re-install" depends="clean,install"
description="Cleans the artifacts and re-creates them from scratch (including all the tests)" />
</project>