Commit a66bd06c authored by Erwan Bousse's avatar Erwan Bousse

Changing the method to copy dependencies (thanks to didier), solves the one...

Changing the method to copy dependencies (thanks to didier), solves the one out of two builds fails issue
parent 1816beea
......@@ -49,75 +49,50 @@
<build>
<plugins>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.4</version>
<executions>
<!-- manually copy features -->
<!-- be careful to also update the manifest accordingly -->
<execution>
<id>copy-dependencies</id>
<phase>initialize</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<outputDirectory>${project.basedir}/lib</outputDirectory>
<markersDirectory>${project.basedir}/lib</markersDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<executions>
<execution>
<id>clean-dependencies</id>
<phase>clean</phase>
<id>copy</id>
<phase>generate-sources</phase>
<goals>
<goal>clean</goal>
<goal>copy</goal>
</goals>
<configuration>
<filesets>
<fileset>
<directory>lib</directory>
<includes>
<artifactItems>
<include>**/*</include>
</includes>
<artifactItem>
<groupId>org.zeroturnaround</groupId>
<artifactId>zt-zip</artifactId>
<version>1.7</version>
<outputDirectory>lib</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>net.sf.jopt-simple</groupId>
<artifactId>jopt-simple</artifactId>
<version>4.6</version>
<outputDirectory>lib</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<version>1.6.6</version>
<outputDirectory>lib</outputDirectory>
</artifactItem>
</fileset>
</filesets>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment