[maven-release-plugin] prepare release lispflowmapping-all-1.1.0
[lispflowmapping.git] / commons / parent / pom.xml
index 24b346cab68ed23bc204a60b3514cf02d025e8e6..58845fff27c048ddb48d549249dcc4e32634877f 100644 (file)
@@ -1,85 +1,85 @@
-<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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.opendaylight.lispflowmapping</groupId>
        <artifactId>lispflowmapping-commons</artifactId>
-       <version>0.1.0-SNAPSHOT</version>
-       <description></description>
+       <version>1.1.0</version>
+       <description />
        <packaging>pom</packaging>
        <url>http://www.opendaylight.org</url>
-
        <scm>
                <connection>scm:git:https://git.opendaylight.org/gerrit/p/lispflowmapping.git</connection>
+               <developerConnection>scm:git:ssh://git.opendaylight.org:29418/lispflowmapping.git</developerConnection>
+               <url>https://wiki.opendaylight.org/view/OpenDaylight_Lisp_Flow_Mapping:Main</url>
+               <tag>lispflowmapping-all-1.1.0</tag>
        </scm>
        <properties>
+               <lispflowmapping.version>1.1.0</lispflowmapping.version>
+               <jacoco.version>0.5.3.201107060350</jacoco.version>
+               <enforcer.version>1.3.1</enforcer.version>
                <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <projectinfo>2.6</projectinfo>
+               <enunciate.version>1.26.2</enunciate.version>
+               <guava.version>14.0.1</guava.version>
+               <build.suffix>1.0.0</build.suffix>
+               <yangtools.binding.version>0.6.1</yangtools.binding.version>
+               <yang.binding.version>0.6.1</yang.binding.version>
+               <yang.version>0.6.1</yang.version>
+               <yang.codegen.version>0.6.1</yang.codegen.version>
+               <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
+               <sonar.branch>${user.name}-private-view</sonar.branch>
+               <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
+               <sonar.language>java</sonar.language>
+               <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+               <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
+               <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
+               <forwardingrulesmanager.version>0.5.0</forwardingrulesmanager.version>
+               <statisticsmanager.version>0.5.0</statisticsmanager.version>
+               <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
+               <java.version.source>1.7</java.version.source>
+               <java.version.target>1.7</java.version.target>
+               <releaseplugin.version>2.3.2</releaseplugin.version>
+               <slf4j.version>1.7.2</slf4j.version>
        </properties>
-
        <repositories>
-               <!-- EBR release -->
-               <!-- http://repository.springsource.com/maven/bundles/release -->
-               <repository>
-                       <id>ebr-bundles-release</id>
-                       <name>ebr-bundles-release</name>
-                       <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
-               </repository>
-               <!-- EBR external -->
-               <!-- http://repository.springsource.com/maven/bundles/external -->
-               <repository>
-                       <id>ebr-bundles-external</id>
-                       <name>ebr-bundles-external</name>
-                       <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
-               </repository>
-               <!-- Maven repo2 mirror -->
-               <!-- http://repo2.maven.org/maven2 -->
-               <repository>
-                       <id>central2</id>
-                       <name>central2</name>
-                       <url>${nexusproxy}/repositories/central2/</url>
-               </repository>
-               <!-- Maven repo1 mirror -->
-               <!-- http://repo1.maven.org/maven2 -->
-               <repository>
-                       <id>central</id>
-                       <name>central</name>
-                       <url>${nexusproxy}/repositories/central/</url>
-               </repository>
-               <!-- Pax mirror -->
-               <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
-               <repository>
-                       <id>ops4j-releases</id>
-                       <name>ops4j-releases</name>
-                       <url>${nexusproxy}/repositories/ops4j-releases/</url>
-               </repository>
-               <!-- Third Packages hosted in local maven because not available in other 
-                       places -->
-               <repository>
-                       <id>thirdparty</id>
-                       <name>thirdparty</name>
-                       <url>${nexusproxy}/repositories/thirdparty/</url>
-               </repository>
-               <!-- Jboss mirror -->
-               <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
-               <repository>
-                       <id>jboss.releases</id>
-                       <name>jboss.releases</name>
-                       <url>${nexusproxy}/repositories/jboss.releases/</url>
-               </repository>
-               <!-- OpenDayLight Released artifact -->
-               <repository>
-                       <id>opendaylight-release</id>
-                       <name>opendaylight-release</name>
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>
-               </repository>
-               <!-- OpenDayLight Snapshot artifact -->
-               <repository>
-                       <id>opendaylight-snapshot</id>
-                       <name>opendaylight-snapshot</name>
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-               </repository>
-               <!-- Needed for the org.restlet.* dependencies. -->
-               <repository>
+
+    <!-- OpenDayLight Repo Mirror -->
+    <repository>
+      <id>opendaylight-mirror</id>
+      <name>opendaylight-mirror</name>
+      <url>${nexusproxy}/groups/public/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+          <updatePolicy>never</updatePolicy>
+      </releases>
+    </repository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <repository>
+      <id>opendaylight-snapshot</id>
+      <name>opendaylight-snapshot</name>
+      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
+    </repository>
+    <repository>
+      <id>opendaylight-snapshot-release</id>
+      <name>opendaylight-snapshot-release</name>
+      <url>${nexusproxy}/repositories/opendaylight.release/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+      </releases>
+    </repository>
+    <repository>
                        <id>maven-restlet</id>
                        <name>Public online Restlet repository</name>
                        <url>http://maven.restlet.org</url>
                                <updatePolicy>never</updatePolicy>
                        </snapshots>
                </repository>
-       </repositories>
+  </repositories>
+  
+    <pluginRepositories>
+    <!-- OpenDayLight Repo Mirror -->
+    <pluginRepository>
+      <id>opendaylight-mirror</id>
+      <name>opendaylight-mirror</name>
+      <url>${nexusproxy}/groups/public/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+          <updatePolicy>never</updatePolicy>
+      </releases>
+    </pluginRepository>
+    <!-- OpenDayLight Snapshot artifact -->
+    <pluginRepository>
+      <id>opendaylight-snapshot</id>
+      <name>opendaylight-snapshot</name>
+      <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
 
        <distributionManagement>
                <!-- OpenDayLight Released artifact -->
                        <dependency>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>clustering.services</artifactId>
-                               <version>0.4.0-SNAPSHOT</version>
+                               <version>0.5.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-binding</artifactId>
+                               <version>${yang.binding.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-common</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-data-api</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-model-api</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools</groupId>
+                               <artifactId>yang-data-util</artifactId>
+                               <version>${yang.version}</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools.model</groupId>
+                               <artifactId>ietf-inet-types</artifactId>
+                               <version>2010.09.24.3</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.yangtools.model</groupId>
+                               <artifactId>ietf-yang-types</artifactId>
+                               <version>2010.09.24.3</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>com.google.guava</groupId>
+                               <artifactId>guava</artifactId>
+                               <version>${guava.version}</version>
                        </dependency>
                        <dependency>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>sal</artifactId>
-                               <version>0.5.0-SNAPSHOT</version>
+                               <version>0.7.0</version>
                        </dependency>
                        <dependency>
                                <groupId>junit</groupId>
                                <artifactId>org.eclipse.osgi</artifactId>
                                <version>3.8.1.v20120830-144521</version>
                        </dependency>
-
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>sal-binding-api</artifactId>
+                               <version>1.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>sal-common-util</artifactId>
+                               <version>1.0</version>
+                       </dependency>
+                       <dependency>
+                               <groupId>org.opendaylight.controller</groupId>
+                               <artifactId>config-api</artifactId>
+                               <version>0.2.3</version>
+                       </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.yangmodel</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.api</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.config</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.implementation</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.southbound</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.lispflowmapping</groupId>
+              <artifactId>mappingservice.northbound</artifactId>
+              <version>${lispflowmapping.version}</version>
+            </dependency>
+               <dependency>
+                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                       <artifactId>common.unittest.tools</artifactId>
+                       <version>${lispflowmapping.version}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                       <artifactId>common.build.tools</artifactId>
+                       <version>${lispflowmapping.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                       <artifactId>lispflowmapping-code-commons</artifactId>
+                       <version>${lispflowmapping.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.opendaylight.lispflowmapping</groupId>
+                       <artifactId>lispflowmapping-commons</artifactId>
+                       <version>${lispflowmapping.version}</version>
+               </dependency>
                </dependencies>
        </dependencyManagement>
 
        <reporting>
+               <excludeDefaults>true</excludeDefaults>
+               <outputDirectory>${project.build.directory}/site</outputDirectory>
                <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <version>${projectinfo}</version>
+                               <configuration>
+                                       <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                                       <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+                               </configuration>
+                               <reportSets>
+                                       <reportSet>
+                                               <reports>
+                                                       <report>index</report>
+                                                       <report>project-team</report>
+                                                       <report>license</report>
+                                                       <report>mailing-list</report>
+                                                       <report>plugin-management</report>
+                                                       <report>cim</report>
+                                                       <report>issue-tracking</report>
+                                                       <report>scm</report>
+                                                       <report>summary</report>
+                                               </reports>
+                                       </reportSet>
+                               </reportSets>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jxr-plugin</artifactId>
+                               <version>2.3</version>
+                               <configuration>
+                                       <aggregate>true</aggregate>
+                                       <linkJavadoc>true</linkJavadoc>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                                <artifactId>apiviz</artifactId>
                                                <version>1.3.2.GA</version>
                                        </docletArtifact>
-                                       <finalName>${project.artifactId}-0.1.0-SNAPSHOT</finalName>
+                                       <finalName>${project.artifactId}-${build.suffix}</finalName>
                                        <useStandardDocletOptions>true</useStandardDocletOptions>
                                        <charset>UTF-8</charset>
                                        <encoding>UTF-8</encoding>
        <build>
                <pluginManagement>
                        <plugins>
+                       <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <version>${releaseplugin.version}</version>
+        </plugin>
+                               <plugin>
+                                       <groupId>org.jacoco</groupId>
+                                       <artifactId>jacoco-maven-plugin</artifactId>
+                                       <version>${jacoco.version}</version>
+                               </plugin>
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        <artifactId>maven-bundle-plugin</artifactId>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>2.3.2</version>
+                                       <configuration>
+                                               <source>1.7</source>
+                                               <target>1.7</target>
+                                       </configuration>
                                </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-surefire-plugin</artifactId>
                                        <version>2.14.1</version>
                                </plugin>
+                               <plugin>
+                                       <groupId>org.opendaylight.yangtools</groupId>
+                                       <artifactId>yang-maven-plugin</artifactId>
+                                       <version>${yang.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>${yang.codegen.version}</version>
+                                                       <type>jar</type>
+                                               </dependency>
+                                       </dependencies>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.codehaus.mojo</groupId>
+                                       <artifactId>build-helper-maven-plugin</artifactId>
+                                       <version>1.7</version>
+                                       <executions>
+                                               <execution>
+                                                       <phase>generate-sources</phase>
+                                                       <goals>
+                                                               <goal>add-source</goal>
+                                                       </goals>
+                                                       <configuration>
+                                                               <sources>
+                                                                       <source>target/generated-sources/sal</source>
+                                                               </sources>
+                                                       </configuration>
+                                               </execution>
+                                       </executions>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.eclipse.m2e</groupId>
+                                       <artifactId>lifecycle-mapping</artifactId>
+                                       <version>1.0.0</version>
+                                       <configuration>
+                                               <lifecycleMappingMetadata>
+                                                       <pluginExecutions>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.codehaus.mojo</groupId>
+                                                                               <artifactId>properties-maven-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>set-system-properties</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.codehaus.enunciate</groupId>
+                                                                               <artifactId>maven-enunciate-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>docs</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.jacoco</groupId>
+                                                                               <artifactId>jacoco-maven-plugin</artifactId>
+                                                                               <versionRange>[0.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>prepare-agent</goal>
+                                                                                       <goal>pre-test</goal>
+                                                                                       <goal>post-test</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.ops4j.pax.exam</groupId>
+                                                                               <artifactId>maven-paxexam-plugin</artifactId>
+                                                                               <versionRange>[1.2.4,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>generate-depends-file</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.apache.maven.plugins</groupId>
+                                                                               <artifactId>maven-checkstyle-plugin</artifactId>
+                                                                               <versionRange>[2.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>check</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>org.opendaylight.yangtools</groupId>
+                                                                               <artifactId>yang-maven-plugin</artifactId>
+                                                                               <versionRange>[0.5,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>generate-sources </goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore />
+                                                                       </action>
+                                                               </pluginExecution>
+                                                       </pluginExecutions>
+                                               </lifecycleMappingMetadata>
+                                       </configuration>
+                               </plugin>
+                               <plugin>
+                                       <groupId>org.codehaus.enunciate</groupId>
+                                       <artifactId>maven-enunciate-plugin</artifactId>
+                                       <version>${enunciate.version}</version>
+                                       <configuration>
+                                               <configFile>enunciate.xml</configFile>
+                                       </configuration>
+                                       <executions>
+                                               <execution>
+                                                       <goals>
+                                                               <goal>docs</goal>
+                                                       </goals>
+                                               </execution>
+                                       </executions>
+                               </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-javadoc-plugin</artifactId>
                                                        <artifactId>apiviz</artifactId>
                                                        <version>1.3.2.GA</version>
                                                </docletArtifact>
-                                               <finalName>${project.artifactId}-0.1.0-SNAPSHOT</finalName>
+                                               <finalName>${project.artifactId}-1.0.0</finalName>
                                                <useStandardDocletOptions>true</useStandardDocletOptions>
                                                <charset>UTF-8</charset>
                                                <encoding>UTF-8</encoding>