You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by ve...@apache.org on 2017/01/14 09:34:30 UTC
svn commit: r1778743 - in /synapse/trunk/java: modules/core/pom.xml pom.xml
Author: veithen
Date: Sat Jan 14 09:34:30 2017
New Revision: 1778743
URL: http://svn.apache.org/viewvc?rev=1778743&view=rev
Log:
Prevent the build from attempting to access the dead Codehaus snapshot repository.
Modified:
synapse/trunk/java/modules/core/pom.xml
synapse/trunk/java/pom.xml
Modified: synapse/trunk/java/modules/core/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/pom.xml?rev=1778743&r1=1778742&r2=1778743&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/pom.xml (original)
+++ synapse/trunk/java/modules/core/pom.xml Sat Jan 14 09:34:30 2017
@@ -225,6 +225,10 @@
<dependencies>
<dependency>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-clustering</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.apache.synapse</groupId>
<artifactId>synapse-securevault</artifactId>
</dependency>
Modified: synapse/trunk/java/pom.xml
URL: http://svn.apache.org/viewvc/synapse/trunk/java/pom.xml?rev=1778743&r1=1778742&r2=1778743&view=diff
==============================================================================
--- synapse/trunk/java/pom.xml (original)
+++ synapse/trunk/java/pom.xml Sat Jan 14 09:34:30 2017
@@ -647,10 +647,37 @@
<version>${wso2caching.version}</version>
<type>jar</type>
<exclusions>
+ <!-- Don't let wso2caching impose a logging implementation -->
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
+ <!-- The wso2caching POM declares a snapshot repository that is now dead
+ (snapshots.maven.codehaus.org). If we use snapshot versions of
+ Axis2/Axiom/Neethi, then Maven will start attempting to download them
+ from the dead repository, causing the build to get stuck. To work
+ around this, exclude dependencies that we might want to switch to
+ snapshot versions. -->
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-saaj</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-clustering</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.apache.neethi</groupId>
<artifactId>neethi</artifactId>
@@ -688,6 +715,28 @@
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
</exclusion>
+ <!-- Work around issues with snapshot dependencies
+ (see the entry for wso2caching for more details). -->
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-clustering</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.ws.commons.axiom</groupId>
+ <artifactId>axiom-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.neethi</groupId>
+ <artifactId>neethi</artifactId>
+ </exclusion>
</exclusions>
</dependency>