[mozzes] r18 committed - Fixed REST example pom files.

0 views
Skip to first unread message

moz...@googlecode.com

unread,
Feb 27, 2010, 8:49:07 AM2/27/10
to mozzes-d...@googlegroups.com
Revision: 18
Author: perica.milosevic
Date: Sat Feb 27 05:48:41 2010
Log: Fixed REST example pom files.
http://code.google.com/p/mozzes/source/detail?r=18

Modified:

/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleRestJersey/pom.xml

/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleServer/src/main/java/org/mozzes/application/example/server/ExampleServer.java
/trunk/mozzesApplication/mozzesApplicationExample/pom.xml
/trunk/mozzesApplication/mozzesApplicationRestJersey/pom.xml
/trunk/mozzesApplication/pom.xml

=======================================
---
/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleRestJersey/pom.xml
Sat Feb 27 04:46:07 2010
+++
/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleRestJersey/pom.xml
Sat Feb 27 05:48:41 2010
@@ -1,37 +1,36 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.mozzes.application</groupId>
- <artifactId>mozzesApplicationExampleRestJersey</artifactId>
- <version>trunk-SNAPSHOT</version>
- <parent>
- <artifactId>mozzesApplicationExample</artifactId>
- <groupId>org.mozzes.application</groupId>
- <version>trunk-SNAPSHOT</version>
- </parent>
- <dependencies>
- <dependency>
- <groupId>org.mozzes.application</groupId>
- <artifactId>mozzesApplicationServer</artifactId>
- <version>trunk-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.mozzes.rest.jersey</groupId>
- <artifactId>mozzesRestJersey</artifactId>
- <version>trunk-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.mozzes.application</groupId>
- <artifactId>mozzesApplicationExampleCommon</artifactId>
- <version>trunk-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>xstream</groupId>
- <artifactId>xstream</artifactId>
- <version>1.2.2</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <artifactId>mozzesApplicationExample</artifactId>
+ <groupId>org.mozzes.application</groupId>
+ <version>trunk-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationExampleRestJersey</artifactId>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationServer</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationRestJersey</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationExampleCommon</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>xstream</groupId>
+ <artifactId>xstream</artifactId>
+ <version>1.2.2</version>
+ </dependency>
+ </dependencies>
+ <modelVersion>4.0.0</modelVersion>
</project>
=======================================
---
/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleServer/src/main/java/org/mozzes/application/example/server/ExampleServer.java
Sat Feb 27 04:46:07 2010
+++
/trunk/mozzesApplication/mozzesApplicationExample/mozzesApplicationExampleServer/src/main/java/org/mozzes/application/example/server/ExampleServer.java
Sat Feb 27 05:48:41 2010
@@ -37,18 +37,18 @@
MozzesServer server = new MozzesServer(createServerConfiguration());
server.start();

- Team t1 = new Team();
- t1.setName("Crvena zvezda");
- Team t2 = new Team();
- t2.setName("Partizan");
-
- t1 =
server.getLocalClient().getService(TeamAdministration.class).save(t1);
- t2 =
server.getLocalClient().getService(TeamAdministration.class).save(t2);
-
log.info(server.getLocalClient().getService(TeamAdministration.class).findAll());
-
- server.getLocalClient().getService(MatchAdministration.class).save(
- new Match(new Date(), t1, t2, new Result(2, 1)));
-
log.info(server.getLocalClient().getService(MatchAdministration.class).findAll());
+// Team t1 = new Team();
+// t1.setName("Crvena zvezda");
+// Team t2 = new Team();
+// t2.setName("Partizan");
+//
+// t1 =
server.getLocalClient().getService(TeamAdministration.class).save(t1);
+// t2 =
server.getLocalClient().getService(TeamAdministration.class).save(t2);
+//
log.info(server.getLocalClient().getService(TeamAdministration.class).findAll());
+//
+// server.getLocalClient().getService(MatchAdministration.class).save(
+// new Match(new Date(), t1, t2, new Result(2, 1)));
+//
log.info(server.getLocalClient().getService(MatchAdministration.class).findAll());

}

=======================================
--- /trunk/mozzesApplication/mozzesApplicationExample/pom.xml Tue Feb 23
16:09:19 2010
+++ /trunk/mozzesApplication/mozzesApplicationExample/pom.xml Sat Feb 27
05:48:41 2010
@@ -95,5 +95,6 @@
<module>mozzesApplicationExampleCommon</module>
<module>mozzesApplicationExampleSwingClient</module>
<module>mozzesApplicationExampleVaadin</module>
+ <module>mozzesApplicationExampleRestJersey</module>
</modules>
</project>
=======================================
--- /trunk/mozzesApplication/mozzesApplicationRestJersey/pom.xml Sat Feb 27
04:46:07 2010
+++ /trunk/mozzesApplication/mozzesApplicationRestJersey/pom.xml Sat Feb 27
05:48:41 2010
@@ -1,46 +1,48 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.mozzes.rest.jersey</groupId>
- <artifactId>mozzesRestJersey</artifactId>
- <version>trunk-SNAPSHOT</version>
- <parent>
- <artifactId>mozzesApplication</artifactId>
- <groupId>org.mozzes.application</groupId>
- <version>trunk-SNAPSHOT</version>
- </parent>
- <repositories>
- <repository>
- <id>maven2-repository.dev.java.net</id>
- <name>Java.net Repository for Maven</name>
- <url>http://download.java.net/maven/2/</url>
- </repository>
- </repositories>
- <dependencies>
- <dependency>
- <groupId>org.mozzes.application</groupId>
- <artifactId>mozzesApplicationModule</artifactId>
- <version>trunk-SNAPSHOT</version>
- <scope>compile</scope>
- </dependency>
-<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-server</artifactId>
- <version>1.1.4</version>
-</dependency>
-<dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-json</artifactId>
- <version>1.1.4</version>
-</dependency>
-<dependency>
- <groupId>com.sun.jersey.contribs</groupId>
- <artifactId>jersey-guice</artifactId>
- <version>1.1.4.1</version>
-</dependency>
-<dependency>
- <groupId>com.sun.grizzly</groupId>
- <artifactId>grizzly-servlet-webserver</artifactId>
- <version>1.9.8</version>
-</dependency>
- </dependencies>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <artifactId>mozzesApplication</artifactId>
+ <groupId>org.mozzes.application</groupId>
+ <version>trunk-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationRestJersey</artifactId>
+
+ <modelVersion>4.0.0</modelVersion>
+ <repositories>
+ <repository>
+ <id>maven2-repository.dev.java.net</id>
+ <name>Java.net Repository for Maven</name>
+ <url>http://download.java.net/maven/2/</url>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>org.mozzes.application</groupId>
+ <artifactId>mozzesApplicationModule</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-server</artifactId>
+ <version>1.1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-json</artifactId>
+ <version>1.1.4</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-guice</artifactId>
+ <version>1.1.4.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.grizzly</groupId>
+ <artifactId>grizzly-servlet-webserver</artifactId>
+ <version>1.9.8</version>
+ </dependency>
+ </dependencies>
</project>
=======================================
--- /trunk/mozzesApplication/pom.xml Tue Feb 23 16:09:19 2010
+++ /trunk/mozzesApplication/pom.xml Sat Feb 27 05:48:41 2010
@@ -30,6 +30,7 @@
<module>mozzesApplicationDemo</module>
<module>mozzesApplicationHibernate</module>
<module>mozzesApplicationVaadin</module>
+ <module>mozzesApplicationRestJersey</module>
<module>mozzesApplicationExample</module>
</modules>

Reply all
Reply to author
Forward
0 new messages