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

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Mon Jul 13 06:25:11 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-07-13 06:25:11 -0400 (Mon, 13 Jul 2009)
New Revision: 91145

Modified:
   projects/jboss-osgi/projects/parent/trunk/pom.xml
Log:
Move testing profiles to parent

Modified: projects/jboss-osgi/projects/parent/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/projects/parent/trunk/pom.xml	2009-07-13 07:02:00 UTC (rev 91144)
+++ projects/jboss-osgi/projects/parent/trunk/pom.xml	2009-07-13 10:25:11 UTC (rev 91145)
@@ -195,4 +195,228 @@
     </plugins>
   </reporting>
 
+  <!-- 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