pom.xml 6.8 KB
Newer Older
1
2
3
4
5
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>eu.axes.bundle</groupId>
	<artifactId>open-axes</artifactId>
6
	<version>0.1.0</version>
7
8
9
10
11
12
13
14
15

	<packaging>pom</packaging>

	<name>Open AXES bundle assembly.</name>
	<description>WebLab bundle application for Open AXES</description>


	<modules>
		<module>libraries/mongodb-manager</module>
16
		<module>libraries/jetty-manager</module>
17
		<!--<module>libraries/openaxes-camel</module> -->
18
19
20
21
22
23
	</modules>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<weblab.bundle.version>2.0.2</weblab.bundle.version>
		<mongodb.version>2.4.9</mongodb.version>
24
25
		<jetty.version>9.2.3.v20140905</jetty.version>
		<jetty.path>jetty-distribution-${jetty.version}</jetty.path>
26
		<tomcat.path>apache-tomcat-7.0.54</tomcat.path>
27
		<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
28
29
		<axes.research.version>0.7.5</axes.research.version>
		<axes.research.path>axes-research-${axes.research.version}</axes.research.path>
30
31
32
33
34
35
36
37
38
39
40
	</properties>


	<dependencies>
		<!-- WebLab Bundle -->
		<dependency>
			<groupId>org.ow2.weblab.bundle</groupId>
			<artifactId>bundle</artifactId>
			<version>${weblab.bundle.version}</version>
			<classifier>distribution</classifier>
			<type>zip</type>
41
42
43
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
44
					<artifactId>*</artifactId>
45
46
				</exclusion>
			</exclusions>
47
48
49
50
51
52
53
54
		</dependency>

		<!-- Servers not included in bundle -->
		<dependency>
			<groupId>org.mongodb</groupId>
			<artifactId>mongodb-linux-x86_64</artifactId>
			<version>${mongodb.version}</version>
			<type>tgz</type>
55
56
57
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
58
					<artifactId>*</artifactId>
59
60
				</exclusion>
			</exclusions>
61
		</dependency>
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-distribution</artifactId>
			<version>${jetty.version}</version>
			<type>zip</type>
			<exclusions>
				<exclusion>
					<groupId>org.eclipse.jetty</groupId>
					<artifactId>test-jetty-webapp</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.eclipse.jetty</groupId>
					<artifactId>test-proxy-webapp</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
78
		<dependency>
79
			<!-- No manager are required since it relies on apache2 service -->
80
81
82
83
84
			<groupId>eu.axes.gui</groupId>
			<artifactId>axes-research</artifactId>
			<version>${axes.research.version}</version>
			<type>zip</type>
		</dependency>
85
86
87


		<!-- Managers for added servers -->
88
89
90
91
92
93
94
		<dependency>
			<groupId>eu.axes.bundle.servers</groupId>
			<artifactId>mongodb-manager</artifactId>
			<version>${project.version}</version>
			<classifier>libs</classifier>
			<type>zip</type>
		</dependency>
95
96
97
98
99
100
101
102
103
104
105
106
		<dependency>
			<groupId>eu.axes.bundle.servers</groupId>
			<artifactId>jetty-manager</artifactId>
			<version>${project.version}</version>
			<classifier>libs</classifier>
			<type>zip</type>
		</dependency>

		<!-- LIMAS WebAPP -->
		<dependency>
			<groupId>eu.axes.limas</groupId>
			<artifactId>limas-web</artifactId>
107
			<version>3.0.0</version>
108
109
110
111
			<type>war</type>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
112
					<artifactId>*</artifactId>
113
114
115
				</exclusion>
			</exclusions>
		</dependency>
116
117

		<!-- Services -->
118
119
120
		<dependency>
			<groupId>eu.axes.services</groupId>
			<artifactId>limas-indexer</artifactId>
121
			<version>3.0.0</version>
122
123
124
125
126
127
128
129
			<type>war</type>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
	</dependencies>

	<build>
		<finalName>OpenAXES</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
					<encoding>UTF-8</encoding>
					<showWarnings>true</showWarnings>
					<showDeprecations>true</showDeprecations>
					<debug>true</debug>
					<optimize>false</optimize>
					<verbose>true</verbose>
				</configuration>
			</plugin>
150
151
152
153
154
155
156
157
158
159
160
161
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.8.1</version>
				<dependencies>
					<dependency>
						<groupId>org.apache.maven.wagon</groupId>
						<artifactId>wagon-webdav-jackrabbit</artifactId>
						<version>2.6</version>
					</dependency>
				</dependencies>
			</plugin>
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
			<!-- <plugin> -->
			<!-- <groupId>org.apache.maven.plugins</groupId> -->
			<!-- <artifactId>maven-project-info-reports-plugin</artifactId> -->
			<!-- <version>2.7</version> -->
			<!-- <configuration> -->
			<!-- <dependencyLocationsEnabled>false</dependencyLocationsEnabled> -->
			<!-- </configuration> -->
			<!-- <executions> -->
			<!-- <execution> -->
			<!-- <phase>package</phase> -->
			<!-- <goals> -->
			<!-- <goal>dependencies</goal> -->
			<!-- </goals> -->
			<!-- </execution> -->
			<!-- </executions> -->
			<!-- <inherited>true</inherited> -->
			<!-- </plugin> -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.4.1</version>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<descriptor>assembly.xml</descriptor>
					<finalName>OpenAXES-${maven.build.timestamp}</finalName>
					<outputDirectory>target</outputDirectory>
					<encoding>${project.build.sourceEncoding}</encoding>
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.codehaus.plexus</groupId>
						<artifactId>plexus-archiver</artifactId>
						<version>2.4.4</version>
						<exclusions>
							<exclusion>
								<groupId>org.codehaus.plexus</groupId>
								<artifactId>plexus-component-api</artifactId>
							</exclusion>
						</exclusions>
					</dependency>
				</dependencies>
			</plugin>
		</plugins>
	</build>


215
216
217
218
219
220
221
222
223
224
	<distributionManagement>
		<repository>
			<id>AXES</id>
			<name>AXES Maven repository</name>
			<url>dav:https://maven.ercim.eu/axes/</url>
			<uniqueVersion>false</uniqueVersion>
		</repository>
	</distributionManagement>


225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
	<repositories>
		<repository>
			<id>AXES</id>
			<name>AXES Maven repository</name>
			<url>http://maven.ercim.eu/axes/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>WebLab</id>
			<name>WebLab Maven repository</name>
			<url>http://maven.weblab-project.org/</url>
		</repository>
		<repository>
			<id>WebLab-Snapshot</id>
			<name>WebLab Maven snapshot repository</name>
			<url>http://maven-snapshot.weblab-project.org/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>

</project>