karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Snapshots always updating on remote repository
Date Tue, 23 Aug 2016 17:04:10 GMT
Hi Andy,

Do you use bundle:update with the location:

bundle:update 1234 mvn:....

?

Regards
JB

On 08/23/2016 06:51 PM, AndyPhillips404 wrote:
> I am working on a docker environment of Karaf, which we use for development
> of our software modules.   We are unable to get the bundle:update to update
> from a remote location but only the first time (guessing its once a day)
> when we boot up the docker container.  It makes development a bit more
> challenging.   We are running the development in an isolated docker
> environment so the snapshots should be pulled from the local repository.
> Here are the settings of my mvn url (which i have tried to follow everything
> i see online).
>
> Any thoughts?  i've tried everything.   I am using a clean download of maven
> 3.3.9 and karaf 4.0.5
>
> Pid:            org.ops4j.pax.url.mvn
> BundleLocation: mvn:org.ops4j.pax.url/pax-url-aether/2.4.7
> Properties:
>    felix.fileinstall.filename =
> file:/opt/karaf/etc/org.ops4j.pax.url.mvn.cfg
>    org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote = false
>    org.ops4j.pax.url.mvn.defaultRepositories =
> file:/opt/karaf/system@id=system.repository@snapshots,
> file:/opt/karaf/data/kar@id=kar.repository@multi@snapshots,
> file:/opt/karaf/system@id=child.system.repository@snapshots
>    org.ops4j.pax.url.mvn.globalUpdatePolicy = always
>    org.ops4j.pax.url.mvn.proxySupport = false
>    org.ops4j.pax.url.mvn.repositories =
> http://repo1.maven.org/maven2@id=central,
> http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release,
> http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,
> http://zodiac.springsource.com/maven/bundles/release@id=gemini,
> http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases,
> https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases,
> https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,
> http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases,
> http://X:X@data.hdscores.com:8080/nexus/content/repositories/releases@id=hdscores_releases@releasesUpdate=always,
> http://X:X@data.hdscores.com:8080/nexus/content/repositories/snapshots@snapshots@id=hdscores_snapshots@snapshotsUpdate=always,
> https://awplab.com/nexus/content/repositories/snapshots@id=awplab_snapshots@snapshots@snapshotsUpdate=always,
> https://awplab.com/nexus/content/repositories/releases@id=awplab_releases@releasesUpdate=always
>    org.ops4j.pax.url.mvn.useFallbackRepositories = false
>    service.pid = org.ops4j.pax.url.mvn
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Snapshots-always-updating-on-remote-repository-tp4047629.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message