Skip to content

Commit

Permalink
Changing pom.xml to capture ad-hoc gson library.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalohlava committed Oct 24, 2014
1 parent 85e9e0f commit 9666a61
Showing 1 changed file with 33 additions and 4 deletions.
37 changes: 33 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<groupId>ai.h2o.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3</version>
<scope>compile</scope>
<scope>system</scope>
<systemPath>${project.basedir}/lib/gson/gson-2.3.jar</systemPath>
</dependency>
<!-- ==Jama is given explicitely - it was modified and compiled by @tomas == -->
<dependency>
Expand Down Expand Up @@ -140,7 +141,7 @@
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.16.1-GA</version>
<version>3.18.1-GA</version>
<scope>compile</scope>
</dependency>
<!-- ==Jogamp dependencies for NN== -->
Expand Down Expand Up @@ -242,6 +243,34 @@
</pluginManagement>
<!-- Plugins activation and setup -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<id>unpack</id>
<phase>compile</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>ai.h2o.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3</version>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
<includes>**/*.class,**/*.xml</includes>
<excludes>**/*test.class</excludes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>

<!-- FIXME: DatasetCompare serves as a sandbox for Tomas. It should be
user private and removed! -->
<plugin>
Expand Down Expand Up @@ -293,7 +322,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 9666a61

Please sign in to comment.