This repository has been archived by the owner on Dec 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
110 lines (94 loc) · 4.67 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<project name="compile_all" default="all" basedir=".">
<condition property="osys" value="macosx">
<os family="mac"/>
</condition>
<condition property="osys" value="win">
<os family="windows"/>
</condition>
<condition property="osys" value="unix">
<os family="unix"/>
</condition>
<property name="mvn" location="/usr/bin/mvn"/>
<!-- ======================================================================== -->
<!-- == == -->
<!-- == Build all the GeoNetwork opensource artifacts == -->
<!-- == == -->
<!-- ======================================================================== -->
<target name="all" description="--> Build all artifacts">
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-domain-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-persistence-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-services-def-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-client-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-services-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-web-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-domain/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-persistence/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-services/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-client/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-webservices-def/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -f geonetwork-gaap/geonetwork-gaap-web/pom.xml install"/>
</exec>
</target>
<target name="nt" description="--> Build all artifacts without testing">
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-domain-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-persistence-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-services-def-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-client-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-services-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-web-ebrim/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-domain/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-persistence/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-services/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-client/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-webservices-def/pom.xml install"/>
</exec>
<exec executable="${mvn}" dir=".">
<arg line="-e -Dmaven.test.skip=true -f geonetwork-gaap/geonetwork-gaap-web/pom.xml install"/>
</exec>
</target>
</project>