[jboss-osgi-commits] JBoss-OSGI SVN: r91402 - projects/jboss-osgi/projects/parent/trunk.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Sat Jul 18 09:49:19 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-07-18 09:49:19 -0400 (Sat, 18 Jul 2009)
New Revision: 91402

Modified:
   projects/jboss-osgi/projects/parent/trunk/pom.xml
Log:
Decouple reactor projects from jboss-osgi

Modified: projects/jboss-osgi/projects/parent/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/projects/parent/trunk/pom.xml	2009-07-18 13:49:01 UTC (rev 91401)
+++ projects/jboss-osgi/projects/parent/trunk/pom.xml	2009-07-18 13:49:19 UTC (rev 91402)
@@ -15,6 +15,8 @@
   <!-- Properties -->
   <properties>
     <version.aqute.bnd>0.0.323</version.aqute.bnd>
+    <version.jboss.logging>2.0.5.GA</version.jboss.logging>
+    <version.junit>4.6</version.junit>
   </properties>
 
   <!-- DependencyManagement -->
@@ -25,11 +27,21 @@
         <artifactId>bnd</artifactId>
         <version>${version.aqute.bnd}</version>
       </dependency>
+      <dependency>
+        <groupId>org.jboss.logging</groupId>
+        <artifactId>jboss-logging-log4j</artifactId>
+        <version>${version.jboss.logging}</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${version.junit}</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
   
+  <!-- Build -->
   <build>
-    <!-- Plugins -->
     <plugins>
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -197,6 +209,226 @@
 
   <!-- Profiles -->
   <profiles>
+  
+    <!--
+      Name: no-jboss-bind-address
+      Desc: Set the default jboss.bind.address
+    -->
+    <profile>
+      <id>no-jboss-bind-address</id>
+      <activation>
+        <property>
+          <name>!jboss.bind.address</name>
+        </property>
+      </activation>
+      <properties>
+        <jboss.bind.address>localhost</jboss.bind.address>
+      </properties>
+    </profile>
+    
+    <!--
+      Name: framework-default 
+      Descr: Setup for default framework integration testing
+    -->
+    <profile>
+      <id>framework-default</id>
+      <activation>
+        <property>
+          <name>!framework</name>
+        </property>
+      </activation>
+      <properties>
+        <jboss.osgi.framework.properties>jboss-osgi-felix.properties</jboss.osgi.framework.properties>
+      </properties>
+    </profile>
+
+    <!--
+      Name: framework-felix 
+      Descr: Setup for Felix framework integration testing
+    -->
+    <profile>
+      <id>framework-felix</id>
+      <activation>
+        <property>
+          <name>framework</name>
+          <value>felix</value>
+        </property>
+      </activation>
+      <properties>
+        <jboss.osgi.framework.properties>jboss-osgi-felix.properties</jboss.osgi.framework.properties>
+      </properties>
+    </profile>
+
+    <!--
+      Name: framework-equinox
+      Descr: Setup for Equinox framework integration testing
+    -->
+    <profile>
+      <id>framework-equinox</id>
+      <activation>
+        <property>
+          <name>framework</name>
+          <value>equinox</value>
+        </property>
+      </activation>
+      <properties>
+        <jboss.osgi.framework.properties>jboss-osgi-equinox.properties</jboss.osgi.framework.properties>
+      </properties>
+    </profile>
+
+    <!--
+      Name: framework-knopflerfish
+      Descr: Setup for Knopflerfish framework integration testing
+    -->
+    <profile>
+      <id>framework-knopflerfish</id>
+      <activation>
+        <property>
+          <name>framework</name>
+          <value>knopflerfish</value>
+        </property>
+      </activation>
+      <properties>
+        <jboss.osgi.framework.properties>jboss-osgi-knopflerfish.properties</jboss.osgi.framework.properties>
+      </properties>
+    </profile>
+    
+    <!--
+      Name: embedded-testing 
+      Descr: Setup for embedded integration testing
+    -->
+    <profile>
+      <id>embedded-testing</id>
+      <activation>
+        <property>
+          <name>!target.container</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <!--
+                  You can copy these properties in Eclipse to debug example tests
+                  
+                  -Djava.protocol.handler.pkgs=org.jboss.net.protocol|org.jboss.virtual.protocol
+                  -Djndi.server.port=1199
+                  -Dlog4j.output.dir=${workspace_loc:jboss-osgi-testsuite-example/target}
+                  -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeAwareParserConfiguration
+                  -Djboss.osgi.framework.properties=jboss-osgi-felix.properties
+                  -Dorg.jboss.osgi.husky.Invoker=org.jboss.osgi.husky.internal.OSGiInvoker
+                  -Dtest.archive.directory=${workspace_loc:jboss-osgi-testsuite-example/target}/test-libs
+                -->
+                <property>
+                  <name>java.protocol.handler.pkgs</name>
+                  <value>org.jboss.net.protocol|org.jboss.virtual.protocol</value>
+                </property>
+                <property>
+                  <name>jndi.server.port</name>
+                  <value>1199</value>
+                </property>
+                <property>
+                  <name>log4j.output.dir</name>
+                  <value>${project.build.directory}</value>
+                </property>
+                <property>
+                  <name>jboss.osgi.framework.properties</name>
+                  <value>${jboss.osgi.framework.properties}</value>
+                </property>
+                <property>
+                  <name>org.jboss.osgi.husky.Invoker</name>
+                  <value>org.jboss.osgi.husky.internal.OSGiInvoker</value>
+                </property>
+                <property>
+                  <name>test.archive.directory</name>
+                  <value>${project.build.directory}/test-libs</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+    <!--
+      Name: remote-testing 
+      Descr: Setup for remote integration testing
+    -->
+    <profile>
+      <id>remote-testing</id>
+      <activation>
+        <property>
+          <name>target.container</name>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.jboss.jbossas</groupId>
+          <artifactId>jboss-as-client</artifactId>
+          <version>5.0.1.GA</version>
+          <scope>test</scope>
+          <type>pom</type>
+        </dependency>
+      </dependencies>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>java.protocol.handler.pkgs</name>
+                  <value>org.jboss.net.protocol|org.jboss.virtual.protocol</value>
+                </property>
+                <property>
+                  <name>jboss.bind.address</name>
+                  <value>${jboss.bind.address}</value>
+                </property>
+                <property>
+                  <name>jndi.server.port</name>
+                  <value>1099</value>
+                </property>
+                <property>
+                  <name>log4j.output.dir</name>
+                  <value>${project.build.directory}</value>
+                </property>
+                <property>
+                  <name>org.apache.xerces.xni.parser.XMLParserConfiguration</name>
+                  <value>org.apache.xerces.parsers.XIncludeAwareParserConfiguration</value>
+                </property>
+                <property>
+                  <name>jboss.osgi.framework.properties</name>
+                  <value>${jboss.osgi.framework.properties}</value>
+                </property>
+                <property>
+                  <name>org.jboss.osgi.husky.Invoker</name>
+                  <value>org.jboss.osgi.husky.internal.OSGiInvoker</value>
+                </property>
+                <property>
+                  <name>org.jboss.osgi.husky.runtime.connector.host</name>
+                  <value>${jboss.bind.address}</value>
+                </property>
+                <property>
+                  <name>org.jboss.osgi.husky.runtime.connector.port</name>
+                  <value>5401</value>
+                </property>
+                <property>
+                  <name>target.container</name>
+                  <value>${target.container}</value>
+                </property>
+                <property>
+                  <name>test.archive.directory</name>
+                  <value>${project.build.directory}/test-libs</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
   </profiles>
   
 </project>



More information about the jboss-osgi-commits mailing list