You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by dj...@apache.org on 2011/04/07 01:40:04 UTC

svn commit: r1089676 - in /karaf/trunk: ./ admin/core/ assemblies/ assemblies/apache-karaf-full/ assemblies/features/ assemblies/features/framework/src/main/filtered-resources/resources/etc/ assemblies/features/full/ assemblies/features/full/src/ assem...

Author: djencks
Date: Wed Apr  6 23:40:02 2011
New Revision: 1089676

URL: http://svn.apache.org/viewvc?rev=1089676&view=rev
Log:
KARAF-424 start setting up a full karaf kar and assembly. Use feature maven scope to determine if it has its bundles installed to system and startup.properties or if it is preregistered with the features service

Added:
    karaf/trunk/assemblies/apache-karaf-full/
    karaf/trunk/assemblies/apache-karaf-full/pom.xml   (with props)
    karaf/trunk/assemblies/features/full/
    karaf/trunk/assemblies/features/full/pom.xml   (with props)
    karaf/trunk/assemblies/features/full/src/
    karaf/trunk/assemblies/features/full/src/main/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt   (with props)
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/org.apache.karaf.features.cfg
    karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties   (with props)
    karaf/trunk/assemblies/features/full/src/main/resources/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/README
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties   (with props)
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.jaas.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.log.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.management.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.shell.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/shell.init.script
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties   (with props)
    karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties   (with props)
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/README
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/README
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/
    karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/README
Removed:
    karaf/trunk/assemblies/features/framework/src/main/filtered-resources/resources/etc/startup.properties
Modified:
    karaf/trunk/admin/core/pom.xml
    karaf/trunk/assemblies/features/pom.xml
    karaf/trunk/assemblies/pom.xml
    karaf/trunk/deployer/blueprint/pom.xml
    karaf/trunk/deployer/features/pom.xml
    karaf/trunk/deployer/wrap/pom.xml
    karaf/trunk/itests/kittests/pom.xml
    karaf/trunk/pom.xml
    karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java

Modified: karaf/trunk/admin/core/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/admin/core/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/admin/core/pom.xml (original)
+++ karaf/trunk/admin/core/pom.xml Wed Apr  6 23:40:02 2011
@@ -44,12 +44,6 @@
         </dependency>
 
         <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
             <scope>provided</scope>
@@ -57,11 +51,6 @@
 
         <dependency>
             <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.bundlerepository</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.utils</artifactId>
             <scope>provided</scope>
         </dependency>
@@ -72,26 +61,11 @@
         </dependency>
 
         <dependency>
-            <groupId>org.apache.karaf.shell</groupId>
-            <artifactId>org.apache.karaf.shell.obr</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.osgi</groupId>
-            <artifactId>spring-osgi-core</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.apache.servicemix.bundles</groupId>
             <artifactId>org.apache.servicemix.bundles.junit</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.easymock</groupId>
-            <artifactId>easymock</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-jdk14</artifactId>
             <scope>test</scope>

Added: karaf/trunk/assemblies/apache-karaf-full/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/apache-karaf-full/pom.xml?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/apache-karaf-full/pom.xml (added)
+++ karaf/trunk/assemblies/apache-karaf-full/pom.xml Wed Apr  6 23:40:02 2011
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        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.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.karaf.assemblies</groupId>
+        <artifactId>assemblies</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>apache-karaf-full</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache Karaf :: Assemblies :: full</name>
+
+    <properties>
+        <appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.karaf.assemblies.features</groupId>
+            <artifactId>karaf-framework</artifactId>
+            <type>kar</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.assemblies.features</groupId>
+            <artifactId>karaf-full</artifactId>
+            <type>kar</type>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.assemblies.features</groupId>
+            <artifactId>standard</artifactId>
+            <classifier>features</classifier>
+            <type>xml</type>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.assemblies.features</groupId>
+            <artifactId>enterprise</artifactId>
+            <classifier>features</classifier>
+            <type>xml</type>
+            <scope>runtime</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.karaf.tooling</groupId>
+                <artifactId>karaf-maven-plugin</artifactId>
+                <version>${project.version}</version>
+                <executions>
+                    <execution>
+                        <id>process-resources</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>install-kars</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>package</id>
+                        <goals>
+                            <goal>archive-server</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+</project>

Propchange: karaf/trunk/assemblies/apache-karaf-full/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/apache-karaf-full/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/apache-karaf-full/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: karaf/trunk/assemblies/features/full/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/pom.xml?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/pom.xml (added)
+++ karaf/trunk/assemblies/features/full/pom.xml Wed Apr  6 23:40:02 2011
@@ -0,0 +1,169 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <!--
+
+        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.
+    -->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.karaf.assemblies.features</groupId>
+        <artifactId>features</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>karaf-full</artifactId>
+    <packaging>pom</packaging>
+    <!--<packaging>kar</packaging>-->
+    <name>Apache Karaf :: Assemblies :: Full KAR</name>
+
+    <properties>
+        <appendedResourcesDirectory>$basedir}/../../../etc/appended-resources</appendedResourcesDirectory>
+    </properties>
+
+    <dependencies>
+
+        <!--<dependency>-->
+            <!--<groupId>org.apache.felix</groupId>-->
+            <!--<artifactId>org.apache.felix.bundlerepository</artifactId>-->
+        <!--</dependency>-->
+        <!--<dependency>-->
+            <!--<groupId>org.apache.felix</groupId>-->
+            <!--<artifactId>org.apache.felix.eventadmin</artifactId>-->
+        <!--</dependency>-->
+        <!--<dependency>-->
+            <!--<groupId>org.apache.felix</groupId>-->
+            <!--<artifactId>org.apache.felix.metatype</artifactId>-->
+        <!--</dependency>-->
+        <dependency>
+            <groupId>org.apache.karaf.admin</groupId>
+            <artifactId>org.apache.karaf.admin.core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.admin</groupId>
+            <artifactId>org.apache.karaf.admin.command</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.admin</groupId>
+            <artifactId>org.apache.karaf.admin.management</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.deployer</groupId>
+            <artifactId>org.apache.karaf.deployer.spring</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.deployer</groupId>
+            <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.deployer</groupId>
+            <artifactId>org.apache.karaf.deployer.features</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.deployer</groupId>
+            <artifactId>org.apache.karaf.deployer.kar</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.karaf.deployer</groupId>
+            <artifactId>org.apache.karaf.deployer.wrap</artifactId>
+        </dependency>
+        <!--<dependency>-->
+            <!--<groupId>org.apache.karaf.features</groupId>-->
+            <!--<artifactId>org.apache.karaf.features.obr</artifactId>-->
+        <!--</dependency>-->
+        <!--<dependency>-->
+            <!--<groupId>org.apache.karaf.shell</groupId>-->
+            <!--<artifactId>org.apache.karaf.shell.obr</artifactId>-->
+        <!--</dependency>-->
+        <dependency>
+            <groupId>org.apache.mina</groupId>
+            <artifactId>mina-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.sshd</groupId>
+            <artifactId>sshd-core</artifactId>
+        </dependency>
+    </dependencies>
+    <build>
+        <resources>
+            <resource>
+                <directory>${project.basedir}/src/main/resources</directory>
+                <filtering>false</filtering>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>${project.basedir}/src/main/filtered-resources</directory>
+                <filtering>true</filtering>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-resources-plugin</artifactId>
+                <configuration>
+                    <useDefaultDelimiters>false</useDefaultDelimiters>
+                    <delimiters>
+                        <delimiter>${*}</delimiter>
+                    </delimiters>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>filter</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>resources</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.karaf.tooling</groupId>
+                <artifactId>karaf-maven-plugin</artifactId>
+                <version>${project.version}</version>
+                <configuration>
+                    <startLevel>30</startLevel>
+                    <checkDependencyChange>true</checkDependencyChange>
+                    <overwriteChangedDependencies>true</overwriteChangedDependencies>
+                    <warnOnDependencyChange>true</warnOnDependencyChange>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>compile</id>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>generate-features-xml2</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>package</id>
+                        <goals>
+                            <goal>archive-kar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file

Propchange: karaf/trunk/assemblies/features/full/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt (added)
+++ karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt Wed Apr  6 23:40:02 2011
@@ -0,0 +1,109 @@
+/*
+ * 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.
+ */
+
+EMBEDDING KARAF IN A WEB APPLICATION
+====================================
+
+Purpose
+-------
+Embed Karaf in a web application.
+
+
+Prerequisites for Running the Example
+-------------------------------------
+You must have the following installed on your machine:
+
+  - JDK 1.5 or higher
+
+  - Maven 2.0.9 or higher
+
+
+Building and Deploying
+----------------------
+You can build and deploy this example in two ways:
+
+- A. Using Jetty: Quick and Easy
+  This option is useful if you want to see the example up and
+  running quickly.
+   
+- B. Using Your Favorite Web Container
+  This option is useful if you want to see Karaf running
+  as a web application inside your favorite web container.
+
+
+A. Using Jetty: Quick and Easy
+------------------------------
+To build the example and deploy to Jetty, complete the
+following steps:
+
+1. In a command prompt/shell, change to the directory
+   that contains this README.txt file.
+
+2. Enter the following Maven command:
+
+     mvn package jetty:run
+
+This Maven command builds the example web application, starts
+Jetty and deploys the web application to Jetty. Once complete,
+you should see the following printed to the console:
+
+[INFO] Started Jetty Server
+[INFO] Starting scanner at interval of 10 seconds.
+
+Running a Client
+----------------
+To test the example, you can use the Apache Karaf client
+to connect to the server and issue a Karaf command. For example,
+try executing the "features:list" command as follows:
+
+1. In a command prompt/shell, change to your product
+   installation directory.
+
+2. Run the following command:
+
+    java -jar lib/karaf-client.jar features:list
+
+In this case, you should see output similar to the following:
+
+State         Version       Name       Repository
+[uninstalled] [2.5.6.SEC01] spring     karaf-${project.version}
+[uninstalled] [1.2.0      ] spring-dm  karaf-${project.version}
+[uninstalled] [${pom.version}] wrapper    karaf-${pom.version}
+[uninstalled] [${pom.version}] obr        karaf-${pom.version}
+[uninstalled] [${pom.version}] http       karaf-${pom.version}
+[uninstalled] [${pom.version}] webconsole karaf-${pom.version}
+[installed  ] [${pom.version}] ssh        karaf-${pom.version}
+[installed  ] [${pom.version}] management karaf-${pom.version}
+
+
+B. Using Your Favorite Web Container
+------------------------------------
+You can deploy the web application to your favorite web
+container, by completing the following steps:
+
+1. In a command prompt/shell, change to the directory
+   that contains this README.txt file.
+   
+2. Enter the following command:
+
+     mvn package
+     
+Maven builds the web application, web-${project.version}.war, and
+saves it in the target directory of this example. Deploy this
+WAR file to your favorite web container. Once the application
+is running, you can test it using the Apache Karaf client
+as described in the "Running a Client" section above.

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/demos/web/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,28 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# Comma separated list of features repositories to register by default
+#
+featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${project.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${project.version}/xml/features
+
+#
+# Comma separated list of features to install at startup
+#
+featuresBoot=config,ssh,management

Added: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/org.apache.karaf.features.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/org.apache.karaf.features.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/org.apache.karaf.features.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/org.apache.karaf.features.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,29 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# Comma separated list of features repositories to register by default
+#
+#
+featuresRepositories=mvn:org.apache.karaf.assemblies.features/standard/${project.version}/xml/features,mvn:org.apache.karaf.assemblies.features/enterprise/${project.version}/xml/features
+
+#
+# Comma separated list of features to install at startup
+#
+featuresBoot=management

Added: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties (added)
+++ karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties Wed Apr  6 23:40:02 2011
@@ -0,0 +1,53 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+# This file allows you to control the start level of each bundle.
+#
+
+#
+# Startup core services like logging
+#
+org/ops4j/pax/url/pax-url-mvn/${pax.url.version}/pax-url-mvn-${pax.url.version}.jar=5
+org/ops4j/pax/url/pax-url-wrap/${pax.url.version}/pax-url-wrap-${pax.url.version}.jar=5
+org/ops4j/pax/logging/pax-logging-api/${pax.logging.version}/pax-logging-api-${pax.logging.version}.jar=8
+org/ops4j/pax/logging/pax-logging-service/${pax.logging.version}/pax-logging-service-${pax.logging.version}.jar=8
+org/apache/felix/org.apache.felix.configadmin/${felix.configadmin.version}/org.apache.felix.configadmin-${felix.configadmin.version}.jar=10
+org/apache/felix/org.apache.felix.fileinstall/${felix.fileinstall.version}/org.apache.felix.fileinstall-${felix.fileinstall.version}.jar=11
+
+#
+# The rest of the services..
+#
+org/apache/aries/blueprint/org.apache.aries.blueprint/${aries.blueprint.version}/org.apache.aries.blueprint-${aries.blueprint.version}.jar=20
+
+org/apache/karaf/shell/org.apache.karaf.shell.console/${project.version}/org.apache.karaf.shell.console-${project.version}.jar=30
+org/apache/karaf/shell/org.apache.karaf.shell.osgi/${project.version}/org.apache.karaf.shell.osgi-${project.version}.jar=30
+org/apache/karaf/shell/org.apache.karaf.shell.log/${project.version}/org.apache.karaf.shell.log-${project.version}.jar=30
+org/apache/karaf/shell/org.apache.karaf.shell.packages/${project.version}/org.apache.karaf.shell.packages-${project.version}.jar=30
+org/apache/karaf/shell/org.apache.karaf.shell.commands/${project.version}/org.apache.karaf.shell.commands-${project.version}.jar=30
+org/apache/karaf/shell/org.apache.karaf.shell.dev/${project.version}/org.apache.karaf.shell.dev-${project.version}.jar=30
+org/apache/karaf/jaas/org.apache.karaf.jaas.config/${project.version}/org.apache.karaf.jaas.config-${project.version}.jar=30
+org/apache/karaf/jaas/org.apache.karaf.jaas.modules/${project.version}/org.apache.karaf.jaas.modules-${project.version}.jar=30
+org/apache/karaf/jaas/org.apache.karaf.jaas.command/${project.version}/org.apache.karaf.jaas.command-${project.version}.jar=30
+org/apache/karaf/features/org.apache.karaf.features.core/${project.version}/org.apache.karaf.features.core-${project.version}.jar=30
+org/apache/karaf/features/org.apache.karaf.features.command/${project.version}/org.apache.karaf.features.command-${project.version}.jar=30
+org/apache/karaf/features/org.apache.karaf.features.management/${project.version}/org.apache.karaf.features.management-${project.version}.jar=30
+
+org/apache/karaf/org.apache.karaf.management/${project.version}/org.apache.karaf.management-${project.version}.jar=30
+org/apache/aries/jmx/org.apache.aries.jmx/${aries.jmx.version}/org.apache.aries.jmx-${aries.jmx.version}.jar=30
+org/apache/aries/jmx/org.apache.aries.jmx.blueprint/${aries.jmx.version}/org.apache.aries.jmx.blueprint-${aries.jmx.version}.jar=30

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/src/main/filtered-resources/resources/minimal/startup.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/README
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/README?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/README (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/deploy/README Wed Apr  6 23:40:02 2011
@@ -0,0 +1,18 @@
+/*
+ * 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.
+ */
+
+This folder can be used to deploy artifacts into the OSGi framework.

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties Wed Apr  6 23:40:02 2011
@@ -0,0 +1,23 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+# Empty java.util.logging.properties to prevent the log to stderr, so that
+# all logs will be delegated to pax logging JUL handler only
+
+

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/java.util.logging.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,22 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+felix.fileinstall.dir     = ${karaf.base}/deploy
+felix.fileinstall.tmpdir  = ${karaf.data}/generated-bundles
+felix.fileinstall.poll    = 1000

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.jaas.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.jaas.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.jaas.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.jaas.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,61 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# Boolean enabling / disabling encrypted passwords
+#
+encryption.enabled = false
+
+#
+# Encryption Service name
+#   the default one is 'basic'
+#   a more powerful one named 'jasypt' is available
+#       when installing the encryption feature
+#
+encryption.name =
+
+#
+# Encryption prefix
+#
+encryption.prefix = {CRYPT}
+
+#
+# Encryption suffix
+#
+encryption.suffix = {CRYPT}
+
+#
+# Set the encryption algorithm to use in Karaf JAAS login module
+# Supported encryption algorithms follow:
+#   MD2
+#   MD5
+#   SHA-1
+#   SHA-256
+#   SHA-384
+#   SHA-512
+#
+encryption.algorithm = MD5
+
+#
+# Encoding of the encrypted password.
+# Can be:
+#   hexadecimal
+#   base64
+#
+encryption.encoding = hexadecimal

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.log.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.log.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.log.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.log.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,36 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# This configuration file is used to configure the default values for the log:display
+# and log:display-exception commands.
+#
+
+#
+# The number of log statements to be displayed using log:display. It also defines the number
+# of lines searched for exceptions using log:display exception. You can override this value
+# at runtime using -n in log:display.
+#
+size = 500
+
+#
+# The pattern used to format the log statement when using log:display. This pattern is according
+# to the log4j layout. You can override this parameter at runtime using log:display with -p.
+#
+pattern = %d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.management.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.management.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.management.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.management.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,57 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# The properties in this file define the configuration of Apache Karafs JMX Management
+#
+
+#
+# Port of the registry for the exported RMI service
+#
+rmiRegistryPort = 1099
+
+#
+# Port of the registry for the exported RMI service
+#
+rmiServerPort = 44444
+
+#
+# Name of the JAAS realm used for authentication
+#
+jmxRealm = karaf
+
+#
+# The service URL for the JMXConnectorServer
+#
+serviceUrl = service:jmx:rmi://localhost:${rmiServerPort}/jndi/rmi://localhost:${rmiRegistryPort}/karaf-${karaf.name}
+
+#
+# Whether any threads started for the JMXConnectorServer should be started as daemon threads
+#
+daemon = true
+
+#
+# Whether the JMXConnectorServer should be started in a separate thread
+#
+threaded = true
+
+#
+# The ObjectName used to register the JMXConnectorServer
+#
+objectName = connector:name=rmi

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.shell.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.shell.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.shell.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.apache.karaf.shell.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,39 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# These properties are used to configure karafs ssh shell.
+#
+
+#
+# Via sshPort and sshHost you define at which address you can login into karaf.
+#
+sshPort=8101
+sshHost=0.0.0.0
+
+#
+# sshRealm defines which jaas domain to use for password authentication.
+#
+sshRealm=karaf
+
+#
+# The location of the hostKey file defines where the private/public key of the server
+# could be found. If no file is at the defined location it will be ignored.
+#
+hostKey=${karaf.base}/etc/host.key

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.logging.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,47 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+# Root logger
+log4j.rootLogger=INFO, out, osgi:VmLogAppender
+log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.RollingFileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
+log4j.appender.out.file=${karaf.data}/log/karaf.log
+log4j.appender.out.append=true
+log4j.appender.out.maxFileSize=1MB
+log4j.appender.out.maxBackupIndex=10
+
+# Sift appender
+log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
+log4j.appender.sift.key=bundle.name
+log4j.appender.sift.default=karaf
+log4j.appender.sift.appender=org.apache.log4j.FileAppender
+log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
+log4j.appender.sift.appender.layout.ConversionPattern=%d{ABSOLUTE} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %m%n
+log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
+log4j.appender.sift.appender.append=true
+

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/org.ops4j.pax.url.mvn.cfg Wed Apr  6 23:40:02 2011
@@ -0,0 +1,96 @@
+################################################################################
+#
+#    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 are behind a web proxy. PAX URL will use the proxy settings
+# from the Maven conf/settings.xml file
+#
+# org.ops4j.pax.url.mvn.proxySupport=true
+
+#
+# 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
+#
+# 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, \
+	file:${karaf.home}/local-repo@snapshots
+
+#
+# Comma separated list of repositories scanned when resolving an artifact.
+# The default list includes the following repositories:
+#    http://repo1.maven.org/maven2
+#    http://repository.ops4j.org/maven2
+# 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
+#
+org.ops4j.pax.url.mvn.repositories= \
+    http://repo1.maven.org/maven2, \
+    http://repository.apache.org/content/groups/snapshots-group@snapshots@noreleases, \
+    http://repository.ops4j.org/maven2, \
+    http://svn.apache.org/repos/asf/servicemix/m2-repo, \
+    http://repository.springsource.com/maven/bundles/release, \
+    http://repository.springsource.com/maven/bundles/external
+

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/shell.init.script
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/shell.init.script?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/shell.init.script (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/shell.init.script Wed Apr  6 23:40:02 2011
@@ -0,0 +1,25 @@
+//
+// 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.
+//
+// This script is run each time a shell is created.
+// You can define here closures or variables that will be available
+// in each session.
+//
+ld = { log:display $args } ;
+lde = { log:display-exception $args } ;
+la = { osgi:list -t 0 $args } ;
\ No newline at end of file

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties Wed Apr  6 23:40:02 2011
@@ -0,0 +1,75 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# The properties defined in this file will be made available through system
+# properties at the very beginning of the Karaf's boot process.
+#
+
+
+# Log level when the pax-logging service is not available
+# This level will only be used while the pax-logging service bundle
+# is not fully available.
+# To change log levels, please refer to the org.ops4j.pax.logging.cfg file
+# instead.
+org.ops4j.pax.logging.DefaultServiceLog.level=ERROR
+
+#
+# Name of this karaf instance.
+#
+karaf.name=root
+
+#
+# Default repository where bundles will be loaded from before using
+# other maven repositories.  For the full maven configuration, see
+# the org.ops4j.pax.url.mvn.cfg file.
+#
+karaf.default.repository=system
+
+#
+# Location of a shell script that will be run when starting a shell
+# session.  This script can be used to create aliases and define
+# additional commands.
+#
+karaf.shell.init.script=${karaf.home}/etc/shell.init.script
+
+#
+# Default role name used for console authorization (JMX, SSH and WEB)
+# The syntax is the following:
+#   [classname:]principal
+# where classname is the class name of the principal object
+# (defaults to org.apache.karaf.jaas.modules.RolePrincipal)
+# and principal is the name of the principal of that class
+# (defaults to admin).
+#
+# Note that this value can be overriden using the various ConfigAdmin
+# configurations for JMX, SSH or the WebConsole.
+#
+karaf.admin.role=admin
+
+#
+# Set this empty property to avoid errors when validating xml documents.
+#
+xml.catalog.files=
+
+#
+# Suppress the bell in the console when hitting backspace too many times
+# for example
+#
+jline.nobell=true

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/system.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties Wed Apr  6 23:40:02 2011
@@ -0,0 +1,30 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+#
+# This file contains the users valid to log into karaf. Each line have to be of
+# the format:
+#
+# USER=PASSWORD,ROLE1,ROLE2,...
+#
+# All users and roles entered in this file are available after karaf's startup
+# and modifiable via the jaas command group. These users reside in a jaas domain
+# with the name karaf.
+#
+karaf=karaf,admin

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: karaf/trunk/assemblies/features/full/src/main/resources/resources/etc/users.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/README
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/README?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/README (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/README Wed Apr  6 23:40:02 2011
@@ -0,0 +1,27 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+This directory is the standard java classpath directory.
+Any jar in this folder will be part of the main classloader used to load Karaf.
+However, in OSGi, classes defined in this jar won't be available to other bundles
+unless one of the org.osgi.framework.system.packages.extra or
+org.osgi.framework.bootdelegation property in the etc/config.properties file
+is modified to export or delegate the packages.
+Please refer to the OSGi Core Specification for more informations on those
+properties and the OSGi classloading mechanism.

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/README
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/README?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/README (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/endorsed/README Wed Apr  6 23:40:02 2011
@@ -0,0 +1,23 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+This directory is the java endorsed directory.
+Any jar in this folder will be used to override classes defined by the JVM.
+For more informations, see:
+   http://java.sun.com/j2se/1.5.0/docs/guide/standards/

Added: karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/README
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/README?rev=1089676&view=auto
==============================================================================
--- karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/README (added)
+++ karaf/trunk/assemblies/features/full/src/main/resources/resources/lib/ext/README Wed Apr  6 23:40:02 2011
@@ -0,0 +1,23 @@
+################################################################################
+#
+#    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.
+#
+################################################################################
+
+This directory is the java extension directory.
+Any jar in this folder will be used as a JVM extension.
+For more informations, see
+   http://java.sun.com/j2se/1.5.0/docs/guide/extensions/spec.html

Modified: karaf/trunk/assemblies/features/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/features/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/assemblies/features/pom.xml (original)
+++ karaf/trunk/assemblies/features/pom.xml Wed Apr  6 23:40:02 2011
@@ -34,6 +34,7 @@
 
     <modules>
         <module>framework</module>
+        <module>full</module>
         <module>standard</module>
         <module>enterprise</module>
     </modules>

Modified: karaf/trunk/assemblies/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/assemblies/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/assemblies/pom.xml (original)
+++ karaf/trunk/assemblies/pom.xml Wed Apr  6 23:40:02 2011
@@ -36,6 +36,7 @@
         <module>features</module>
         <module>apache-karaf</module>
         <module>apache-karaf-minimal</module>
+        <module>apache-karaf-full</module>
     </modules>
 
 </project>

Modified: karaf/trunk/deployer/blueprint/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/deployer/blueprint/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/deployer/blueprint/pom.xml (original)
+++ karaf/trunk/deployer/blueprint/pom.xml Wed Apr  6 23:40:02 2011
@@ -41,6 +41,7 @@
         <dependency>
             <groupId>org.apache.karaf</groupId>
             <artifactId>org.apache.karaf.util</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>

Modified: karaf/trunk/deployer/features/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/deployer/features/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/deployer/features/pom.xml (original)
+++ karaf/trunk/deployer/features/pom.xml Wed Apr  6 23:40:02 2011
@@ -41,6 +41,7 @@
         <dependency>
             <groupId>org.apache.karaf</groupId>
             <artifactId>org.apache.karaf.util</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>

Modified: karaf/trunk/deployer/wrap/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/deployer/wrap/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/deployer/wrap/pom.xml (original)
+++ karaf/trunk/deployer/wrap/pom.xml Wed Apr  6 23:40:02 2011
@@ -41,6 +41,7 @@
         <dependency>
             <groupId>org.apache.karaf</groupId>
             <artifactId>org.apache.karaf.util</artifactId>
+            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>

Modified: karaf/trunk/itests/kittests/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/itests/kittests/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/itests/kittests/pom.xml (original)
+++ karaf/trunk/itests/kittests/pom.xml Wed Apr  6 23:40:02 2011
@@ -44,15 +44,17 @@
               which would lead to java.lang.RuntimeException: Could not create [service.obr] -->
         <dependency>
             <groupId>org.apache.karaf.assemblies</groupId>
-            <artifactId>apache-karaf</artifactId>
+            <artifactId>apache-karaf-full</artifactId>
             <type>tar.gz</type>
+            <classifier>bin</classifier>
             <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.apache.karaf.assemblies</groupId>
-            <artifactId>apache-karaf</artifactId>
+            <artifactId>apache-karaf-full</artifactId>
             <type>zip</type>
+            <classifier>bin</classifier>
             <scope>test</scope>
         </dependency>
 
@@ -109,8 +111,9 @@
                             <artifactItems>
                                 <artifactItem>
                                     <groupId>org.apache.karaf.assemblies</groupId>
-                                    <artifactId>apache-karaf</artifactId>
+                                    <artifactId>apache-karaf-full</artifactId>
                                     <type>tar.gz</type>
+                                    <classifier>bin</classifier>
                                     <outputDirectory>target/distributions</outputDirectory>
                                     <destFileName>karaf.tar.gz</destFileName>
                                 </artifactItem>
@@ -127,8 +130,9 @@
                             <artifactItems>
                                 <artifactItem>
                                     <groupId>org.apache.karaf.assemblies</groupId>
-                                    <artifactId>apache-karaf</artifactId>
+                                    <artifactId>apache-karaf-full</artifactId>
                                     <type>zip</type>
+                                    <classifier>bin</classifier>
                                     <outputDirectory>target/distributions</outputDirectory>
                                     <destFileName>karaf.zip</destFileName>
                                 </artifactItem>

Modified: karaf/trunk/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/pom.xml?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/pom.xml (original)
+++ karaf/trunk/pom.xml Wed Apr  6 23:40:02 2011
@@ -470,6 +470,34 @@
                 <version>${project.version}</version>
             </dependency>
             <dependency>
+                <groupId>org.apache.karaf.assemblies</groupId>
+                <artifactId>apache-karaf-full</artifactId>
+                <type>tar.gz</type>
+                <classifier>bin</classifier>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.karaf.assemblies</groupId>
+                <artifactId>apache-karaf-full</artifactId>
+                <type>zip</type>
+                <classifier>bin</classifier>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.karaf.assemblies</groupId>
+                <artifactId>apache-karaf-minimal</artifactId>
+                <type>tar.gz</type>
+                <classifier>bin</classifier>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.karaf.assemblies</groupId>
+                <artifactId>apache-karaf-minimal</artifactId>
+                <type>zip</type>
+                <classifier>bin</classifier>
+                <version>${project.version}</version>
+            </dependency>
+            <dependency>
               <groupId>org.apache.karaf.assemblies.features</groupId>
               <artifactId>standard</artifactId>
               <type>xml</type>
@@ -478,6 +506,18 @@
             </dependency>
             <dependency>
               <groupId>org.apache.karaf.assemblies.features</groupId>
+              <artifactId>karaf-framework</artifactId>
+              <type>kar</type>
+              <version>${project.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.apache.karaf.assemblies.features</groupId>
+              <artifactId>karaf-full</artifactId>
+              <type>kar</type>
+              <version>${project.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.apache.karaf.assemblies.features</groupId>
               <artifactId>enterprise</artifactId>
               <type>xml</type>
               <classifier>features</classifier>
@@ -1101,6 +1141,11 @@
             <plugins>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-install-plugin</artifactId>
+                    <version>2.3.1</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-eclipse-plugin</artifactId>
                     <version>2.4</version>
                     <configuration>

Modified: karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java?rev=1089676&r1=1089675&r2=1089676&view=diff
==============================================================================
--- karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java (original)
+++ karaf/trunk/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java Wed Apr  6 23:40:02 2011
@@ -95,10 +95,17 @@ public class InstallKarsMojo extends Moj
     protected File startupPropertiesFile;
 
     /**
+     * default start level for bundles in features that dont' specify it
+     *
+     * @parameter
+     */
+    protected int defaultStartLevel = 30;
+
+    /**
      * if false, unpack to system and add bundles to startup.properties
      * if true, unpack to local-repo and add feature to features config
      *
-     * @parameter
+//     * @parameter
      */
     protected boolean unpackToLocalRepo;
 
@@ -165,15 +172,16 @@ public class InstallKarsMojo extends Moj
         }
         KarArtifactInstaller installer = new KarArtifactInstaller();
         installer.setBasePath(workDirectory);
-        repoPath = unpackToLocalRepo ? localRepoDirectory : systemDirectory;
-        installer.setLocalRepoPath(repoPath);
         FeaturesService featuresService = new OfflineFeaturesService();
         installer.setFeaturesService(featuresService);
         installer.init();
         Collection<Artifact> dependencies = project.getDependencyArtifacts();
         StringBuilder buf = new StringBuilder();
         for (Artifact artifact: dependencies) {
-            if ("kar".equals(artifact.getType()) && "compile".equals(artifact.getScope())) {
+            unpackToLocalRepo = "runtime".equals(artifact.getScope());
+            repoPath = unpackToLocalRepo ? localRepoDirectory : systemDirectory;
+            installer.setLocalRepoPath(repoPath);
+            if ("kar".equals(artifact.getType()) && acceptScope(artifact)) {
                 File file = artifact.getFile();
                 try {
                     installer.install(file);
@@ -182,7 +190,7 @@ public class InstallKarsMojo extends Moj
                     buf.append(e.getMessage()).append("\n\n");
                 }
             }
-            if ("features".equals(artifact.getClassifier()) && "compile".equals(artifact.getScope())) {
+            if ("features".equals(artifact.getClassifier()) && acceptScope(artifact)) {
                 File file = artifact.getFile();
                 try {
                     featuresService.addRepository(file.toURI());
@@ -193,10 +201,11 @@ public class InstallKarsMojo extends Moj
             }
         }
 
+        //install bundles in startup properties that weren't in kars
         byte[] buffer = new byte[4096];
         for (String key: startupProperties.keySet()) {
             String path = fromMaven(key);
-            File target = new File(repoPath + "/" + path);
+            File target = new File(systemDirectory + "/" + path);
             if (!target.exists()) {
                 target.getParentFile().mkdirs();
                 File source = resolve(key);
@@ -231,6 +240,10 @@ public class InstallKarsMojo extends Moj
         }
     }
 
+    private boolean acceptScope(Artifact artifact) {
+        return "compile".equals(artifact.getScope()) || "runtime".equals(artifact.getScope());
+    }
+
     /**
      * Copied from Main class
      * Returns a path for an srtifact.
@@ -348,7 +361,7 @@ public class InstallKarsMojo extends Moj
                     List<String> comment = Arrays.asList(new String[] {"", "# feature: " + feature.getName() + " version: " + feature.getVersion()});
                     for (Bundle bundle: feature.getBundle()) {
                         String location = bundle.getLocation();
-                        String startLevel = Integer.toString(bundle.getStartLevel());
+                        String startLevel = Integer.toString(bundle.getStartLevel() == 0? defaultStartLevel: bundle.getStartLevel());
                         if (startupProperties.containsKey(location)) {
                             int oldStartLevel = Integer.decode(startupProperties.get(location));
                             if (oldStartLevel > bundle.getStartLevel()) {