BUG-8007: Code Clean Up
[bgpcep.git] / integration-tests / pom.xml
index d42b31faf795a519089516036b64516b3372a0a0..822313b0cc3ccdf5bef1fbb107c316a4490c558d 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+
+ This program and the accompanying materials are made available under the
+ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ and is available at http://www.eclipse.org/legal/epl-v10.html
+-->
+
 <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">
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <parent>
+        <groupId>org.opendaylight.controller</groupId>
+        <artifactId>mdsal-it-parent</artifactId>
+        <version>1.4.4-SNAPSHOT</version>
+        <relativePath/>
+    </parent>
 
-       <parent>
-               <groupId>org.opendaylight.bgpcep</groupId>
-               <artifactId>protocol-parent</artifactId>
-               <version>0.3.0-SNAPSHOT</version>
-       </parent>
+    <modelVersion>4.0.0</modelVersion>
 
-       <modelVersion>4.0.0</modelVersion>
-       <artifactId>integration-tests</artifactId>
-       <description>BGPCEP integration tests</description>
-       <packaging>bundle</packaging>
-       <name>${project.artifactId}</name>
-       <prerequisites>
-               <maven>3.0.4</maven>
-       </prerequisites>
+    <groupId>org.opendaylight.bgpcep</groupId>
+    <version>0.6.4-SNAPSHOT</version>
+    <artifactId>integration-tests</artifactId>
+    <description>BGPCEP integration tests</description>
+    <packaging>bundle</packaging>
+    <name>${project.artifactId}</name>
+    <prerequisites>
+        <maven>3.0.4</maven>
+    </prerequisites>
 
     <properties>
-        <exam.version>3.3.0</exam.version>
-        <url.version>1.6.0</url.version>
-        <felix.version>4.2.1</felix.version>
+        <skipITs>false</skipITs>
+        <karaf.distro.groupId>org.opendaylight.bgpcep</karaf.distro.groupId>
+        <karaf.distro.artifactId>bgpcep-karaf</karaf.distro.artifactId>
+        <karaf.distro.version>${project.version}</karaf.distro.version>
+        <karaf.distro.type>zip</karaf.distro.type>
     </properties>
 
-       <dependencies>
+    <dependencies>
+        <!-- claims all the dependency features in case we want to test them -->
         <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>bgp-testtool</artifactId>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>features-bgp</artifactId>
             <version>${project.version}</version>
-            <scope>test</scope>
+            <classifier>features</classifier>
+            <type>xml</type>
         </dependency>
         <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>pcep-testtool</artifactId>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>features-pcep</artifactId>
             <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>concepts</artifactId>
-            <version>0.5-SNAPSHOT</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-binding</artifactId>
-            <version>${yangtools.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-common</artifactId>
-            <version>${yangtools.version}</version>
-            <scope>test</scope>
-        </dependency>
-
-               <dependency>
-                       <groupId>com.google.guava</groupId>
-                       <artifactId>guava</artifactId>
-                       <version>${guava.version}</version>
-            <scope>test</scope>
-               </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam-container-forked</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>
+            <classifier>features</classifier>
+            <type>xml</type>
         </dependency>
         <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam-link-mvn</artifactId>
-            <version>${exam.version}</version>
-            <scope>test</scope>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>features-bmp</artifactId>
+            <version>${project.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
         </dependency>
         <dependency>
-            <groupId>org.ops4j.pax.url</groupId>
-            <artifactId>pax-url-aether</artifactId>
-            <version>${url.version}</version>
-            <scope>test</scope>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>features-rsvp</artifactId>
+            <version>${project.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
         </dependency>
         <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.framework</artifactId>
-            <version>${felix.version}</version>
-            <scope>test</scope>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>features-extras</artifactId>
+            <version>${project.version}</version>
+            <classifier>features</classifier>
+            <type>xml</type>
         </dependency>
     </dependencies>
 
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.felix</groupId>
-                               <artifactId>maven-bundle-plugin</artifactId>
-                               <version>${maven.bundle.version}</version>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <instructions>
-                                               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
-                                               <Export-Package>
-                                                       org.opendaylight.protocol.integration
-                                               </Export-Package>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <version>2.4</version>
-                               <executions>
-                                       <execution>
-                                               <phase>package</phase>
-                                               <goals>
-                                                       <goal>test-jar</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
+    <!--
+        Maven Site Configuration
+
+        The following configuration is necessary for maven-site-plugin to
+        correctly identify the correct deployment path for OpenDaylight Maven
+        sites.
+    -->
+    <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+    <distributionManagement>
+        <site>
+            <id>opendaylight-site</id>
+            <url>${nexus.site.url}/${project.artifactId}/</url>
+        </site>
+    </distributionManagement>
 </project>