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).

git-svn-id: https://svn.apache.org/repos/asf/synapse/trunk@1776269 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/java/modules/distribution/pom.xml b/java/modules/distribution/pom.xml
index a647641..b251907 100644
--- a/java/modules/distribution/pom.xml
+++ b/java/modules/distribution/pom.xml
@@ -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>
diff --git a/java/pom.xml b/java/pom.xml
index 33fc48b..260c69e 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -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>