[
https://issues.apache.org/jira/browse/SM-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063347#comment-14063347
]
Anthony Massé commented on SM-2337:
-----------------------------------
Hi,
Since few weeks, I'm facing to the same issue with servicemix 4.4.2 (but no
time to search/resolve the problem)
karaf@root> install mvn:xxx.yyy/zzz/0.0.4-SNAPSHOT
Bundle ID: 184
karaf@root> install mvn:xxx.yyy/zzz/0.0.3
java.util.zip.ZipException: error in opening zip file
----
I also tried with SMX 5.x and same issue.
----
But after several hypotheses/theories I found the problem (but I don't
understand why !!! ):
We have to build the "org.ops4j.pax.url.mvn.repositories" string variable with
our nexus repository BEFORE the
"http://oss.sonatype.org/content/repositories/releases/" reference (or remove
this one).
karaf@root> install mvn:xxx.yyy/zzz/0.0.3
Bundle ID: 185
---
Note : with SMX 5.1.0, the repository to set in last (or remove) is
"http://oss.sonatype.org/content/repositories/releases/@id=maven.sonatype.repo,
\"
Regards
Anthony
> Can't install release bundles from a custom repository
> ------------------------------------------------------
>
> Key: SM-2337
> URL: https://issues.apache.org/jira/browse/SM-2337
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 5.0.2, 5.1.0
> Reporter: Eduardo León García
> Labels: servicemix
>
> When I've tried to install somes releases from our own repository, the bundle
> isn't being resolved. When I change it to the snapshot version there isn't
> problem and when I use the wrap protocol neither, but is not ideal.
> It could be that there is something new that we don't know or something. I
> hope you can help us.
> Thanks in advance
--
This message was sent by Atlassian JIRA
(v6.2#6252)