Skip to content
Snippets Groups Projects
Commit fb950185 authored by Constantin Jucovschi's avatar Constantin Jucovschi
Browse files

first version

parent 27f46bca
No related branches found
No related tags found
No related merge requests found
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Defines if the startlvl should be respected during feature startup. The default value is false.
#
#respectStartLvlDuringFeatureStartup=false
#
# Comma separated list of features repositories to register by default
#
featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/2.3.5/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/2.3.5/xml/features,mvn:org.apache.servicemix/apache-servicemix/5.0.1/xml/internal,mvn:org.apache.servicemix/apache-servicemix/5.0.1/xml/features,mvn:org.apache.servicemix/apache-servicemix/5.0.1/xml/examples,mvn:org.apache.camel.karaf/apache-camel/2.12.3/xml/features,mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features,http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.ipojo.features/1.11.2/org.apache.felix.ipojo.features-1.11.2.xml,http://neptune.eecs.jacobs-university.de/features/sally.features.xml
#
# Comma separated list of features to install at startup
#
featuresBoot=config,kar,ssh,management,eventadmin,activemq-broker-noweb,jaxrs-api,activemq-camel,camel-cxf,camel-blueprint,activemq-service,war
#
# Defines if the boot features are started in asynchronous mode (in a dedicated thread)
#
featuresBootAsynchronous=false
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# If set to true, the following property will not allow any certificate to be used
# when accessing Maven repositories through SSL
#
#org.ops4j.pax.url.mvn.certificateCheck=
#
# Path to the local Maven settings file.
# The repositories defined in this file will be automatically added to the list
# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
# below is not set.
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=
#
# Path to the local Maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty( "user.home" ) + "/.m2/repository"
#
#org.ops4j.pax.url.mvn.localRepository=
#
# Default this to false. It's just weird to use undocumented repos
#
org.ops4j.pax.url.mvn.useFallbackRepositories=false
#
# Uncomment if you don't wanna use the proxy settings
# from the Maven conf/settings.xml file
#
# org.ops4j.pax.url.mvn.proxySupport=false
#
# Disable aether support by default. This ensure that the defaultRepositories
# below will be used
#
org.ops4j.pax.url.mvn.disableAether=true
#
# Comma separated list of repositories scanned when resolving an artifact.
# Those repositories will be checked before iterating through the
# below list of repositories and even before the local repository
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
# @id=reponid : the id for the repository, just like in the settings.xml this is optional but recomendet
#
# The following property value will add the system folder as a repo.
#
org.ops4j.pax.url.mvn.defaultRepositories=file:${karaf.home}/${karaf.default.repository}@snapshots@id=karaf.${karaf.default.repository},\
file:${karaf.home}/local-repo@snapshots@id=karaf.local-repo
#
# Comma separated list of repositories scanned when resolving an artifact.
# The default list includes the following repositories:
# http://repo1.maven.org/maven2
# http://repository.apache.org/content/groups/snapshots-group
# http://svn.apache.org/repos/asf/servicemix/m2-repo
# http://repository.springsource.com/maven/bundles/release
# http://repository.springsource.com/maven/bundles/external
# To add repositories to the default ones, prepend '+' to the list of repositories
# to add.
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
# @id=reponid : the id for the repository, just like in the settings.xml this is optional but recomendet
#
org.ops4j.pax.url.mvn.repositories= \
http://repo1.maven.org/maven2@id=maven.central.repo, \
http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases@id=apache.snapshots.repo, \
http://svn.apache.org/repos/asf/servicemix/m2-repo@id=maven.smx.repo, \
http://repository.springsource.com/maven/bundles/release@id=springsource.release.repo, \
http://repository.springsource.com/maven/bundles/external@id=springsource.external.repo, \
http://oss.sonatype.org/content/repositories/releases/@id=maven.sonatype.repo, \
https://maven.alfresco.com/nexus/content/groups/public/@id=maven.alfresco.repo, \
http://neptune.eecs.jacobs-university.de/maven@id=kwarc
This diff is collapsed.
cd servicemix
# removing any caches
rm -Rf data
cd etc
cp shell.init.script.orig shell.init.script
# make sure there is a new line in the end of the script
echo "" >> shell.init.script
echo "echo \"installing MathHub Workers. Might take some time ...\"" >> shell.init.script
# installs sally-mhw feature (that installs everything else)
echo "features:install \"sally-mhw\"" >> shell.init.script
# shut down karaf
echo "osgi:shutdown -f" >> shell.init.script
cd ../bin
./servicemix
cd ../etc
cp shell.init.script.orig shell.init.script
cd ../..
setup.sh 0 → 100755
# Downloads Servicemix and SOLR
wget http://mirrors.ae-online.de/apache/servicemix/servicemix-5/5.0.1/apache-servicemix-5.0.1.zip
wget http://ftp.fau.de/apache/lucene/solr/4.8.1/solr-4.8.1.tgz
# unzips them
unzip apache-servicemix-5.0.1.zip
tar xfz solr-4.8.1.tgz
# Renames for easier referencing afterwards
mv solr-4.8.1 solr
mv apache-servicemix-5.0.1 servicemix
# copying SOLR schema needed for MathHub Workers
cp conf/schema.xml solr/example/solr/collection1/conf
# copies maven repositories
cp conf/org.ops4j.pax.url.mvn.cfg servicemix/etc/org.ops4j.pax.url.mvn.cfg
# adds IPojo and sally features
cp conf/org.apache.karaf.features.cfg servicemix/etc/org.apache.karaf.features.cfg
# creates a back up of the original shell.init script
cp servicemix/etc/shell.init.script servicemix/etc/shell.init.script.orig
# update to the latest sally version
./sally_update.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment