Added pax-exam integration test for AuthN
[aaa.git] / commons / parent / pom.xml
index 1cf5b1225c2af645356fc95b2282b59f57f99526..bf6cbc1a63627d3b64db8ad456b7a35021b6992d 100644 (file)
@@ -1,45 +1,43 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.opendaylight.controller</groupId>
-    <artifactId>commons.opendaylight</artifactId>
-    <version>1.4.2-SNAPSHOT</version>
-  </parent>
-  <groupId>org.opendaylight.aaa</groupId>
-  <artifactId>commons.aaa</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-  <prerequisites>
-    <maven>3.0.4</maven>
-  </prerequisites>
-  <properties>
-    <java.version.source>1.7</java.version.source>
-    <java.version.target>1.7</java.version.target>
-    <jsontoken.version>1.1</jsontoken.version>
-    <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-      <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
-      <java.source.version>1.7</java.source.version>
-      <java.target.varsion>1.7</java.target.varsion>
-      <slf4j.version>1.7.2</slf4j.version>
-      <logback.version>1.0.9</logback.version>
-      <osgi.core.version>5.0.0</osgi.core.version>
-      <exam.version>3.0.0</exam.version>
-      <controller.model.version>1.1-SNAPSHOT</controller.model.version>
-      <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
-      <ietf.inet.types.version>2010.09.24.4-SNAPSHOT</ietf.inet.types.version>
-      <iana.afn.safi.version>2013.07.04.4-SNAPSHOT</iana.afn.safi.version>
-      <ietf.yang.types.version>2010.09.24.4-SNAPSHOT</ietf.yang.types.version>
-      <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
-      <iana.if.type.version>2013.07.04.4-SNAPSHOT</iana.if.type.version>
-      <config.api.version>0.2.4-SNAPSHOT</config.api.version>
-      <sal.binding.config.version>1.1-SNAPSHOT</sal.binding.config.version>
-      <yang.maven.plugin.version>0.6.2-SNAPSHOT</yang.maven.plugin.version>
-      <yang.codegen.version>0.6.2-SNAPSHOT</yang.codegen.version>
-      <ehcache.version>2.8.3</ehcache.version>
-      <oauth.version>1.0.0</oauth.version>
-  </properties>
+<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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>commons.opendaylight</artifactId>
+        <version>1.4.2-SNAPSHOT</version>
+    </parent>
+    <groupId>org.opendaylight.aaa</groupId>
+    <artifactId>commons.aaa</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+    <packaging>pom</packaging>
+    <prerequisites>
+        <maven>3.0.4</maven>
+    </prerequisites>
+    <properties>
+        <!-- common -->
+        <java.version.source>1.7</java.version.source>
+        <java.version.target>1.7</java.version.target>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
+        <java.source.version>1.7</java.source.version>
+        <java.target.varsion>1.7</java.target.varsion>
+        <slf4j.version>1.7.2</slf4j.version>
+        <logback.version>1.0.9</logback.version>
+        <osgi.core.version>5.0.0</osgi.core.version>
+        <!-- AuthZ -->
+        <ietf.inet.types.version>2010.09.24.4-SNAPSHOT</ietf.inet.types.version>
+        <ietf.yang.types.version>2010.09.24.4-SNAPSHOT</ietf.yang.types.version>
+        <yang.ext.version>2013.09.07.4-SNAPSHOT</yang.ext.version>
+        <sal.binding.config.version>1.1-SNAPSHOT</sal.binding.config.version>
+        <yang.maven.plugin.version>0.6.2-SNAPSHOT</yang.maven.plugin.version>
+        <yang.codegen.version>0.6.2-SNAPSHOT</yang.codegen.version>
+        <!-- AuthN -->
+        <ehcache.version>2.8.3</ehcache.version>
+        <oauth.version>1.0.0</oauth.version>
+        <!-- Integration Test -->
+        <exam.version>4.1.0</exam.version>
+    </properties>
 
     <dependencyManagement>
         <dependencies>
@@ -48,7 +46,6 @@
                 <artifactId>javassist</artifactId>
                 <version>3.17.1-GA</version>
             </dependency>
-
             <dependency>
                 <groupId>com.google.guava</groupId>
                 <artifactId>guava</artifactId>
                 <artifactId>org.eclipse.osgi</artifactId>
                 <version>3.8.1.v20120830-144521</version>
             </dependency>
-            <dependency>
-                <groupId>org.opendaylight.controller.model</groupId>
-                <artifactId>model-flow-statistics</artifactId>
-                <version>${controller.model.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.opendaylight.controller.model</groupId>
-                <artifactId>model-inventory</artifactId>
-                <version>${controller.model.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.opendaylight.controller</groupId>
-                <artifactId>sal-binding-api</artifactId>
-                <version>${controller.model.version}</version>
-            </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
                 <artifactId>slf4j-log4j12</artifactId>
                 <artifactId>ietf-inet-types</artifactId>
                 <version>${ietf.inet.types.version}</version>
             </dependency>
-            <dependency>
-                <groupId>org.opendaylight.yangtools.model</groupId>
-                <artifactId>iana-afn-safi</artifactId>
-                <version>${iana.afn.safi.version}</version>
-            </dependency>
             <dependency>
                 <groupId>org.opendaylight.yangtools.model</groupId>
                 <artifactId>ietf-yang-types</artifactId>
                 <artifactId>yang-ext</artifactId>
                 <version>${yang.ext.version}</version>
             </dependency>
-            <dependency>
-                <groupId>org.opendaylight.yangtools.model</groupId>
-                <artifactId>iana-if-type</artifactId>
-                <version>${iana.if.type.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.opendaylight.yangtools.model</groupId>
-                <artifactId>ietf-topology</artifactId>
-                <version>${ietf.topology.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.opendaylight.controller</groupId>
-                <artifactId>config-api</artifactId>
-                <version>${config.api.version}</version>
-            </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>sal-binding-config</artifactId>
                 <version>${sal.binding.config.version}</version>
             </dependency>
             <dependency>
-                <groupId>org.ops4j.pax.exam</groupId>
-                <artifactId>pax-exam-container-native</artifactId>
-                <version>${exam.version}</version>
-                <scope>test</scope>
-            </dependency>
-            <dependency>
-                <groupId>org.ops4j.pax.exam</groupId>
-                <artifactId>pax-exam-junit4</artifactId>
-                <version>${exam.version}</version>
-                <scope>test</scope>
-            </dependency>
-            <dependency>
-                <groupId>org.ops4j.pax.exam</groupId>
-                <artifactId>pax-exam-link-mvn</artifactId>
-                <version>${exam.version}</version>
-                <scope>test</scope>
+                <groupId>commons-codec</groupId>
+                <artifactId>commons-codec</artifactId>
+                <version>1.7</version>
             </dependency>
+
             <dependency>
                 <groupId>org.opendaylight.yangtools.thirdparty</groupId>
                 <artifactId>xtend-lib-osgi</artifactId>
                 <version>2.4.3</version>
                 <scope>test</scope>
             </dependency>
-
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
                 <version>4.8.1</version>
                 <scope>test</scope>
             </dependency>
-            <dependency>
-                <groupId>commons-codec</groupId>
-                <artifactId>commons-codec</artifactId>
-                <version>1.7</version>
-            </dependency>
         </dependencies>
     </dependencyManagement>
 
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <configuration>
-            <source>${java.version.source}</source>
-            <target>${java.version.target}</target>
-            <testSource>${java.version.source}</testSource>
-            <testTarget>${java.version.target}</testTarget>
-          </configuration>
-        </plugin>
-          <plugin>
-              <groupId>org.ops4j.pax.exam</groupId>
-              <artifactId>maven-paxexam-plugin</artifactId>
-              <version>1.2.4</version>
-          </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-  <url>https://wiki.opendaylight.org/view/AAA:Main</url>
-  <scm>
-    <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
-    <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
-    <tag>HEAD</tag>
-  </scm>
-  <repositories>
-    <!-- Opendaylight public group -->
-    <repository>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-      <id>opendaylight-public</id>
-      <name>opendaylight-public</name>
-      <url>${nexusproxy}/groups/public/</url>
-    </repository>
-    <!-- OpenDayLight Released artifact -->
-    <repository>
-      <id>opendaylight-release</id>
-      <name>opendaylight-release</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
-    </repository>
-    <!-- OpenDayLight Snapshot artifact -->
-    <repository>
-      <id>opendaylight-snapshot</id>
-      <name>opendaylight-snapshot</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
-    </repository>
-  </repositories>
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <configuration>
+                        <source>${java.version.source}</source>
+                        <target>${java.version.target}</target>
+                        <testSource>${java.version.source}</testSource>
+                        <testTarget>${java.version.target}</testTarget>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+    <url>https://wiki.opendaylight.org/view/AAA:Main</url>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
+        <tag>HEAD</tag>
+    </scm>
+    <repositories>
+        <!-- Opendaylight public group -->
+        <repository>
+            <id>opendaylight-public</id>
+            <name>opendaylight-public</name>
+            <url>http://nexus.opendaylight.org/content/groups/public/</url>
+        </repository>
+        <!-- OpenDayLight Released artifact -->
+        <repository>
+            <id>opendaylight-release</id>
+            <name>opendaylight-release</name>
+            <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+        </repository>
+        <!-- OpenDayLight Snapshot artifact -->
+        <repository>
+            <id>opendaylight-snapshot</id>
+            <name>opendaylight-snapshot</name>
+            <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
 
-  <pluginRepositories>
-    <pluginRepository>
-      <snapshots>
-        <enabled>false</enabled>
-      </snapshots>
-      <id>opendaylight-public</id>
-      <name>opendaylight-public</name>
-      <url>http://nexus.opendaylight.org/content/groups/public/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>opendaylight-release</id>
-      <name>central2</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
-    </pluginRepository>
-    <pluginRepository>
-      <id>opendaylight-snapshot</id>
-      <name>central2</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
-    </pluginRepository>
-  </pluginRepositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <id>opendaylight-public</id>
+            <name>opendaylight-public</name>
+            <url>http://nexus.opendaylight.org/content/groups/public/</url>
+        </pluginRepository>
+        <pluginRepository>
+            <id>opendaylight-release</id>
+            <name>central2</name>
+            <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+        </pluginRepository>
+        <pluginRepository>
+            <id>opendaylight-snapshot</id>
+            <name>central2</name>
+            <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+        </pluginRepository>
+    </pluginRepositories>
 </project>