RandomSec/OpenRefine/packaging/windows.xml

103 lines
3.3 KiB
XML
Raw Normal View History

2018-09-21 10:49:32 +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>win-${windows.package.jre.prefix}${project.version}</id>
2018-09-21 10:49:32 +02:00
<formats>
<format>zip</format>
</formats>
<baseDirectory>${project.build.finalName}-${project.version}</baseDirectory>
<fileSets>
<fileSet>
<directory>${windows.package.jre.directory}</directory>
<outputDirectory>${windows.package.jre.outputDirectory}</outputDirectory>
<includes>
<include>**</include>
</includes>
</fileSet>
2018-09-21 10:49:32 +02:00
<fileSet>
<directory>${rootdir}/server/target/lib</directory>
<outputDirectory>server/target/lib</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${rootdir}/server/lib-local/native</directory>
2018-09-21 10:49:32 +02:00
<outputDirectory>server/target/lib/native</outputDirectory>
<includes>
<include>**/*.dll</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>
2022-01-30 21:12:14 +01:00
<exclude>licenses/**</exclude> <!-- added separately below -->
2018-09-21 10:49:32 +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-21 10:49:32 +02:00
<outputDirectory>licenses</outputDirectory>
</fileSet>
2022-01-30 21:12:14 +01:00
<fileSet> <!-- licenses for the backend -->
<directory>${project.build.directory}/generated-resources</directory>
<outputDirectory>.</outputDirectory>
</fileSet>
2018-09-21 10:49:32 +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>
<exclude>**/lib-src/**</exclude>
<exclude>**/pom.xml</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude>
<exclude>**/lib-local/**</exclude>
<exclude>*/lib-local-src/**</exclude>
2018-09-21 10:49:32 +02:00
</excludes>
</fileSet>
</fileSets>
<!-- TODO replace $VERSION by ${project.version} in WEB-INF/web.xml -->
<files>
<file>
<source>target/openrefine.exe</source>
</file>
<file>
<source>${rootdir}/conf/openrefine.l4j.ini</source>
</file>
<file>
<source>${rootdir}/refine.bat</source>
</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>