I have purged today the whole local repository to test the other problem
with equinox.  I have nothing for servicemix 5.1.0 in my local repo. I
have previously sent you a config for servicemix 5.0.2. Please check this

org.ops4j.pax.url.mvn.repositories= \
    http://repo1.maven.org/maven2@id=maven.central.repo, \
   
http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases@id=apache.snapshots.repo,
\
    http://svn.apache.org/repos/asf/servicemix/m2-repo@id=maven.smx.repo, \
   
https://repository.apache.org/content/repositories/orgapacheservicemix-1011@id=smx.stage.repo,
\
   
http://repository.springsource.com/maven/bundles/release@id=springsource.release.repo,
\
   
http://repository.springsource.com/maven/bundles/external@id=springsource.external.repo,
\
   
http://oss.sonatype.org/content/repositories/releases/@id=maven.sonatype.repo,
\
   
https://maven.alfresco.com/nexus/content/groups/public/@id=maven.alfresco.repo

But indeed, I could now reproduce twice your problem, but at third time
it could be installed. I tried again with fresh servicemix and it works
too. Could it be a problem with the staging repo?


On 19.06.2014 19:38, Raul Kripalani wrote:
> Still the same on my end :-( I deleted the data directory and started from
> scratch. The same.
>
> This artefact is not available in my local Maven repo (in your test it
> might have been available in your local repo, if you built the release
> locally):
>
> [raul@~/.m2/repository/org/apache/servicemix/examples/cxf-jaxrs$] ls -lrt
> total 8
> drwxr-xr-x  6 raul  staff  204 Dec  8  2012 4.5.0-SNAPSHOT
> drwxr-xr-x  6 raul  staff  204 Feb 16 23:05 5.0.0-SNAPSHOT
> drwxr-xr-x  6 raul  staff  204 Mar 16 19:05 5.0.1-SNAPSHOT
> -rw-r--r--  1 raul  staff  439 Mar 16 19:10 maven-metadata-local.xml
> drwxr-xr-x  5 raul  staff  170 Mar 16 19:10 5.0.0
>
> So I'm quite sure that it's picking it up from the staging repo... In fact,
> here's the proof:
>
> 18:34:09,279 | DEBUG | l Console Thread | HttpURLConnection
>  |  -  -  | sun.net.www.MessageHeader@3fa412f87 pairs: {GET
> /content/repositories/orgapacheservicemix-1012/org/apache/servicemix/examples/cxf-jaxrs/5.1.0/cxf-jaxrs-5.1.0.jar
> HTTP/1.1: null}{User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
> AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95
> Safari/537.11}{Cache-Control: no-cache}{Pragma: no-cache}{Host:
> repository.apache.org}{Accept: text/html, image/gif, image/jpeg, *; q=.2,
> */*; q=.2}{Connection: keep-alive}
> 18:34:09,569 | DEBUG | l Console Thread | HttpURLConnection
>  |  -  -  | sun.net.www.MessageHeader@2cd9786c10 pairs: {null: HTTP/1.1 404
> Not Found}{Date: Thu, 19 Jun 2014 17:34:09 GMT}{Server:
> Nexus/2.7.2-03}{Accept-Ranges: bytes}{Content-Type: text/html}{Set-Cookie:
> rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 18-Jun-2014 17:34:09
> GMT}{Vary: Accept-Encoding}{Keep-Alive: timeout=5, max=100}{Connection:
> Keep-Alive}{Transfer-Encoding: chunked}
> 18:34:09,569 | DEBUG | l Console Thread | Connection
> | 1 - org.ops4j.pax.url.mvn - 1.3.7 |   Could not download [Version [5.1.0]
> from URL [
> https://repository.apache.org/content/repositories/orgapacheservicemix-1012/org/apache/servicemix/examples/cxf-jaxrs/5.1.0/cxf-jaxrs-5.1.0.jar
> ]]
>
> Right now the Apache Maven Repo is returning an HTTP 503. Perhaps it could
> be all related...
>
> Regards,
>
> *Raúl Kripalani*
> Apache Camel PMC Member & Committer | Enterprise Architect, Open Source
> Integration specialist
> http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani
> http://blog.raulkr.net | twitter: @raulvk
>
> On Thu, Jun 19, 2014 at 6:03 PM, Krzysztof Sobkowiak <
> [email protected]> wrote:
>
>> Hi Raul
>>
>> Could you please test following configuration?
>>
>> org.ops4j.pax.url.mvn.repositories= \
>>     http://repo1.maven.org/maven2@id=maven.central.repo, \
>>
>>
>> http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases@id=apache.snapshots.repo
>> ,
>> \
>>     http://svn.apache.org/repos/asf/servicemix/m2-repo@id=maven.smx.repo,
>> \
>>
>>
>> https://repository.apache.org/content/repositories/orgapacheservicemix-1012@id=smx.stage.repo
>> ,
>> \
>>
>>
>> http://repository.springsource.com/maven/bundles/release@id=springsource.release.repo
>> ,
>> \
>>
>>
>> http://repository.springsource.com/maven/bundles/external@id=springsource.external.repo
>> ,
>> \
>>
>>
>> http://oss.sonatype.org/content/repositories/releases/@id=maven.sonatype.repo
>> ,
>> \
>>
>>
>> https://maven.alfresco.com/nexus/content/groups/public/@id=maven.alfresco.repo
>>
>> It works for me with no problem
>>
>>
>> Best regards
>> Krzysztof
>>
>> On 19.06.2014 18:28, Raul Kripalani wrote:
>>> features:install examples-cxf-jaxrs
>>>


-- 
Krzysztof Sobkowiak

JEE & OSS Architect | Technical Architect @ Capgemini
Capgemini <http://www.pl.capgemini.com/> | Software Solutions Center
<http://www.pl.capgemini-sdm.com/> | Wroclaw
e-mail: [email protected] <mailto:[email protected]> |
Twitter: @KSobkowiak
Calendar: goo.gl/yvsebC

Reply via email to