pom.xml 7.51 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5 6
<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>

	<parent>
		<groupId>org.ow2.weblab.bundle</groupId>
Arnaud Saval's avatar
Arnaud Saval committed
7
		<artifactId>parent</artifactId>
8
		<version>2.1.0-gamma</version>
9 10 11
		<relativePath>../pom.xml</relativePath>
	</parent>

Arnaud Saval's avatar
Arnaud Saval committed
12
	<artifactId>bundle</artifactId>
13 14

	<packaging>pom</packaging>
15

16 17 18 19 20 21 22 23 24
	<name>WebLab bundle assembly.</name>
	<description>WebLab bundle application.</description>

	<dependencies>
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat</artifactId>
			<version>${tomcat.version}</version>
			<type>zip</type>
25 26 27 28 29 30
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
31 32 33 34 35 36
		</dependency>
		<dependency>
			<groupId>com.liferay</groupId>
			<artifactId>liferay-portal-tomcat</artifactId>
			<version>${liferay.version}</version>
			<type>zip</type>
37 38 39 40 41 42
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
43 44
		</dependency>

45 46 47 48 49 50
		<!-- solr binaries -->
		<dependency>
			<groupId>org.apache.solr</groupId>
			<artifactId>solr</artifactId>
			<version>${solr.server.version}</version>
			<type>tgz</type>
51 52 53 54 55 56
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
57 58 59 60 61
		</dependency>

		<!-- activemq binaries -->
		<dependency>
			<groupId>org.apache.activemq</groupId>
62
			<artifactId>apache-activemq</artifactId>
63
			<version>${activemq.server.version}</version>
64
			<classifier>bin</classifier>
65
			<type>tar.gz</type>
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.apache.activemq</groupId>
			<artifactId>apache-activemq</artifactId>
			<version>${activemq.server.version}</version>
			<classifier>bin</classifier>
			<type>zip</type>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
85 86
		</dependency>

87 88 89 90 91 92
		<!-- Services -->
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>simple-file-repository</artifactId>
			<version>${service.simple-file-repository.version}</version>
			<type>war</type>
93 94 95 96 97 98
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
99 100 101 102 103 104
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>tika-normaliser</artifactId>
			<version>${service.tika-normaliser.version}</version>
			<type>war</type>
105 106 107 108 109 110
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
111 112 113 114 115 116
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>simple-gazetteer</artifactId>
			<version>${service.simple-gazetteer.version}</version>
			<type>war</type>
117 118 119 120 121 122
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
123 124 125 126 127 128
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>ngramj-language-extraction</artifactId>
			<version>${service.ngramj-language-extraction.version}</version>
			<type>war</type>
129 130 131 132 133 134
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
135 136 137 138 139 140
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>gate-extraction</artifactId>
			<version>${service.gate-extraction.version}</version>
			<type>war</type>
141 142 143 144 145 146
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
147 148 149 150 151 152
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.webservices</groupId>
			<artifactId>solr-engine</artifactId>
			<version>${service.solr-engine.version}</version>
			<type>war</type>
153 154 155 156 157 158
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
159 160 161 162 163 164 165 166
		</dependency>

		<!-- Portlets -->
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>result-portlet</artifactId>
			<version>${portlet.result-portlet.version}</version>
			<type>war</type>
167 168 169 170 171 172
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
173 174 175 176 177 178
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>search-portlet</artifactId>
			<version>${portlet.search-portlet.version}</version>
			<type>war</type>
179 180 181 182 183 184
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
185 186 187 188 189 190
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>document-viewer-portlet</artifactId>
			<version>${portlet.document-viewer-portlet.version}</version>
			<type>war</type>
191 192 193 194 195 196
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
197 198 199 200 201 202
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>weblab-metaview</artifactId>
			<version>${portlet.metadata-portlet.version}</version>
			<type>war</type>
203 204 205 206 207 208
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
209 210 211 212 213 214
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>facet-portlet</artifactId>
			<version>${portlet.facet-portlet.version}</version>
			<type>war</type>
215 216 217 218 219 220
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
221 222
		</dependency>

223
		<!-- Solr configuration -->
224
		<dependency>
225 226 227
			<groupId>org.ow2.weblab.components</groupId>
			<artifactId>solr-config</artifactId>
			<version>${solr.config.version}</version>
228 229 230 231 232 233
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
234
		</dependency>
235

236
		<!-- Liferay WebLab Team -->
237 238 239
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>weblab-theme</artifactId>
240
			<version>${portlet.weblab-theme.version}</version>
241
			<type>war</type>
242 243 244 245 246 247
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
248 249 250 251
		</dependency>
		<dependency>
			<groupId>org.ow2.weblab.portlets</groupId>
			<artifactId>weblab-application-installer-portlet</artifactId>
252
			<version>${portlet.application-installer.version}</version>
253
			<type>war</type>
254 255 256 257 258 259
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-assembly-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
277
					<tarLongFileMode>gnu</tarLongFileMode>
278 279 280
					<descriptors>
						<descriptor>assembly.xml</descriptor>
					</descriptors>
Yann Mombrun's avatar
Yann Mombrun committed
281
					<finalName>WebLab-Bundle-${maven.build.timestamp}</finalName>
282
					<encoding>${project.build.sourceEncoding}</encoding>
283
					<outputDirectory>../target</outputDirectory>
284 285
					<recompressZippedFiles>true</recompressZippedFiles>
					<attach>true</attach>
286
				</configuration>
287
			</plugin>
288 289 290 291
		</plugins>
	</build>

</project>