Skip to content

Commit fac7bfc

Browse files
CLOUDSTACK-8011: Upgrade maven dependencies
Changes; - Upgrades maven-war plugin to 4.5 (faster war packaging) - Upgrade spring framework to latest minor release - Upgrade ehcache, jasypt, httpclient, httpcore and other core dependencies - Upgrade to latest ipv6 library, fix unit test NetUtilsTest - httpcore and httpclient are sharing same version variable - commons-httpclient is different that httpclient, the fix gives it a separate var - Apidocs failed to generate and get stuck with new reflections version, for now we will continue using 0.9.8 Newer dependencies can be listed using: mvn versions:display-dependency-updates -Dnoredist -Dsimulator -P developer,systemvm Testing; - Tested using Maven 3.2.1 - Local noredist build with unit tests succeeds - CloudStack mgmt server started, basic business layer tests work - Observed 10-15% build time improvement using new maven-war plugin Branch: bugfix/4.5-8011 (commits are squashed in favour of a linear history) Pull request: #50 This closes #50 TravisCI build summary: https://travis-ci.org/shapeblue/cloudstack/builds/42902172 - Build passes with unit tests - Apidocs generates successfully - Most integration tests pass, some fail due to timeout errors, second re-run passes some of them Signed-off-by: Rohit Yadav <[email protected]>
1 parent 8cb11f4 commit fac7bfc

File tree

12 files changed

+51
-50
lines changed

12 files changed

+51
-50
lines changed

client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@
388388
<plugin>
389389
<groupId>org.apache.maven.plugins</groupId>
390390
<artifactId>maven-war-plugin</artifactId>
391-
<version>2.3</version>
391+
<version>2.5</version>
392392
<configuration>
393393
<webXml>./target/generated-webapp/WEB-INF/web.xml</webXml>
394394
<warSourceDirectory>./target/generated-webapp</warSourceDirectory>
@@ -744,7 +744,7 @@
744744
<plugin>
745745
<groupId>org.apache.maven.plugins</groupId>
746746
<artifactId>maven-war-plugin</artifactId>
747-
<version>2.3</version>
747+
<version>2.5</version>
748748
<configuration>
749749
<webappDirectory>target/client</webappDirectory>
750750
<webXml>./target/generated-webapp/WEB-INF/web.xml</webXml>

engine/api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<dependency>
3939
<groupId>org.apache.cxf</groupId>
4040
<artifactId>cxf-bundle-jaxrs</artifactId>
41-
<version>2.7.0</version>
41+
<version>2.7.13</version>
4242
<exclusions>
4343
<exclusion>
4444
<groupId>org.eclipse.jetty</groupId>

engine/service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>org.apache.cxf</groupId>
6565
<artifactId>cxf-bundle-jaxrs</artifactId>
66-
<version>2.7.0</version>
66+
<version>2.7.13</version>
6767
<exclusions>
6868
<exclusion>
6969
<groupId>org.eclipse.jetty</groupId>

framework/rest/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,32 +33,32 @@
3333
<dependency>
3434
<groupId>com.fasterxml.jackson.module</groupId>
3535
<artifactId>jackson-module-jaxb-annotations</artifactId>
36-
<version>2.1.1</version>
36+
<version>2.4.4</version>
3737
</dependency>
3838
<dependency>
3939
<groupId>com.fasterxml.jackson.core</groupId>
4040
<artifactId>jackson-annotations</artifactId>
41-
<version>2.1.1</version>
41+
<version>2.4.4</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>com.fasterxml.jackson.core</groupId>
4545
<artifactId>jackson-core</artifactId>
46-
<version>2.1.1</version>
46+
<version>2.4.4</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>com.fasterxml.jackson.core</groupId>
5050
<artifactId>jackson-databind</artifactId>
51-
<version>2.1.1</version>
51+
<version>2.4.4</version>
5252
</dependency>
5353
<dependency>
5454
<groupId>com.fasterxml.jackson.jaxrs</groupId>
5555
<artifactId>jackson-jaxrs-json-provider</artifactId>
56-
<version>2.1.1</version>
56+
<version>2.4.4</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>org.apache.cxf</groupId>
6060
<artifactId>cxf-bundle-jaxrs</artifactId>
61-
<version>2.7.0</version>
61+
<version>2.7.13</version>
6262
<exclusions>
6363
<exclusion>
6464
<groupId>org.eclipse.jetty</groupId>

plugins/event-bus/rabbitmq/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>com.rabbitmq</groupId>
3333
<artifactId>amqp-client</artifactId>
34-
<version>3.4.1</version>
34+
<version>3.4.2</version>
3535
</dependency>
3636
<dependency>
3737
<groupId>org.apache.cloudstack</groupId>

plugins/network-elements/juniper-contrail/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<dependency>
105105
<groupId>org.apache.commons</groupId>
106106
<artifactId>commons-exec</artifactId>
107-
<version>1.1</version>
107+
<version>1.3</version>
108108
</dependency>
109109
<dependency>
110110
<groupId>org.mockito</groupId>

plugins/network-elements/midonet/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
<dependency>
4848
<groupId>org.codehaus.jackson</groupId>
4949
<artifactId>jackson-core-asl</artifactId>
50-
<version>1.9.3</version>
50+
<version>1.9.11</version>
5151
<scope>runtime</scope>
5252
</dependency>
5353
<dependency>
5454
<groupId>org.codehaus.jackson</groupId>
5555
<artifactId>jackson-mapper-asl</artifactId>
56-
<version>1.9.3</version>
56+
<version>1.9.11</version>
5757
<scope>runtime</scope>
5858
</dependency>
5959
</dependencies>

plugins/storage/volume/cloudbyte/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>com.sun.jersey</groupId>
5656
<artifactId>jersey-bundle</artifactId>
57-
<version>1.17.1</version>
57+
<version>1.18.3</version>
5858
</dependency>
5959
</dependencies>
6060
<build>

pom.xml

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3939
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4040

41-
<cs.log4j.version>1.2.16</cs.log4j.version>
42-
<cs.log4j.extras.version>1.1</cs.log4j.extras.version>
43-
<cs.cglib.version>2.2.2</cs.cglib.version>
41+
<cs.log4j.version>1.2.17</cs.log4j.version>
42+
<cs.log4j.extras.version>1.2.17</cs.log4j.extras.version>
43+
<cs.cglib.version>3.1</cs.cglib.version>
4444
<cs.dbcp.version>1.4</cs.dbcp.version>
4545
<cs.pool.version>1.6</cs.pool.version>
46-
<cs.codec.version>1.6</cs.codec.version>
47-
<cs.configuration.version>1.8</cs.configuration.version>
46+
<cs.codec.version>1.10</cs.codec.version>
47+
<cs.configuration.version>1.10</cs.configuration.version>
4848
<cs.collections.version>3.2.1</cs.collections.version>
4949
<cs.logging.version>1.1.1</cs.logging.version>
5050
<cs.discovery.version>0.5</cs.discovery.version>
@@ -53,43 +53,44 @@
5353
<cs.junit.version>4.11</cs.junit.version>
5454
<cs.hamcrest.version>1.3</cs.hamcrest.version>
5555
<cs.bcprov.version>1.46</cs.bcprov.version>
56-
<cs.jsch.version>0.1.42</cs.jsch.version>
57-
<cs.jpa.version>2.0.0</cs.jpa.version>
58-
<cs.jasypt.version>1.9.0</cs.jasypt.version>
59-
<cs.trilead.version>build213-svnkit-1.3-patch</cs.trilead.version>
60-
<cs.ehcache.version>2.6.6</cs.ehcache.version>
56+
<cs.jsch.version>0.1.51</cs.jsch.version>
57+
<cs.jpa.version>2.1.0</cs.jpa.version>
58+
<cs.jasypt.version>1.9.2</cs.jasypt.version>
59+
<cs.trilead.version>1.0.0-build217</cs.trilead.version>
60+
<cs.ehcache.version>2.6.9</cs.ehcache.version>
6161
<cs.gson.version>1.7.2</cs.gson.version>
62-
<cs.guava.version>14.0-rc1</cs.guava.version>
62+
<cs.guava.version>18.0</cs.guava.version>
6363
<cs.xapi.version>6.2.0-3.1</cs.xapi.version>
64-
<cs.httpclient.version>3.1</cs.httpclient.version>
65-
<cs.httpcore.version>4.2.1</cs.httpcore.version>
66-
<cs.mysql.version>5.1.21</cs.mysql.version>
67-
<cs.xstream.version>1.3.1</cs.xstream.version>
64+
<cs.httpclient.version>4.3.6</cs.httpclient.version>
65+
<cs.httpcore.version>4.3.3</cs.httpcore.version>
66+
<cs.commons-httpclient.version>3.1</cs.commons-httpclient.version>
67+
<cs.mysql.version>5.1.34</cs.mysql.version>
68+
<cs.xstream.version>1.4.7</cs.xstream.version>
6869
<cs.xmlrpc.version>3.1.3</cs.xmlrpc.version>
69-
<cs.mail.version>1.4</cs.mail.version>
70+
<cs.mail.version>1.4.7</cs.mail.version>
7071
<cs.axis.version>1.4</cs.axis.version>
7172
<cs.axis2.version>1.5.6</cs.axis2.version>
7273
<cs.rampart.version>1.5.1</cs.rampart.version>
7374
<cs.axiom.version>1.2.8</cs.axiom.version>
7475
<cs.neethi.version>2.0.4</cs.neethi.version>
75-
<cs.servlet.version>2.4</cs.servlet.version>
76+
<cs.servlet.version>2.5</cs.servlet.version>
7677
<cs.jstl.version>1.2</cs.jstl.version>
7778
<cs.selenium.server.version>1.0-20081010.060147</cs.selenium.server.version>
7879
<cs.vmware.api.version>5.1</cs.vmware.api.version>
79-
<org.springframework.version>3.2.4.RELEASE</org.springframework.version>
80+
<org.springframework.version>3.2.12.RELEASE</org.springframework.version>
8081
<cs.mockito.version>1.9.5</cs.mockito.version>
8182
<cs.powermock.version>1.5.3</cs.powermock.version>
82-
<cs.aws.sdk.version>1.3.22</cs.aws.sdk.version>
83+
<cs.aws.sdk.version>1.9.8</cs.aws.sdk.version>
8384
<cs.lang.version>2.6</cs.lang.version>
84-
<cs.commons-io.version>1.4</cs.commons-io.version>
85+
<cs.commons-io.version>2.4</cs.commons-io.version>
8586
<cs.commons-validator.version>1.4.0</cs.commons-validator.version>
8687
<cs.reflections.version>0.9.8</cs.reflections.version>
87-
<cs.java-ipv6.version>0.10</cs.java-ipv6.version>
88+
<cs.java-ipv6.version>0.15</cs.java-ipv6.version>
8889
<cs.replace.properties>build/replace.properties</cs.replace.properties>
8990
<cs.libvirt-java.version>0.5.1</cs.libvirt-java.version>
9091
<cs.rados-java.version>0.1.4</cs.rados-java.version>
9192
<cs.target.dir>target</cs.target.dir>
92-
<cs.daemon.version>1.0.10</cs.daemon.version>
93+
<cs.daemon.version>1.0.15</cs.daemon.version>
9394
<cs.jna.version>4.0.0</cs.jna.version>
9495
<cs.checkstyle.version>2.11</cs.checkstyle.version>
9596
<cs.mycila.license.version>2.5</cs.mycila.license.version>
@@ -304,7 +305,7 @@
304305
<dependency>
305306
<groupId>org.owasp.esapi</groupId>
306307
<artifactId>esapi</artifactId>
307-
<version>2.0.1</version>
308+
<version>2.1.0</version>
308309
</dependency>
309310
<dependency>
310311
<groupId>org.eclipse.persistence</groupId>
@@ -329,7 +330,7 @@
329330
<dependency>
330331
<groupId>org.apache.httpcomponents</groupId>
331332
<artifactId>httpclient</artifactId>
332-
<version>${cs.httpcore.version}</version>
333+
<version>${cs.httpclient.version}</version>
333334
</dependency>
334335
<dependency>
335336
<groupId>com.thoughtworks.xstream</groupId>
@@ -369,17 +370,17 @@
369370
<dependency>
370371
<groupId>org.apache.servicemix.bundles</groupId>
371372
<artifactId>org.apache.servicemix.bundles.snmp4j</artifactId>
372-
<version>2.1.0_1</version>
373+
<version>2.3.1_1</version>
373374
</dependency>
374375
<dependency>
375376
<groupId>org.aspectj</groupId>
376377
<artifactId>aspectjtools</artifactId>
377-
<version>1.7.0</version>
378+
<version>1.8.4</version>
378379
</dependency>
379380
<dependency>
380381
<groupId>org.aspectj</groupId>
381382
<artifactId>aspectjweaver</artifactId>
382-
<version>1.7.0</version>
383+
<version>1.8.4</version>
383384
</dependency>
384385
<dependency>
385386
<groupId>org.apache.axis</groupId>
@@ -399,17 +400,17 @@
399400
<dependency>
400401
<groupId>wsdl4j</groupId>
401402
<artifactId>wsdl4j</artifactId>
402-
<version>1.4</version>
403+
<version>1.6.3</version>
403404
</dependency>
404405
<dependency>
405406
<groupId>org.slf4j</groupId>
406407
<artifactId>slf4j-api</artifactId>
407-
<version>1.7.5</version>
408+
<version>1.7.7</version>
408409
</dependency>
409410
<dependency>
410411
<groupId>org.slf4j</groupId>
411412
<artifactId>slf4j-log4j12</artifactId>
412-
<version>1.7.5</version>
413+
<version>1.7.7</version>
413414
</dependency>
414415
</dependencies>
415416
</dependencyManagement>
@@ -430,7 +431,7 @@
430431
<dependency>
431432
<groupId>org.mockito</groupId>
432433
<artifactId>mockito-all</artifactId>
433-
<version>1.9.5</version>
434+
<version>${cs.mockito.version}</version>
434435
<scope>test</scope>
435436
</dependency>
436437
<dependency>

services/console-proxy-rdp/rdpconsole/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>org.apache.tomcat.embed</groupId>
6868
<artifactId>tomcat-embed-core</artifactId>
69-
<version>7.0.30</version>
69+
<version>8.0.15</version>
7070
</dependency>
7171
<!-- Another implementation of SSL protocol. Does not work with broken MS RDP SSL too. -->
7272
<dependency>

0 commit comments

Comments
 (0)