assembly.xml 7.62 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">

	<id>Package</id>

	<formats>
		<format>zip</format>
	</formats>

	<includeBaseDirectory>false</includeBaseDirectory>

	<fileSets>
		<fileSet>
			<directory>conf/services</directory>
			<outputDirectory>conf/services</outputDirectory>
		</fileSet>
17
18
19
20
		<fileSet>
			<directory>conf/limas</directory>
			<outputDirectory>conf/limas</outputDirectory>
		</fileSet>
21
22
23
24
		<fileSet>
			<directory>conf/gui</directory>
			<outputDirectory>conf/gui</outputDirectory>
		</fileSet>
25
26
27
28
29
30
31
32
		<fileSet>
			<directory>components</directory>
			<outputDirectory>components</outputDirectory>
		</fileSet>
		<fileSet>
			<directory>data/cache</directory>
			<outputDirectory>data/cache</outputDirectory>
		</fileSet>
33
34
35
36
37
38
39
40
		<fileSet>
			<directory>data/gui</directory>
			<outputDirectory>data/gui</outputDirectory>
		</fileSet>
		<fileSet>
			<directory>data/toIndex-sample</directory>
			<outputDirectory>data/toIndex-sample</outputDirectory>
		</fileSet>
41
42
43
44
		<fileSet>
			<directory>data/licences</directory>
			<outputDirectory>data/licences/</outputDirectory>
		</fileSet>
45
46
47
48
49
50
	</fileSets>

	<files>
		<file>
			<source>conf/configuration.xml</source>
			<outputDirectory>conf</outputDirectory>
Yann Mombrun's avatar
Yann Mombrun committed
51
52
53
54
		</file>
		<file>
			<source>conf/SphinxConfiguration.xml</source>
			<outputDirectory>conf</outputDirectory>
55
56
57
58
59
		</file>
		<file>
			<source>README.txt</source>
			<outputDirectory></outputDirectory>
		</file>
60
61
62
63
64
65
66
67
		<file>
			<source>conf/jetty/start.ini</source>
			<outputDirectory>${jetty.path}</outputDirectory>
		</file>
		<file>
			<source>conf/jetty/web.xml</source>
			<outputDirectory>${jetty.path}/webapps/root/WEB-INF</outputDirectory>
		</file>
68
69
70
71
		<file>
			<source>conf/tomcat/logging.properties</source>
			<outputDirectory>${tomcat.path}/conf</outputDirectory>
		</file>
72
		<file>
73
			<source>install.sh</source>
74
75
76
77
			<outputDirectory></outputDirectory>
			<fileMode>0755</fileMode>
		</file>
		<file>
78
79
80
			<source>openaxes.sh</source>
			<outputDirectory></outputDirectory>
			<fileMode>0755</fileMode>
81
		</file>
82
83
84
85
86
		<file>
			<source>conf/karaf/org.apache.karaf.features.cfg</source>
			<outputDirectory>${karaf.path}/etc/</outputDirectory>
			<filtered>true</filtered>
		</file>
87
88
89
90
		<file>
			<source>conf/axesContentManager.properties</source>
			<outputDirectory>${tomcat.path}/lib/</outputDirectory>
		</file>
91
92
93
94
		<file>
			<source>target/site/dependencies.html</source>
			<destName>data/licences/OpenAXES/dependencies.html</destName>
		</file>
95
96
97
98
99
100
101
102
103
104
105
106
	</files>

	<dependencySets>
		<!-- Extend WebLab OW2 Bundle -->
		<dependencySet>
			<includes>
				<include>org.ow2.weblab.bundle:bundle:zip</include>
			</includes>
			<unpack>true</unpack>
			<unpackOptions>
				<excludes>
					<!-- Remove OW2 Bundle files -->
107
108
109
110
111
112
113
					<exclude>conf/exposed-configuration/</exclude>
					<exclude>conf/fuseki/</exclude>
					<exclude>conf/services/</exclude>
					<exclude>conf/solr/</exclude>
					<exclude>conf/camelBeans.xml</exclude>
					<exclude>conf/configuration.xml</exclude>
					<exclude>conf/contentManager.properties</exclude>
114
115
116
117
118
119
120
121
					<exclude>data/toIndex/</exclude>
					<exclude>data/warcs/</exclude>
					<exclude>data/lib/fuseki-manager.jar</exclude>

					<exclude>THIRD-PARTY.html</exclude>
					<exclude>LICENCE</exclude>
					<exclude>README.txt</exclude>
					<exclude>weblab.bat</exclude>
122
					<exclude>weblab.sh</exclude>
123

124
					<!-- Remove unused/overriden files from tomcat package -->
125
					<exclude>${tomcat.path}/bin/*.bat</exclude>
126
					<exclude>${tomcat.path}/bin/*.tar.gz</exclude>
127
					<exclude>${tomcat.path}/conf/Catalina/</exclude>
128
					<exclude>${tomcat.path}/conf/logging.properties</exclude>
129
130
131
132
133
134
135
136
					<exclude>${tomcat.path}/lib/*.pom</exclude>
					<exclude>${tomcat.path}/webapps/gate-extraction/</exclude>
					<exclude>${tomcat.path}/webapps/ngramj-language-extraction/</exclude>
					<exclude>${tomcat.path}/webapps/simple-file-repository/</exclude>
					<exclude>${tomcat.path}/webapps/simple-gazetteer/</exclude>
					<exclude>${tomcat.path}/webapps/solr/</exclude>
					<exclude>${tomcat.path}/webapps/solr-engine/</exclude>
					<exclude>${tomcat.path}/webapps/tika-normaliser/</exclude>
137
138

					<!-- Remove unused files from karaf package -->
139
140
					<exclude>${karaf.path}/etc/org.apache.karaf.features.cfg</exclude>
					<exclude>${karaf.path}/bin/*.bat</exclude>
141
142
143
144
145
146
147
148
149
150

					<!-- Remove unused Liferay Portal -->
					<exclude>liferay-portal-6.1.2-ce-ga3/</exclude>

					<!-- Remove unused Fuseki KB -->
					<exclude>jena-fuseki-1.0.1/</exclude>
				</excludes>
			</unpackOptions>
		</dependencySet>

151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
		<dependencySet>
			<includes>
				<include>org.mongodb:mongodb-linux-x86_64:tgz</include>
			</includes>
			<unpack>true</unpack>
		</dependencySet>

		<dependencySet>
			<includes>
				<include>org.eclipse.jetty:jetty-distribution:zip</include>
			</includes>
			<unpack>true</unpack>
			<unpackOptions>
				<excludes>
					<exclude>${jetty.path}/demo-base/</exclude>
					<exclude>${jetty.path}/start.d/</exclude>
					<exclude>${jetty.path}/webapps/README.txt</exclude>
168
					<exclude>${jetty.path}/start.ini</exclude>
169
170
				</excludes>
			</unpackOptions>
171
172
173
174
175
176
177
		</dependencySet>

		<dependencySet>
			<includes>
				<include>eu.axes.gui:axes-research:zip</include>
			</includes>
			<unpack>true</unpack>
178
179
180
181
182
183
184
185
186
187
188
			<unpackOptions>
				<excludes>
					<exclude>${axes.research.path}/.*</exclude>
					<exclude>${axes.research.path}/bootstrap.sh</exclude>
					<exclude>${axes.research.path}/pavement.py</exclude>
					<exclude>${axes.research.path}/conf/*.tmpl</exclude>
					<exclude>${axes.research.path}/services/</exclude>
					<exclude>${axes.research.path}/axesresearch/wsgi.py</exclude>
					<exclude>${axes.research.path}/axesresearch/settings/local.py.tmpl</exclude>
					<exclude>${axes.research.path}/axesresearch/ui/static/img/AXESresearch*</exclude>
					<exclude>${axes.research.path}/axesresearch/ui/static/js/model.js</exclude>
189
					<exclude>${axes.research.path}/axesresearch/ui/static/templates/index.html</exclude>
190
					<exclude>${axes.research.path}/axesresearch/ui/static/templates/login.html</exclude>
191
					<exclude>${axes.research.path}/axesresearch/ui/static/templates/views/search.html</exclude>
192
193
				</excludes>
			</unpackOptions>
194
195
		</dependencySet>

196
197
198
199
200
201
202
203
204
205
		<!-- Libs for servers management -->
		<dependencySet>
			<includes>
				<include>eu.axes.bundle.servers:*:zip</include>
			</includes>
			<outputDirectory>data/lib</outputDirectory>
			<unpack>true</unpack>
		</dependencySet>

		<!-- Put WebLab Services in Tomcat server -->
206
207
208
209
		<dependencySet>
			<includes>
				<include>eu.axes.services:*:war</include>
			</includes>
210
211
212
213
214
			<unpackOptions>
				<excludes>
					<exclude>WEB-INF/classes/axesContentManager.properties</exclude>
				</excludes>
			</unpackOptions>
215
216
217
218
			<outputDirectory>${tomcat.path}/webapps/${artifact.artifactId}</outputDirectory>
			<outputFileNameMapping>${artifact.artifactId}${dashClassifier?}.${artifact.extension}</outputFileNameMapping>
			<unpack>true</unpack>
		</dependencySet>
219
220
221
222
223
224
225
226
227
228
229
230
231
232

		<!-- Put LIMAS Webapp in Jetty -->
		<dependencySet>
			<includes>
				<include>eu.axes.limas:limas-web:war</include>
			</includes>
			<unpackOptions>
				<excludes>
					<exclude>WEB-INF/web.xml</exclude>
				</excludes>
			</unpackOptions>
			<outputDirectory>${jetty.path}/webapps/root</outputDirectory>
			<unpack>true</unpack>
		</dependencySet>
233
234
235
236
237
238
239
240

		<!-- Put chains into karaf deploy folder -->
		<dependencySet>
			<includes>
				<include>eu.axes.bundle.osgi:openaxes-camel:jar</include>
			</includes>
			<outputDirectory>${karaf.path}/deploy/</outputDirectory>
		</dependencySet>
241
242
243
	</dependencySets>

</assembly>