-
1. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
afilippov Apr 27, 2016 12:28 PM (in response to afilippov)Update:
I commented out org.ops4j.pax.url.mvn.repositories in default profile and added org.ops4j.pax.url.mvn.settings=C:\Program Files\apache-maven-3.3.9\conf\settings.xml there. In setting.xml I have <localRepository>C:\m2</localRepository> - but still no effect - all artifacts are taken from $user_home/.m2/repository.
Help appreciated.
-
2. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
grgrzybek Apr 28, 2016 2:17 AM (in response to afilippov)Hello Andrey
Please edit io.fabric8.maven.localRepository in default profile:
profile-edit --pid io.fabric8.maven/io.fabric8.maven.localRepository='/new/location' default
regards
Grzegorz Grzybek
-
3. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
afilippov Apr 28, 2016 3:59 AM (in response to grgrzybek)Hi Grzegorz!
Thanks for your reply. I applied settings you adviced:http://storage3.static.itmages.com/i/16/0428/h_1461830213_9067654_b639053fda.png but still no effect - all artifacts are taken from $user_home/.m2/repository..
-
4. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
grgrzybek Apr 28, 2016 4:53 AM (in response to afilippov)Andrey
Do you try 'osgi:install mvn:group/artifact/version' or does it happen during agent provisioning?
~Grzegorz
-
5. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
afilippov Apr 28, 2016 5:08 AM (in response to grgrzybek)Well - I have a custom bundle that exists in the $user_home/.m2/repository but does not in C:\m2. After new property set I just removed and added it again inside my profile. If property works then bundle should not be installed...
-
6. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
afilippov Apr 30, 2016 4:54 AM (in response to grgrzybek)Hi Grzegorz
I debugged a bit and found out that org.ops4j.pax.url.mvn.localRepository in io.fabric8.agent.properties of default profile rocks - thanks a lot!
-
7. Re: Maven org.ops4j.pax.url.mvn.localRepository in JBoss Fuse 6.2.1
grgrzybek May 4, 2016 12:52 AM (in response to afilippov)Great to hear Andrey!
best regards
Grzegorz