2018-09-20 15:35:54 +02:00
|
|
|
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
|
|
|
|
<id>linux-${project.version}</id>
|
|
|
|
<formats>
|
|
|
|
<format>tar.gz</format>
|
|
|
|
</formats>
|
|
|
|
<baseDirectory>${project.build.finalName}-${project.version}</baseDirectory>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${rootdir}/server/target/lib</directory>
|
|
|
|
<outputDirectory>server/target/lib</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>*.jar</include>
|
|
|
|
</includes>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<directory>${rootdir}/main/webapp</directory>
|
|
|
|
<outputDirectory>webapp</outputDirectory>
|
|
|
|
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
<exclude>**/butterfly.properties</exclude>
|
2018-09-21 11:02:45 +02:00
|
|
|
<exclude>**/lib-local/**</exclude>
|
|
|
|
<exclude>*/lib-local-src/**</exclude>
|
|
|
|
<exclude>**/pom.xml</exclude>
|
|
|
|
<exclude>**/.settings/**</exclude>
|
|
|
|
<exclude>**/.project</exclude>
|
2022-01-30 21:12:14 +01:00
|
|
|
<exclude>licenses/**</exclude> <!-- added below, separately -->
|
2018-09-20 15:35:54 +02:00
|
|
|
</excludes>
|
|
|
|
</fileSet>
|
2022-01-30 21:12:14 +01:00
|
|
|
<fileSet> <!-- licenses for the frontend -->
|
|
|
|
<directory>${rootdir}/main/webapp/licenses</directory>
|
2018-09-20 15:35:54 +02:00
|
|
|
<outputDirectory>licenses</outputDirectory>
|
|
|
|
</fileSet>
|
2022-01-30 21:12:14 +01:00
|
|
|
<fileSet> <!-- this copies the licenses for the backend -->
|
|
|
|
<directory>${project.build.directory}/generated-resources</directory>
|
|
|
|
<outputDirectory>.</outputDirectory>
|
|
|
|
</fileSet>
|
2018-09-20 15:35:54 +02:00
|
|
|
<fileSet>
|
|
|
|
<directory>${rootdir}/extensions</directory>
|
|
|
|
<outputDirectory>webapp/extensions</outputDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>**</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/target/**</exclude>
|
|
|
|
<exclude>**/tests/**</exclude>
|
|
|
|
<exclude>**/src/**</exclude>
|
|
|
|
<exclude>**/*.java</exclude>
|
2018-09-21 10:49:32 +02:00
|
|
|
<exclude>**/lib-src/**</exclude>
|
|
|
|
<exclude>**/pom.xml</exclude>
|
|
|
|
<exclude>**/.settings/**</exclude>
|
|
|
|
<exclude>**/.project</exclude>
|
2018-09-21 11:02:45 +02:00
|
|
|
<exclude>**/lib-local/**</exclude>
|
|
|
|
<exclude>*/lib-local-src/**</exclude>
|
2018-09-20 15:35:54 +02:00
|
|
|
</excludes>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
<!-- TODO replace $VERSION by ${project.version} in WEB-INF/web.xml -->
|
|
|
|
<files>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/refine</source>
|
|
|
|
<fileMode>755</fileMode>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/refine.ini</source>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/README.md</source>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/LICENSE.txt</source>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/packaging/butterfly.properties</source>
|
|
|
|
<outputDirectory>webapp/WEB-INF</outputDirectory>
|
|
|
|
</file>
|
|
|
|
<file>
|
|
|
|
<source>${rootdir}/server/target/openrefine-${project.version}-server.jar</source>
|
|
|
|
<outputDirectory>server/target/lib</outputDirectory>
|
|
|
|
</file>
|
|
|
|
</files>
|
|
|
|
</assembly>
|
|
|
|
|