First steps towards pax-exam automated incontainer tests.
[xmlrouter] / pom.xml
diff --git a/pom.xml b/pom.xml
index 10df9a9dc03d008a839a31a4155196fa100aa5aa..37c993a0fdccfbdb0d660897ddfb4311bb21d2a2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,9 @@
 
     <properties>
         <wamblee.utils.version>0.5</wamblee.utils.version>
+        <pax.exam.version>2.2.0</pax.exam.version>
+        <pax.runner.version>1.7.4</pax.runner.version>
+        <pax.url.version>1.3.4</pax.url.version>
     </properties>
 
     <modules>
@@ -42,6 +45,7 @@
         <module>subscribe</module>
         <module>router</module>
         <module>listener</module>
+        <module>integrationtest</module>
     </modules>
 
     <!-- need to exclude test at release because test depends on an artifact
                 <version>1.8.0</version>
                 <scope>test</scope>
             </dependency>
+            
+            <!-- OSGI -->
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.core</artifactId>
+                <version>4.2.0</version>
+            </dependency>
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.compendium</artifactId>
+                <version>4.2.0</version>
+            </dependency>
+            
+            <!-- Pax exam -->
+            <!-- only runner -->
+            <dependency>
+                <groupId>org.ops4j.pax.exam</groupId>
+                <artifactId>pax-exam-container-paxrunner</artifactId>
+                <version>${pax.exam.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- only runner -->
+            <dependency>
+                <groupId>org.ops4j.pax.runner</groupId>
+                <artifactId>pax-runner-no-jcl</artifactId>
+                <version>${pax.runner.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- both runner and native -->
+            <dependency>
+                <groupId>org.ops4j.pax.exam</groupId>
+                <artifactId>pax-exam-junit4</artifactId>
+                <version>${pax.exam.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- both runner and native -->
+            <dependency>
+                <groupId>org.ops4j.pax.exam</groupId>
+                <artifactId>pax-exam-link-mvn</artifactId>
+                <version>${pax.exam.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- only native -->
+            <dependency>
+                <groupId>org.ops4j.pax.exam</groupId>
+                <artifactId>pax-exam-container-native</artifactId>
+                <version>${pax.exam.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- only native -->
+            <dependency>
+                <groupId>org.ops4j.pax.url</groupId>
+                <artifactId>pax-url-aether</artifactId>
+                <version>${pax.url.version}</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- only native -->
+            <dependency>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>org.apache.felix.framework</artifactId>
+                <version>3.2.2</version>
+                <scope>test</scope>
+            </dependency>
+
 
         </dependencies>
 
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>depends-maven-plugin</artifactId>
+                <version>1.2</version>
+                <executions>
+                    <execution>
+                        <id>generate-depends-file</id>
+                        <goals>
+                            <goal>generate-depends-file</goal>
+                        </goals>
+                    </execution>
+                </executions>
+
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-release-plugin</artifactId>