-
1. Re: Profile fails to download features from maven repository
ashish.mohan_ashish.mohan Feb 20, 2013 12:30 AM (in response to ashish.mohan_ashish.mohan)This is the exception I see on FMC UI when I click on provision status.
Provision Exception Trace: java.io.IOException: URL [mvn:/features/1.1-SNAPSHOT/xml/features] could not be resolved.
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:87)
... 9 more
Edited by: ashish.mohan on Feb 20, 2013 5:06 AM
Edited by: ashish.mohan on Feb 20, 2013 5:29 AM
-
2. Re: Profile fails to download features from maven repository
stlewis Feb 20, 2013 1:05 PM (in response to ashish.mohan_ashish.mohan)Try editing the "org.ops4j.pax.url.mvn.repositories" in the "default" profile that's set in the "org.fusesource.fabric.agent.properties" file under "Config Files" tab. This will change the setting used by the fabric provisioning agent. The settings under etc/ are really only for that one instance of the container.
-
3. Re: Profile fails to download features from maven repository
ashish.mohan_ashish.mohan Feb 22, 2013 4:36 PM (in response to stlewis)Thanks Stan.
After editing the "org.ops4j.pax.url.mvn.repositories" in the "default" profile that's set in the "org.fusesource.fabric.agent.properties" file under "Config Files" tab, my custom profile is now able to download feature url and features:listurl command shows my features url loaded as true. Also I can see all the features as uninstalled when I run features:list command.
However when I try to provision this profile to a remote container, it fails with below exception.
Provision Exception Trace: java.io.IOException: URL [mvn:/features/1.1-SNAPSHOT/xml/features] could not be resolved.
at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195)
at org.apache.karaf.features.internal.RepositoryImpl.load(RepositoryImpl.java:87)
... 9 more