fix for continuous integration.
[xmlrouter] / pom.xml
diff --git a/pom.xml b/pom.xml
index 13bde68ea65c85d6e61cedf1d838ea89bb6665a2..a9c960463386bc57499409d9c39d384734955b69 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,11 +1,11 @@
 <?xml version="1.0"?>
-<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/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.wamblee.xmlrouter</groupId>
     <artifactId>xmlrouter-root</artifactId>
     <packaging>pom</packaging>
-    <version>0.1-SNAPSHOT</version>
+    <version>0.1.0-SNAPSHOT</version>
     <name>/xmlrouter</name>
     <description>A simple XML Router with OSGI support</description>
     <url>http://wamblee.org</url>
 
 
     <properties>
-        <wamblee.utils.version>0.5</wamblee.utils.version>
+        <wamblee.utils.version>0.8</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>
         <module>config</module>
         <module>publish</module>
         <module>subscribe</module>
-        <module>impl</module>
+        <module>router</module>
         <module>listener</module>
+        <module>integrationtest</module>
     </modules>
 
     <!-- need to exclude test at release because test depends on an artifact
-         eclipselink) which is not available at maven central --> 
+         eclipselink) which is not available at maven central -->
     <profiles>
         <profile>
             <id>release</id>
     <dependencyManagement>
         <dependencies>
             <dependency>
-                           <groupId>org.wamblee</groupId>
-                               <artifactId>wamblee-support-general</artifactId>
-                               <version>0.7-SNAPSHOT</version>
-                       </dependency>
+                <groupId>org.wamblee</groupId>
+                <artifactId>wamblee-support-general</artifactId>
+                <version>${wamblee.utils.version}</version>
+            </dependency>
             <dependency>
                 <groupId>org.wamblee</groupId>
                 <artifactId>wamblee-test-eclipselink</artifactId>
             <dependency>
                 <groupId>org.mockito</groupId>
                 <artifactId>mockito-all</artifactId>
-                <version>1.8.0</version>
+                <version>1.8.5</version>
+                <scope>test</scope>
+            </dependency>
+            
+            <!-- OSGI -->
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.core</artifactId>
+                <version>4.2.0</version>
+                <scope>provided</scope>
+            </dependency>
+            <dependency>
+                <groupId>org.osgi</groupId>
+                <artifactId>org.osgi.compendium</artifactId>
+                <version>4.2.0</version>
+                <scope>provided</scope>
+            </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>
+                       
+                       <dependency>
+                <groupId>org.ops4j.pax.url</groupId>
+                <artifactId>pax-url-wrap</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>
 
     </dependencyManagement>
 
     <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>
                     </execution>
                 </executions>
             </plugin>
-            
-          
+
+
             <plugin>
                 <artifactId>maven-site-plugin</artifactId>
                 <version>3.0-beta-3</version>
                                 </formats>
                             </configuration>
                         </plugin>
-                        
+
                     </reportPlugins>
                 </configuration>
             </plugin>
 
         </plugins>
 
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>maven-bundle-plugin</artifactId>
+                    <extensions>true</extensions>
+                    <version>2.3.5</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+
+
     </build>
-    
+
     <distributionManagement>
         <site>
             <id>xmlrouter-site</id>
             <url>file:${distrib}/all</url>
         </site>
     </distributionManagement>
+
 </project>