Bump versions to 0.17.1-SNAPSHOT
[bgpcep.git] / concepts / pom.xml
index b12f100726775424c2993e051950346f04f7ae61..43b62a65207edcde136a41e732bd1a3fee911791 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.bgpcep</groupId>
-               <artifactId>protocol-parent</artifactId>
-               <version>0.3.0-SNAPSHOT</version>
-       </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
+        <url>https://wiki.opendaylight.org/display/ODL/BGPCEP</url>
+        <tag>HEAD</tag>
+    </scm>
+    <parent>
+        <groupId>org.opendaylight.bgpcep</groupId>
+        <artifactId>binding-parent</artifactId>
+        <version>0.17.1-SNAPSHOT</version>
+        <relativePath>../binding-parent</relativePath>
+    </parent>
 
-       <modelVersion>4.0.0</modelVersion>
-       <artifactId>concepts</artifactId>
-       <description>Basic protocol concepts</description>
-       <packaging>bundle</packaging>
-       <name>${project.artifactId}</name>
-       <prerequisites>
-               <maven>3.0.4</maven>
-       </prerequisites>
+    <artifactId>concepts</artifactId>
+    <description>Basic protocol concepts</description>
+    <packaging>bundle</packaging>
+    <name>${project.artifactId}</name>
 
-       <dependencies>
-               <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>util</artifactId>
-                       <version>${project.version}</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.google.code.findbugs</groupId>
-                       <artifactId>jsr305</artifactId>
-                       <version>2.0.1</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.google.guava</groupId>
-                       <artifactId>guava</artifactId>
-                       <version>${guava.version}</version>
-               </dependency>
-                <!--
-            FIXME: this is in support of the generated code. This should not
-                   be here, but the plugin should bring it in.
-        -->
+    <dependencies>
+        <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.checkerframework</groupId>
+            <artifactId>checker-qual</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-binding</artifactId>
-            <version>${yangtools.version}</version>
+            <artifactId>concepts</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>yang-common</artifactId>
-            <version>${yangtools.version}</version>
         </dependency>
-
-        <!--
-             FIXME: these are IETF models which are pre-generated in SAL infra.
-                    This should not be here, but rather should somehow be
-                    discovered by the plugin.
-        -->
         <dependency>
-            <groupId>org.opendaylight.yangtools.model</groupId>
-            <artifactId>ietf-inet-types</artifactId>
-            <version>${ietf.types.version}</version>
+            <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
+            <artifactId>rfc6991-ietf-inet-types</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
+            <artifactId>rfc8294-ietf-routing-types</artifactId>
         </dependency>
-       </dependencies>
-
-       <build>
-        <plugins>
-                       <plugin>
-               <groupId>org.opendaylight.yangtools</groupId>
-               <artifactId>yang-maven-plugin</artifactId>
-               <version>${yangtools.version}</version>
-               <executions>
-                   <execution>
-                       <goals>
-                           <goal>generate-sources</goal>
-                       </goals>
-                       <configuration>
-                           <yangFilesRootDir>src/main/yang</yangFilesRootDir>
-                           <codeGenerators>
-                               <generator>
-                                   <codeGeneratorClass>
-                                       org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
-                                   </codeGeneratorClass>
-                                   <outputBaseDir>
-                                       target/generated-sources/sal
-                                   </outputBaseDir>
-                               </generator>
-                           </codeGenerators>
-                           <inspectDependencies>true</inspectDependencies>
-                       </configuration>
-                   </execution>
-               </executions>
-               <dependencies>
-                   <dependency>
-                       <groupId>org.opendaylight.yangtools</groupId>
-                       <artifactId>maven-sal-api-gen-plugin</artifactId>
-                       <version>${code.generator.version}</version>
-                       <type>jar</type>
-                   </dependency>
-               </dependencies>
-           </plugin>
-                       <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>
-                                               <Import-Package>
-                            org.opendaylight.protocol.util,
-                            com.google.common.base,
-                            com.google.common.collect,
-                            com.google.common.net,
-                            com.google.common.primitives,
-                                               </Import-Package>
-                                               <Export-Package>
-                            org.opendaylight.protocol.concepts,
-                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.iana.rev130816.*,
-                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.*,
-                            org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.nps.concepts.rev130930.*,
-                                               </Export-Package>
-                                       </instructions>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-
-       <distributionManagement>
-               <site>
-                       <id>${project.artifactId}</id>
-                       <name>NPS-CONCEPTS Module site</name>
-                       <url>${basedir}/target/site/${project.artifactId}</url>
-               </site>
-       </distributionManagement>
 
+        <!-- Testing dependencies -->
+        <dependency>
+            <groupId>io.netty</groupId>
+            <artifactId>netty-buffer</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal.model</groupId>
+            <artifactId>ietf-topology</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.hamcrest</groupId>
+            <artifactId>hamcrest-core</artifactId>
+        </dependency>
+    </dependencies>
 </project>