Skip to content

Commit

Permalink
Re-added test-jar generation as it's depended on by hazelcast-client.
Browse files Browse the repository at this point in the history
Added exclusions to ensure only 1 version of slf4j-api, spring-tx (spring-data-mongodb has a vastly too wide version range for spring dependencies which was downloading the entire 3.2.0 snapshot tree) and mongo-java-driver are included during maven build process.
  • Loading branch information
Andrew Walters committed Apr 11, 2012
1 parent 694e255 commit a0cca88
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hazelcast-hibernate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@
<artifactId>hibernate-core</artifactId>
<version>${hibernate.core.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>hsqldb</groupId>
Expand Down
10 changes: 10 additions & 0 deletions hazelcast-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@
<artifactId>spring-data-mongodb</artifactId>
<version>${org.springframework.data.mongodb}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>spring-tx</artifactId>
<groupId>org.springframework</groupId>
</exclusion>
<exclusion>
<artifactId>mongo-java-driver</artifactId>
<groupId>org.mongodb</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
Expand Down
14 changes: 14 additions & 0 deletions hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@

<build>
<plugins>
<!-- this create jar file of code from src/test/java so modules with tests can share code -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down

0 comments on commit a0cca88

Please sign in to comment.