Exclude local libraries from packages to save space

This commit is contained in:
Antonin Delpeuch 2018-09-21 10:02:45 +01:00
parent e89fc5df46
commit ed1db2242a
28 changed files with 26 additions and 12 deletions

View File

@ -104,7 +104,7 @@
<id>install-wdtk-datamodel</id> <id>install-wdtk-datamodel</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/wdtk-datamodel-0.9.0-SNAPSHOT-jar-with-dependencies.jar</file> <file>${basedir}/lib-local/wdtk-datamodel-0.9.0-SNAPSHOT-jar-with-dependencies.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>org.wikidata.wdtk</groupId> <groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-datamodel</artifactId> <artifactId>wdtk-datamodel</artifactId>
@ -120,7 +120,7 @@
<id>install-wdtk-wikibaseapi</id> <id>install-wdtk-wikibaseapi</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/wdtk-wikibaseapi-0.9.0-SNAPSHOT.jar</file> <file>${basedir}/lib-local/wdtk-wikibaseapi-0.9.0-SNAPSHOT.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>org.wikidata.wdtk</groupId> <groupId>org.wikidata.wdtk</groupId>
<artifactId>wdtk-wikibaseapi</artifactId> <artifactId>wdtk-wikibaseapi</artifactId>

View File

@ -126,7 +126,7 @@
<id>install-marc4j</id> <id>install-marc4j</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/marc4j-2.4.jar</file> <file>${basedir}/lib-local/marc4j-2.4.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>marc4j</groupId> <groupId>marc4j</groupId>
<artifactId>marc4j</artifactId> <artifactId>marc4j</artifactId>
@ -142,7 +142,7 @@
<id>install-tableschema</id> <id>install-tableschema</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/tableschema-java-1.0-SNAPSHOT.jar</file> <file>${basedir}/lib-local/tableschema-java-1.0-SNAPSHOT.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>io.frictionlessdata</groupId> <groupId>io.frictionlessdata</groupId>
<artifactId>tableschema-java</artifactId> <artifactId>tableschema-java</artifactId>
@ -158,7 +158,7 @@
<id>install-datapackage</id> <id>install-datapackage</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/datapackage-java-1.0-SNAPSHOT.jar</file> <file>${basedir}/lib-local/datapackage-java-1.0-SNAPSHOT.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>io.frictionlessdata</groupId> <groupId>io.frictionlessdata</groupId>
<artifactId>datapackage-java</artifactId> <artifactId>datapackage-java</artifactId>
@ -174,7 +174,7 @@
<id>install-opencsv</id> <id>install-opencsv</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/opencsv-2.4-SNAPSHOT.jar</file> <file>${basedir}/lib-local/opencsv-2.4-SNAPSHOT.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>net.sf.opencsv</groupId> <groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId> <artifactId>opencsv</artifactId>
@ -190,7 +190,7 @@
<id>install-butterfly</id> <id>install-butterfly</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/butterfly-1.0.1.jar</file> <file>${basedir}/lib-local/butterfly-1.0.1.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>edu.mit.simile</groupId> <groupId>edu.mit.simile</groupId>
<artifactId>butterfly</artifactId> <artifactId>butterfly</artifactId>
@ -206,7 +206,7 @@
<id>install-vicino</id> <id>install-vicino</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/vicino-1.1.jar</file> <file>${basedir}/lib-local/vicino-1.1.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>edu.mit.simile</groupId> <groupId>edu.mit.simile</groupId>
<artifactId>vicino</artifactId> <artifactId>vicino</artifactId>
@ -222,7 +222,7 @@
<id>install-secondstring</id> <id>install-secondstring</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/secondstring-20100303.jar</file> <file>${basedir}/lib-local/secondstring-20100303.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>com.wcohen</groupId> <groupId>com.wcohen</groupId>
<artifactId>secondstring</artifactId> <artifactId>secondstring</artifactId>
@ -238,7 +238,7 @@
<id>install-arithcode</id> <id>install-arithcode</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/arithcode-1.1.jar</file> <file>${basedir}/lib-local/arithcode-1.1.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>com.colloquial</groupId> <groupId>com.colloquial</groupId>
<artifactId>arithcode</artifactId> <artifactId>arithcode</artifactId>

View File

@ -20,6 +20,11 @@
<excludes> <excludes>
<exclude>**/*.java</exclude> <exclude>**/*.java</exclude>
<exclude>**/butterfly.properties</exclude> <exclude>**/butterfly.properties</exclude>
<exclude>**/lib-local/**</exclude>
<exclude>*/lib-local-src/**</exclude>
<exclude>**/pom.xml</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
<fileSet> <fileSet>
@ -45,6 +50,8 @@
<exclude>**/pom.xml</exclude> <exclude>**/pom.xml</exclude>
<exclude>**/.settings/**</exclude> <exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude> <exclude>**/.project</exclude>
<exclude>**/lib-local/**</exclude>
<exclude>*/lib-local-src/**</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
</fileSets> </fileSets>

View File

@ -14,7 +14,7 @@
</includes> </includes>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>${rootdir}/server/lib/native</directory> <directory>${rootdir}/server/lib-local/native</directory>
<outputDirectory>server/target/lib/native</outputDirectory> <outputDirectory>server/target/lib/native</outputDirectory>
<includes> <includes>
<include>**/*.dll</include> <include>**/*.dll</include>
@ -27,6 +27,11 @@
<excludes> <excludes>
<exclude>**/*.java</exclude> <exclude>**/*.java</exclude>
<exclude>**/butterfly.properties</exclude> <exclude>**/butterfly.properties</exclude>
<exclude>**/lib-local/**</exclude>
<exclude>*/lib-local-src/**</exclude>
<exclude>**/pom.xml</exclude>
<exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
<fileSet> <fileSet>
@ -52,6 +57,8 @@
<exclude>**/pom.xml</exclude> <exclude>**/pom.xml</exclude>
<exclude>**/.settings/**</exclude> <exclude>**/.settings/**</exclude>
<exclude>**/.project</exclude> <exclude>**/.project</exclude>
<exclude>**/lib-local/**</exclude>
<exclude>*/lib-local-src/**</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
</fileSets> </fileSets>

View File

@ -90,7 +90,7 @@
<id>install-jdapath</id> <id>install-jdapath</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<file>${basedir}/lib/jdatapath-alpha2.jar</file> <file>${basedir}/lib-local/jdatapath-alpha2.jar</file>
<repositoryLayout>default</repositoryLayout> <repositoryLayout>default</repositoryLayout>
<groupId>com.codeberry.jdatapath</groupId> <groupId>com.codeberry.jdatapath</groupId>
<artifactId>jdatapath</artifactId> <artifactId>jdatapath</artifactId>