Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Morra <jmorra@eharmony.com>2014-12-31 04:52:35 +0300
committerJon Morra <jmorra@eharmony.com>2014-12-31 04:52:35 +0300
commit7eda419bc27f2c9fbc37b061631edb4360e9218d (patch)
treece73f8015cd9345aa79c06d7bbf3b9a297acc616
parentba83d239a6b6745fcb58cf591999b35e0491003a (diff)
Now maven copy resource happens at the correct time
-rw-r--r--java/pom.xml34
1 files changed, 25 insertions, 9 deletions
diff --git a/java/pom.xml b/java/pom.xml
index f6bc8d7d..628535b2 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -53,14 +53,6 @@
</dependencies>
<build>
- <resources>
- <resource>
- <directory>${project.build.directory}</directory>
- <includes>
- <include>vw_jni.lib</include>
- </includes>
- </resource>
- </resources>
<testResources>
<testResource>
<directory>${project.build.directory}</directory>
@@ -171,6 +163,30 @@
</configuration>
</plugin>
<plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.build.directory}</directory>
+ <includes>
+ <include>vw_jni.lib</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.2</version>
@@ -195,4 +211,4 @@
</plugin>
</plugins>
</build>
-</project> \ No newline at end of file
+</project>