Permalink
Browse files

update mongeez example dependencies

  • Loading branch information...
1 parent 0a596c1 commit ea111792f43025543dcc5d22c68bca818506eb1d @epishkin epishkin committed Nov 12, 2012
Showing with 46 additions and 26 deletions.
  1. +40 −20 examples/pom.xml
  2. +6 −6 pom.xml
View
@@ -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>
@@ -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>
@@ -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>
View
12 pom.xml
@@ -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>
@@ -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>

0 comments on commit ea11179

Please sign in to comment.