Skip to content

Commit

Permalink
add the dependency management in the top level POM and modified the p…
Browse files Browse the repository at this point in the history
…arent and dependencies of jsapi-servlet-test/pom.xml, oauth-servlet-test/pom.xml, resteasy-springMVC/pom.xml, smime/pom.xml and wadl-example/pom.xml
  • Loading branch information
CathrineTeng committed Aug 5, 2016
1 parent 4d27aae commit dbb00c5
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 16 deletions.
6 changes: 0 additions & 6 deletions jsapi-servlet-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,26 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jsapi</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
Expand Down
4 changes: 0 additions & 4 deletions oauth-servlet-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-oauth</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.servlet</groupId>
Expand All @@ -32,7 +30,6 @@
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.annotation</groupId>
Expand All @@ -41,7 +38,6 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
Expand Down
65 changes: 64 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<groupId>org.jboss.resteasy</groupId>
<artifactId>testable-examples-pom</artifactId>
<packaging>pom</packaging>

<version>3.1.0-SNAPSHOT</version>
<!-- this is only here for RESTEasy automated testing of examples build. You can remove if you are copying this
pom.xml as a template -->
<build>
Expand All @@ -27,12 +27,14 @@
</plugins>
</build>


<modules>
<module>jaxrs2-async-pubsub-example</module>
<module>jaxb-json</module>
<module>guice-hello</module>
<module>async-job-service</module>
<module>resteasy-springMVC</module>
<module>oreilly-workbook</module>
<module>oreilly-jaxrs-2.0-workbook</module>
<module>oauth1-examples</module>
<module>oauth2-as7-example</module>
Expand All @@ -46,4 +48,65 @@
<module>spring-hibernate-contacts</module>
<!-- <module>jsapi-servlet-test</module> -->
</modules>


<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jsapi</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>async-http-servlet-3.0</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-oauth</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>1.8.0.7</version>
</dependency>

</dependencies>
</dependencyManagement>

</project>
2 changes: 0 additions & 2 deletions resteasy-springMVC/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>3.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
Expand Down
2 changes: 0 additions & 2 deletions smime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxb-provider</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
Expand Down
1 change: 0 additions & 1 deletion wadl-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
Expand Down

0 comments on commit dbb00c5

Please sign in to comment.