Hi Imesh,

/products/load-balancer/modules/distribution/pom.xml has this dependency
tree:


[INFO] +- net.sf.saxon.wso2:saxon:jar:8.9.0.wso2v1:compile

[INFO] |  \- net.sf.saxon:saxon-xpath:jar:8.9:compile


If I take a look inside
 .m2/repository/net/sf/saxon/wso2/saxon/8.9.0.wso2v1/saxon-8.9.0.wso2v1.pom
- you can see that the sunsite repo is being used and not the wso2's
saxon-xpath:


  <repositories>

        <repository>

            <id>saxon-8.9-repo</id>

            <url>http://mirrors.sunsite.dk/maven2</url>

            <releases>

                <enabled>true</enabled>

            </releases>

            <snapshots>

                <enabled>false</enabled>

            </snapshots>

        </repository>

    </repositories>

    ...

        <dependency>

            <groupId>net.sf.saxon</groupId>

            <artifactId>saxon-xpath</artifactId>

            <version>8.9</version>

        </dependency>



On Sun, Apr 27, 2014 at 3:58 PM, Imesh Gunaratne <im...@apache.org> wrote:
> Thanks Chris for the workaround!
> I'm not sure why its trying to fetch this artifact from
> http://mirrors.sunsite.dk/maven2. Any thoughts?
>
>
>
>
> On Sun, Apr 27, 2014 at 12:13 PM, chris snow <chsnow...@gmail.com> wrote:
>>
>> This seems to be ok as a workaround:
>>
>> wget
>>
http://maven.wso2.org/nexus/content/repositories/wso2maven2/net/sf/saxon/saxon-xpath/8.9/saxon-xpath-8.9.jar
>>
>> mvn install:install-file \
>> -Dfile=saxon-xpath-8.9.jar \
>> -DgroupId=net.sf.saxon \
>> -DartifactId=saxon-xpath \
>> -Dversion=8.9 \
>> -Dpackaging=jar \
>> -DgeneratePom=true
>>
>> On Sun, Apr 27, 2014 at 6:50 AM, Akila Ravihansa Perera
>> <raviha...@wso2.com> wrote:
>> > Having the same issue. Build is failing.
>> >
>> > [INFO]
>> >
------------------------------------------------------------------------
>> > [INFO] Building Apache Stratos - Load Balancer - Distribution
>> > 4.0.0-incubating
>> > [INFO]
>> >
------------------------------------------------------------------------
>> > Downloading:
>> >
http://mirrors.sunsite.dk/maven2/net/sf/saxon/saxon-xpath/8.9/saxon-xpath-8.9.pom
>> > Apr 27, 2014 9:58:31 AM
>> >
>> >
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryConnect
>> > INFO: I/O exception (java.net.SocketException) caught when connecting
>> > to the target host: Network is unreachable
>> > Apr 27, 2014 9:58:31 AM
>> >
>> >
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
>> > tryConnect
>> >
>> >
>> >
>> > On Sun, Apr 27, 2014 at 2:21 AM, chris snow <chsnow...@gmail.com>
wrote:
>> >> Ah, jenkins has the same issue:
>> >>
>> >>
http://162.242.172.201:8080/job/Apache-Stratos-Master-Nightly-Build/16/console
>> >>
>> >> On Sat, Apr 26, 2014 at 9:42 PM, chris snow <chsnow...@gmail.com>
>> >> wrote:
>> >>> Is anyone else hitting maven timeout issues?
>> >>>
>> >>> Failed to read artifact descriptor for
>> >>> net.sf.saxon:saxon-xpath:jar:8.9: Could not transfer artifact
>> >>> net.sf.saxon:saxon-xpath:pom:8.9 from/to saxon-8.9-repo
>> >>> (http://mirrors.sunsite.dk/maven2): Connection timed out -> [Help 1]
>> >>
>> >>
>> >>
>> >> --
>> >> Check out my professional profile and connect with me on LinkedIn.
>> >> http://lnkd.in/cw5k69
>> >
>> >
>> >
>> > --
>> > Akila Ravihansa Perera
>> > Software Engineer
>> > WSO2 Inc.
>> > http://wso2.com
>> >
>> > Phone: +94 77 64 154 38
>> > Blog: http://ravihansa3000.blogspot.com
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PPMC Member, Apache Stratos

-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69the

Reply via email to