Skip to content

Instantly share code, notes, and snippets.

@kjellski
Forked from criminy/install.sh
Created October 17, 2012 14:40
Show Gist options
  • Save kjellski/3905879 to your computer and use it in GitHub Desktop.
Save kjellski/3905879 to your computer and use it in GitHub Desktop.
A pax-run profile for karaf 2.3.0
mvn install:install-file -DgroupId=org.ops4j.pax.runner.profiles -DartifactId=karaf.shell -Dversion=2.3.0 -Dfile=karaf.shell.composite -Dpackaging=composite
############################################
# Pax Runner Profile for #
# Apache Karaf Shell (Console) 2.3.0 #
############################################
scan-bundle:mvn:org.ops4j.pax.url/pax-url-mvn/1.3.5
scan-bundle:mvn:org.ops4j.pax.url/pax-url-wrap/1.3.5
scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-api/1.7.0
scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-service/1.7.0
scan-bundle:mvn:org.apache.felix.configadmin/org.apache.felix.configadmin/1.4.0
scan-bundle:mvn:org.apache.felix.fileinstall/org.apache.felix.fileinstall/3.2.6
#
# The rest of the services..
#
scan-bundle:mvn:org.ow2.asm.asm-all/asm-all/4.0
scan-bundle:mvn:org.apache.aries.util/org.apache.aries.util/1.0.0
scan-bundle:mvn:org.apache.aries.proxy/org.apache.aries.proxy.api/1.0.0
scan-bundle:mvn:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.0
scan-bundle:mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.api/1.0.0
scan-bundle:mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.0.1
scan-bundle:mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.cm/1.0.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.console/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.osgi/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.log/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.packages/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.dev/2.3.0
scan-bundle:mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/2.3.0
scan-bundle:mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/2.3.0
scan-bundle:mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/2.3.0
scan-bundle:mvn:org.apache.karaf.features/org.apache.karaf.features.core/2.3.0
scan-bundle:mvn:org.apache.karaf.features/org.apache.karaf.features.command/2.3.0
scan-bundle:mvn:org.apache.karaf.features/org.apache.karaf.features.management/2.3.0
scan-bundle:mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/2.3.0
scan-bundle:mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.common/2.3.0
scan-bundle:mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.command/2.3.0
scan-bundle:mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.management/2.3.0
scan-bundle:mvn:org.apache.karaf.management/org.apache.karaf.management.server/2.3.0
scan-bundle:mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.0.0
scan-bundle:mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.0.1
scan-bundle:mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.api/1.0.0
scan-bundle:mvn:org.apache.aries.jmx/org.apache.aries.jmx.blueprint.core/1.0.1
scan-bundle:mvn:org.apache.karaf.admin/org.apache.karaf.admin.core/2.3.0
scan-bundle:mvn:org.apache.karaf.admin/org.apache.karaf.admin.command/2.3.0
scan-bundle:mvn:org.apache.karaf.admin/org.apache.karaf.admin.management/2.3.0
scan-bundle:mvn:org.apache.mina/mina-core.mina-core/2.0.7
scan-bundle:mvn:org.apache.sshd/sshd-core.sshd-core/0.8.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh.org.apache.karaf.shell.ssh/2.3.0
scan-bundle:mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/2.3.0
scan-bundle:mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/2.3.0
scan-bundle:mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/2.3.0
scan-bundle:mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/2.3.0
scan-bundle:mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/2.3.0
-Dkaraf.startLocalConsole=true
-Dkaraf.systemBundlesStartLevel=0
-Dkaraf.debug=false
# Required profiles
scan-bundle:mvn:org.apache.mina.mina-core/2.0.7
# Karaf Shell Additional
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.obr/2.3.0
scan-bundle:mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/2.3.0
scan-bundle:mvn:org.apache.felix/org.apache.felix.fileinstall/3.2.6
-Dkaraf.startRemoteShell=true
@kjellski
Copy link
Author

Somehow the profile is not working out. I don't know why but the runner seems to try to install the new version of management on an old management groupId artifactId combination... in here is the new one nevertheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment