Bump versions by x.y.(z+1)
[neutron.git] / parent / pom.xml
index 6939f5cfa9a361d264deea934d8243125b2694c6..3f3f319964ef6f729348cd655117ec3d369e4bdf 100644 (file)
@@ -2,29 +2,32 @@
 <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>
   <prerequisites>
-    <maven>3.0</maven>
+    <maven>3.1.1</maven>
   </prerequisites>
 
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent</artifactId>
-    <version>1.6.0-SNAPSHOT</version>
+    <version>1.7.5-SNAPSHOT</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.neutron</groupId>
   <artifactId>project-neutron-parent</artifactId>
-  <version>0.6.0-SNAPSHOT</version>
+  <version>0.7.5-SNAPSHOT</version>
   <packaging>pom</packaging>
 
   <properties>
-    <aaa.version>0.2.0-SNAPSHOT</aaa.version>
-    <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
-    <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
+    <aaa.version>0.3.5-SNAPSHOT</aaa.version>
+    <ietf-yang-types.version>2013.07.15.9.5-SNAPSHOT</ietf-yang-types.version>
+    <ietf-inet-types.version>1.1.5-SNAPSHOT</ietf-inet-types.version>
     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
-    <yang.binding.version>0.8.0-SNAPSHOT</yang.binding.version>
-    <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
-    <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
+    <mdsal.model.version>0.9.5-SNAPSHOT</mdsal.model.version>
+    <yangtools.version>1.0.5-SNAPSHOT</yangtools.version>
+    <yang-ext.version>2013.09.07.9.5-SNAPSHOT</yang-ext.version>
+    <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
+    <sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
+    <checkstyle.location>${project.build.resources[0].directory}</checkstyle.location>
   </properties>
   <scm>
     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
   <dependencyManagement>
     <dependencies>
       <dependency>
-        <groupId>org.opendaylight.yangtools</groupId>
+        <groupId>org.opendaylight.mdsal</groupId>
         <artifactId>yang-binding</artifactId>
-        <version>${yang.binding.version}</version>
+        <version>${mdsal.model.version}</version>
       </dependency>
       <dependency>
         <groupId>org.opendaylight.yangtools</groupId>
         <artifactId>yang-common</artifactId>
-        <version>${yang.binding.version}</version>
+        <version>${yangtools.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
-        <artifactId>ietf-inet-types</artifactId>
+        <groupId>org.opendaylight.mdsal.model</groupId>
+        <artifactId>ietf-inet-types-2013-07-15</artifactId>
         <version>${ietf-inet-types.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
-        <artifactId>ietf-yang-types</artifactId>
+        <groupId>org.opendaylight.mdsal.model</groupId>
+        <artifactId>ietf-yang-types-20130715</artifactId>
         <version>${ietf-yang-types.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.opendaylight.yangtools.model</groupId>
+        <groupId>org.opendaylight.mdsal.model</groupId>
         <artifactId>yang-ext</artifactId>
         <version>${yang-ext.version}</version>
       </dependency>
     <pluginManagement>
       <plugins>
         <plugin>
-          <groupId>org.jacoco</groupId>
-          <artifactId>jacoco-maven-plugin</artifactId>
-          <version>${jacoco.version}</version>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <configuration>
+            <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
+            <consoleOutput>true</consoleOutput>
+          </configuration>
+          <executions>
+            <execution>
+              <goals>
+                <goal>check</goal>
+              </goals>
+              <phase>process-sources</phase>
+            </execution>
+          </executions>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
           <version>${maven.bundle.version}</version>
         </plugin>
+<!--        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>${maven.surefire.version}</version>
+          <configuration>
+            <argLine>${surefireArgLine}</argLine>
+            <skipTests>${skip.unit.tests}</skipTests>
+            <excludes>
+               <exclude>**/IT*.java</exclude>
+            </excludes>
+          </configuration>
+        </plugin> -->
       </plugins>
     </pluginManagement>
     <plugins>
-      <plugin>
-        <groupId>org.jacoco</groupId>
-        <artifactId>jacoco-maven-plugin</artifactId>
-        <configuration>
-          <includes>
-            <include>org.opendaylight.neutron.*</include>
-          </includes>
-        </configuration>
-        <executions>
-          <execution>
-            <id>pre-test</id>
-            <goals>
-              <goal>prepare-agent</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>post-test</id>
-            <goals>
-              <goal>report</goal>
-            </goals>
-            <phase>test</phase>
-          </execution>
-        </executions>
-      </plugin>
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <artifactId>maven-compiler-plugin</artifactId>
         <inherited>true</inherited>
         <configuration>
-          <source>1.7</source>
-          <target>1.7</target>
+          <compilerArgs>
+            <arg>-Xlint:unchecked</arg>
+            <arg>-Xlint:deprecation</arg>
+          </compilerArgs>
         </configuration>
       </plugin>
       <plugin>
       </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>