85 lines
2.7 KiB
XML
85 lines
2.7 KiB
XML
![]() |
<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>
|
||
|
<exclude>**/lib-local/**</exclude>
|
||
|
<exclude>*/lib-local-src/**</exclude>
|
||
|
<exclude>**/pom.xml</exclude>
|
||
|
<exclude>**/.settings/**</exclude>
|
||
|
<exclude>**/.project</exclude>
|
||
|
<exclude>licenses/**</exclude> <!-- added below, separately -->
|
||
|
</excludes>
|
||
|
</fileSet>
|
||
|
<fileSet> <!-- licenses for the frontend -->
|
||
|
<directory>${rootdir}/main/webapp/licenses</directory>
|
||
|
<outputDirectory>licenses</outputDirectory>
|
||
|
</fileSet>
|
||
|
<fileSet> <!-- this copies the licenses for the backend -->
|
||
|
<directory>${project.build.directory}/generated-resources</directory>
|
||
|
<outputDirectory>.</outputDirectory>
|
||
|
</fileSet>
|
||
|
<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>
|
||
|
<exclude>**/lib-src/**</exclude>
|
||
|
<exclude>**/pom.xml</exclude>
|
||
|
<exclude>**/.settings/**</exclude>
|
||
|
<exclude>**/.project</exclude>
|
||
|
<exclude>**/lib-local/**</exclude>
|
||
|
<exclude>*/lib-local-src/**</exclude>
|
||
|
</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>
|
||
|
|