karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: aries-blueprint
Date Mon, 31 Aug 2015 18:43:36 GMT
You can define aries-blueprint as a boot features by update 
etc/org.apache.karaf.features.cfg.

Regards
JB

On 08/31/2015 08:35 PM, development@mobigov.com wrote:
> Aries-blueprint doesn't seem to be a prerequisite in camels features.xml
> but it is required for the camel feature in karaf 4.0.1.
>   http://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/2.15.3/apache-camel-2.15.3-features.xml
 Is there a way in my test to make sure that aries-blueprint is loaded before camel.
>
>
> MavenArtifactUrlReference karafUrl =
> CoreOptions.maven().groupId("org.apache.karaf").artifactId("apache-karaf").version("4.0.1").type("tar.gz");
>
> MavenUrlReference karafStandardRepo = CoreOptions.maven()
> .groupId("org.apache.karaf.features")
> .artifactId("standard")
> .version("4.0.1")
> .classifier("features")
> .type("xml");
>
>
> MavenUrlReference karafCxfRepo = CoreOptions.maven()
> .groupId("org.apache.cxf.karaf")
> .artifactId("apache-cxf")
> .version("3.1.2")
> .classifier("features")
> .type("xml");
>
> MavenUrlReference karafCamelRepo = CoreOptions.maven()
> .groupId("org.apache.camel.karaf")
> .artifactId("apache-camel")
> .version("2.15.3")
> .classifier("features")
> .type("xml");
>
>
> return new Option[]{
> KarafDistributionOption.karafDistributionConfiguration().frameworkUrl(karafUrl).name("Apache
> Karaf").
> unpackDirectory(new File("target/paxexam/unpack")).useDeployFolder(false),
> KarafDistributionOption.keepRuntimeFolder(),
>
> CoreOptions.systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("DEBUG"),
> CoreOptions.repository("http://artifactory.orbistechnologies.com/artifactory/repo").id("orbis").allowSnapshots(),
>
> KarafDistributionOption.editConfigurationFilePut(CustomProperties.KARAF_FRAMEWORK,
> "felix"),
> // disable JMX RBAC security, thanks to the KarafMBeanServerBuilder
> KarafDistributionOption.configureSecurity().disableKarafMBeanServerBuilder(),
> KarafDistributionOption.logLevel(LogLevel.INFO),
> KarafDistributionOption.features(karafStandardRepo, "wrap"),
> KarafDistributionOption.features(karafStandardRepo, "aries-blueprint"),
> KarafDistributionOption.features(karafStandardRepo, "shell"),
> KarafDistributionOption.features(karafStandardRepo, "shell-compat"),
> KarafDistributionOption.features(karafStandardRepo, "feature"),
> KarafDistributionOption.features(karafStandardRepo, "jaas"),
> KarafDistributionOption.features(karafStandardRepo, "ssh"),
> KarafDistributionOption.features(karafStandardRepo, "management"),
> KarafDistributionOption.features(karafStandardRepo, "bundle"),
> KarafDistributionOption.features(karafStandardRepo, "config"),
> KarafDistributionOption.features(karafStandardRepo, "deployer"),
> KarafDistributionOption.features(karafStandardRepo, "diagnostic"),
> KarafDistributionOption.features(karafStandardRepo, "feature"),
> KarafDistributionOption.features(karafStandardRepo, "instance"),
> KarafDistributionOption.features(karafStandardRepo, "kar"),
> KarafDistributionOption.features(karafStandardRepo, "log"),
> KarafDistributionOption.features(karafStandardRepo, "package"),
> KarafDistributionOption.features(karafStandardRepo, "service"),
> KarafDistributionOption.features(karafStandardRepo, "system"),
> KarafDistributionOption.features(karafStandardRepo, "war"),
> KarafDistributionOption.features(karafStandardRepo, "webconsole"),
> KarafDistributionOption.features(karafStandardRepo, "scr"),
> KarafDistributionOption.features(karafStandardRepo, "transaction"),
> KarafDistributionOption.features(karafCxfRepo, "cxf-jaxrs"),
> KarafDistributionOption.features(karafCamelRepo, "camel"),
> KarafDistributionOption.features(karafFitRepo, "hazelcast"),
> KarafDistributionOption.features(karafFitRepo, "rest-socket"),
> KarafDistributionOption.features(karafFitRepo, "hadoop")
> };
> }
>

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

Mime
View raw message