Author: veithen
Date: Wed Dec 28 11:21:37 2016
New Revision: 1776269
URL: http://svn.apache.org/viewvc?rev=1776269&view=rev
Log:
SYNAPSE-1077: To change the version of a transitive dependency, a
dependencyManagement entry is enough; there is no need to exclude the
transitive dependency and add it as a direct dependency. In this particular
case, this also avoids an unwanted transitive dependency on stax:stax-api
(which is excluded in Axis2 and reappears if Jettison is added as a direct
dependency).
Modified:
synapse/trunk/java/modules/distribution/pom.xml
synapse/trunk/java/pom.xml
Modified: synapse/trunk/java/modules/distribution/pom.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/modules/distribution/pom.xml?rev=1776269&r1=1776268&r2=1776269&view=diff
==============================================================================
--- synapse/trunk/java/modules/distribution/pom.xml (original)
+++ synapse/trunk/java/modules/distribution/pom.xml Wed Dec 28 11:21:37 2016
@@ -115,10 +115,6 @@
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-json</artifactId>
</dependency>
- <dependency>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- </dependency>
<!-- Additional transports -->
<dependency>
Modified: synapse/trunk/java/pom.xml
URL:
http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=1776269&r1=1776268&r2=1776269&view=diff
==============================================================================
--- synapse/trunk/java/pom.xml (original)
+++ synapse/trunk/java/pom.xml Wed Dec 28 11:21:37 2016
@@ -445,12 +445,6 @@
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-json</artifactId>
<version>${axis2.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>