Skip to content

Commit

Permalink
[JBOSGI-474] Add Apache Felix SCR to distro
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Diesler committed Jul 5, 2011
1 parent 014688a commit 0e08b01
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 43 deletions.
4 changes: 4 additions & 0 deletions distribution/installer/pom.xml
Expand Up @@ -152,6 +152,10 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.metatype</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.webconsole</artifactId>
Expand Down
Expand Up @@ -160,10 +160,11 @@
<!-- default -->
<include name="jboss-osgi-common-core.jar" />
<include name="jboss-osgi-jmx.jar" />
<include name="org.apache.felix.configadmin.jar" />
<include name="org.apache.felix.eventadmin.jar" />
<include name="org.apache.aries.jmx.jar" />
<include name="org.apache.aries.util.jar" />
<include name="org.apache.felix.configadmin.jar" />
<include name="org.apache.felix.eventadmin.jar" />
<include name="org.apache.felix.scr.jar" />
</fileset>

<!-- Server Web -->
Expand All @@ -175,11 +176,12 @@
<!-- default -->
<include name="jboss-osgi-common-core.jar" />
<include name="jboss-osgi-jmx.jar" />
<include name="org.apache.aries.jmx.jar" />
<include name="org.apache.aries.util.jar" />
<include name="org.apache.felix.configadmin.jar" />
<include name="org.apache.felix.eventadmin.jar" />
<include name="org.apache.felix.scr.jar" />
<include name="org.apache.felix.webconsole.jar" />
<include name="org.apache.aries.jmx.jar" />
<include name="org.apache.aries.util.jar" />
<!-- web -->
<include name="org.apache.felix.metatype.jar" />
<include name="jboss-osgi-http.jar" />
Expand All @@ -196,11 +198,12 @@
<!-- default -->
<include name="jboss-osgi-common-core.jar" />
<include name="jboss-osgi-jmx.jar" />
<include name="org.apache.aries.jmx.jar" />
<include name="org.apache.aries.util.jar" />
<include name="org.apache.felix.configadmin.jar" />
<include name="org.apache.felix.eventadmin.jar" />
<include name="org.apache.felix.scr.jar" />
<include name="org.apache.felix.webconsole.jar" />
<include name="org.apache.aries.jmx.jar" />
<include name="org.apache.aries.util.jar" />
<!-- web -->
<include name="org.apache.felix.metatype.jar" />
<include name="jboss-osgi-http.jar" />
Expand Down
48 changes: 42 additions & 6 deletions pom.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- ====================================================================== -->
<!-- -->
<!-- JBoss, the OpenSource J2EE webOS -->
<!-- -->
<!-- Distributable under LGPL license. -->
<!-- See terms of license at http://www.gnu.org. -->
<!-- -->
<!-- -->
<!-- JBoss, the OpenSource J2EE webOS -->
<!-- -->
<!-- Distributable under LGPL license. -->
<!-- See terms of license at http://www.gnu.org. -->
<!-- -->
<!-- ====================================================================== -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down Expand Up @@ -49,6 +49,7 @@
<version.apache.felix.eventadmin>1.2.6</version.apache.felix.eventadmin>
<version.apache.felix.log>1.0.0</version.apache.felix.log>
<version.apache.felix.metatype>1.0.4</version.apache.felix.metatype>
<version.apache.felix.scr>1.6.0</version.apache.felix.scr>
<version.apache.felix.webconsole>3.1.6.SP1</version.apache.felix.webconsole>
<version.aqute.bnd.sp>0.0.365.SP1</version.aqute.bnd.sp>
<version.izpack>4.3.1</version.izpack>
Expand Down Expand Up @@ -318,16 +319,51 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.eventadmin</artifactId>
<version>${version.apache.felix.eventadmin}</version>
<exclusions>
<exclusion>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.log</artifactId>
<version>${version.apache.felix.log}</version>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.metatype</artifactId>
<version>${version.apache.felix.metatype}</version>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
<version>${version.apache.felix.scr}</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
Expand Down
1 change: 1 addition & 0 deletions testsuite/example/scripts/assembly-bundles.xml
Expand Up @@ -31,6 +31,7 @@
<include>*:org.apache.felix.eventadmin:jar</include>
<include>*:org.apache.felix.log:jar</include>
<include>*:org.apache.felix.metatype:jar</include>
<include>*:org.apache.felix.scr:jar</include>
</includes>
<useStrictFiltering>true</useStrictFiltering>
<scope>provided</scope>
Expand Down
Expand Up @@ -40,4 +40,5 @@ org.jboss.osgi.auto.start=\
file://${test.archive.directory}/bundles/jboss-osgi-jndi.jar, \
file://${test.archive.directory}/bundles/jbosgi-webapp.jar, \
file://${test.archive.directory}/bundles/jboss-osgi-xerces.jar, \
file://${test.archive.directory}/bundles/org.apache.felix.eventadmin.jar
file://${test.archive.directory}/bundles/org.apache.felix.eventadmin.jar, \
file://${test.archive.directory}/bundles/org.apache.felix.scr.jar
35 changes: 5 additions & 30 deletions testsuite/pom.xml
Expand Up @@ -69,16 +69,6 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.log</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Contains classes from org.osgi.util.tracker that must come after
the framework provided ones. Equinox chokes with SecurityException. <dependency>
Expand All @@ -88,31 +78,16 @@
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.eventadmin</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.metatype</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.compendium</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.osgi</groupId>
Expand Down

0 comments on commit 0e08b01

Please sign in to comment.