Skip to content

Commit

Permalink
update mongeez example dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
epishkin committed Nov 12, 2012
1 parent 0a596c1 commit ea11179
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 26 deletions.
60 changes: 40 additions & 20 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@

<groupId>org.mongeez</groupId>
<artifactId>examples</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.9.3-SNAPSHOT</version>
<packaging>war</packaging>

<dependencies>
<dependency>
<groupId>org.mongeez</groupId>
<artifactId>mongeez</artifactId>
<version>0.9.2</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
<version>0.9.3-SNAPSHOT</version>
</dependency>

<dependency>
Expand All @@ -26,7 +21,24 @@
<dependency>
<groupId>com.google.code.morphia</groupId>
<artifactId>morphia</artifactId>
<version>1.00-SNAPSHOT</version>
<version>0.99</version>
<exclusions>
<exclusion>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>

<dependency>
Expand All @@ -38,47 +50,55 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>3.0.5.RELEASE</version>
<version>3.1.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
<version>1.7.6</version>
<version>1.9.11</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>3.0.5.RELEASE</version>
<version>3.1.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>3.0.5.RELEASE</version>
<version>3.1.3.RELEASE</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.6.9</version>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.9</version>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<version>1.7.1</version>
</dependency>
</dependencies>

<repositories>
<!--you need this repo only if you use SNAPSHOT version of mongeez-->
<repository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>

<!--this repo is used to get the latest morphia (it's still not in maven Central)-->
<!--morphia is not used by mongeez. it's used in this example just to simplify crud operations-->
<repository>
<id>morphia.googlecode.com</id>
<name>Morphia Repo at Google Code</name>
<url>http://morphia.googlecode.com/svn/mavenrepo</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
</properties>

<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>

<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
Expand All @@ -67,12 +73,6 @@
<version>3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-digester3</artifactId>
<version>3.2</version>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
Expand Down

0 comments on commit ea11179

Please sign in to comment.