Hi Imesh,

I don't think that dependency in distribution pom is used. We are not
referring to that in assembly descriptor. So I think it's safe to remove
that. There are lot of unused dependencies all over the place, we need to
clean up those.

Thanks.

On Wed, Aug 19, 2015 at 10:10 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Martin,
>
> Saxon is used by Synapse module in the load balancer:
>
>  org.apache.stratos:org.apache.stratos.load.balancer:bundle:4.1.2-SNAPSHOT
>  +- org.apache.synapse:synapse-core:jar:2.1.1-wso2v4:compile
>  |  |
>  |  +- net.sf.saxon:saxon:jar:8.9:compile
>  |  +- net.sf.saxon:saxon-dom:jar:8.9:compile
>  |  +- net.sf.saxon:saxon-xqj:jar:8.9:compile
>
> So we need to check whether it would work without Saxon. IMO this maven
> mirror issue should be affecting all the other Apache projects. Will check
> how to resolve this.
>
> Thanks
>
> On Wed, Aug 19, 2015 at 10:00 AM, Martin Eppel (meppel) <mep...@cisco.com>
> wrote:
>
>> Since Akila was able to resolve the issue by removing the dependencies
>> from the pom file is it (dependency) still required or might there be
>> run-time issues ?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Martin
>>
>>
>>
>> Btw, I worked around it by using the following steps (from a previous
>> post):
>>
>>
>>
>>   1.)  wget
>> http://maven.wso2.org/nexus/content/repositories/wso2maven2/net/sf/saxon/saxon-xpath/8.9/saxon-xpath-8.9.jar
>>
>>   2.) mvn install:install-file -Dfile=saxon-xpath-8.9.jar
>> -DgroupId=net.sf.saxon -DartifactId=saxon-xpath -Dversion=8.9
>> -Dpackaging=jar -DgeneratePom=true
>>
>>   3.) rebuild
>>
>>
>>
>> *From:* Imesh Gunaratne [mailto:im...@apache.org]
>> *Sent:* Tuesday, August 18, 2015 9:27 PM
>> *To:* dev
>> *Subject:* Re: FW: Stratos build failure
>>
>>
>>
>> It seems to be that the following maven mirror is unreachable:
>>
>>
>>
>> *Could not transfer artifact net.sf.saxon:saxon-xpath:pom:8.9 from/to 
>> saxon-8.9-repo (http://mirrors.sunsite.dk/maven2 
>> <http://mirrors.sunsite.dk/maven2>): Network is unreachable *
>>
>>
>>
>> On Wed, Aug 19, 2015 at 9:12 AM, Akila Ravihansa Perera <
>> raviha...@wso2.com> wrote:
>>
>> I got the same today on master branch latest. I had to remove the below
>> dependency (only two occurrences in distribution poms) to resolve it.
>>
>> <groupId>net.sf.saxon.wso2</groupId>
>> <artifactId>saxon</artifactId>
>>
>>
>> Not sure why that happened.
>>
>>
>>
>> On Wed, Aug 19, 2015 at 3:25 AM, Martin Eppel (meppel) <mep...@cisco.com>
>> wrote:
>>
>> Hi,
>>
>>
>>
>> We are getting some build error because of some missing dependencies, is
>> this an issue others have seen as well which might have been fixed in some
>> commit later than 0fd41840fb04d92ba921bf58c59c2c3fbad0c561 (- this is our
>> last synch with stratos master).
>>
>>
>>
>> I think there were others on the dev list which were running into it some
>> time ago, how did it get resolved ?
>>
>>
>>
>> Our last commit from stratos master:
>>
>>
>>
>> commit 0fd41840fb04d92ba921bf58c59c2c3fbad0c561
>>
>> Author: Imesh Gunaratne <im...@apache.org>
>>
>> Date:   Tue Jul 7 12:54:47 2015 +0530
>>
>>
>>
>>
>>
>> Dependency issue while building stratos:
>>
>>
>>
>> Downloading:
>> http://mirrors.sunsite.dk/maven2/net/sf/saxon/saxon-xpath/8.9/saxon-xpath-8.9.pom
>> ...
>>
>> [ERROR] Failed to execute goal on project apache-stratos-load-balancer:
>> Could not resolve dependencies for
>> project 
>> org.apache.stratos.load.balancer:apache-stratos-load-balancer:pom:4.1.0:
>> Failed to collect dependencies
>> for [org.wso2.carbon:wso2carbon-core:zip:4.2.0 (compile),
>> org.apache.synapse:synapse-commons:jar:2.1.2-wso2v3 (compile),... Failed to
>> transfer file:
>> http://mirrors.sunsite.dk/maven2/net/sf/saxon/saxon-xpath/8.9/saxon-xpath-8.9.pom.
>> Return code is: 504 , ReasonPhrase:Gateway Timeout. -> [Help 1]
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>> Martin
>>
>>
>>
>>
>>
>> --
>>
>> Akila Ravihansa Perera
>> WSO2 Inc.;  http://wso2.com/
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>>
>>
>>
>>
>> --
>>
>> Imesh Gunaratne
>>
>>
>>
>> Senior Technical Lead, WSO2
>>
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Reply via email to