svn-gvsig-desktop / tags / v2_0_0_Build_2010 / build / ant-tasks / maven-goals.xml @ 44220
History | View | Annotate | Download (2.86 KB)
1 |
<project name="gvSIG-maven-goals" default="mvn-install"> |
---|---|
2 |
|
3 |
<dirname property="gvSIG-maven-goals.basedir" |
4 |
file="${ant.file.gvSIG-maven-goals}" /> |
5 |
<import file="${gvSIG-maven-goals.basedir}/ant-tasks-config.xml" /> |
6 |
<import file="${gvSIG-maven-goals.basedir}/eclipse-tasks.xml" /> |
7 |
|
8 |
<description>
|
9 |
Ant tasks and macros to interact with maven |
10 |
</description>
|
11 |
|
12 |
<target name="mvn-clean" description="Cleans all artifacts"> |
13 |
<maven arg="clean" /> |
14 |
</target>
|
15 |
|
16 |
<target name="mvn-compile" description="Compiles all source code"> |
17 |
<maven arg="compile" /> |
18 |
</target>
|
19 |
|
20 |
<target name="mvn-test" description="Launches unit tests"> |
21 |
<maven arg="test" /> |
22 |
</target>
|
23 |
|
24 |
<target name="mvn-install" description="Compiles and installs"> |
25 |
<maven arg="install" /> |
26 |
</target>
|
27 |
|
28 |
<target name="mvn-install-ignore-tests" description="Compiles and installs and ignore tests"> |
29 |
<maven arg="install -Dmaven.test.failure.ignore" /> |
30 |
</target>
|
31 |
|
32 |
<target name="mvn-install-without-tests" |
33 |
description="Compiles and installs without launching tests"> |
34 |
<maven arg="-Dmaven.test.skip=true install" /> |
35 |
</target>
|
36 |
|
37 |
<target name="mvn-reinstall" |
38 |
description="Performs a clean install"> |
39 |
<maven arg="clean install" /> |
40 |
</target>
|
41 |
|
42 |
<target name="mvn-reinstall-without-tests" |
43 |
description="Performs a clean install without launching tests"> |
44 |
<maven arg="-Dmaven.test.skip=true clean install" /> |
45 |
</target>
|
46 |
|
47 |
<target name="mvn-deploy" |
48 |
description="Compiles, installs and deploys"> |
49 |
<maven arg="deploy" /> |
50 |
</target>
|
51 |
|
52 |
<target name="mvn-deploy-release" |
53 |
description="Compiles, installs and deploys for release"> |
54 |
<maven arg="-P release deploy" /> |
55 |
</target>
|
56 |
|
57 |
<target name="mvn-configure-eclipse-workspace" |
58 |
description="Configures the eclipse workspace for maven integration"> |
59 |
|
60 |
<input message="Eclipse workspace folder to configure?:" |
61 |
addproperty="eclipse.workspace" |
62 |
defaultvalue="${workspace_loc}" /> |
63 |
|
64 |
<maven arg="-Declipse.workspace='${eclipse.workspace}' eclipse:add-maven-repo" /> |
65 |
<mkdir dir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" /> |
66 |
<copy
|
67 |
file="${build.folder}/metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml" |
68 |
todir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" /> |
69 |
</target>
|
70 |
|
71 |
<target name="mvn-eclipse-clean" |
72 |
description="Cleans the maven generated eclipse project files"> |
73 |
<maven arg="eclipse:clean" /> |
74 |
</target>
|
75 |
|
76 |
<!-- Replaced by the target eclipse.project in eclipse-tasks.xml -->
|
77 |
<!--
|
78 |
<target name="mvn-eclipse-eclipse"
|
79 |
description="Generates an eclipse project configuration from the pom.xml">
|
80 |
<maven arg="eclipse:eclipse" />
|
81 |
</target>
|
82 |
-->
|
83 |
<target name="mvn-eclipse-eclipse" |
84 |
description="Generates an eclipse project configuration from the pom.xml"> |
85 |
<maven arg="-P eclipse-project" /> |
86 |
</target>
|
87 |
|
88 |
<target name="mvn-site" |
89 |
description="Generates the project site documentation"> |
90 |
<maven arg="site" /> |
91 |
</target>
|
92 |
|
93 |
</project>
|