Merge "BUG-1394: add traces"
[bgpcep.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 9356dda5ab87f4ff80d61699a775a337c671770e..aa952acadaebeebbe7ea62e2b45f09048f2efd3e 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- vi: set smarttab sw=4 tabstop=4: -->
-<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">
-       <name>OpenDaylight protocols</name>
-       <url>index.html</url>
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.opendaylight.protocol</groupId>
-       <artifactId>protocol-parent</artifactId>
-       <description>OpenDaylight BGP+PCEP protocol parent</description>
-       <version>0.1</version>
-       <packaging>pom</packaging>
-       <properties>
-               <java.version.source>1.7</java.version.source>
-               <java.version.target>1.7</java.version.target>
-               <pmd.version>2.7.1</pmd.version>
-               <dependency.version>2.8</dependency.version>
-               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               <slf4j.version>1.7.2</slf4j.version>
-               <logback.version>1.0.7</logback.version>
-               <junit.version>4.10</junit.version>
-               <maven.compiler.version>2.5.1</maven.compiler.version>
-               <maven.bundle.version>2.3.7</maven.bundle.version>
-               <surefire.version>2.14.1</surefire.version>
-               <commonscodec.version>1.7</commonscodec.version>
-               <guava.version>13.0.1</guava.version>
-       </properties>
-       <prerequisites>
-               <maven>3.0.4</maven>
-       </prerequisites>
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+<!--
+ Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 
-       <modules>
-               <module>bgp</module>
-               <module>concepts</module>
-               <module>framework</module>
-               <module>mockito-configuration</module>
-               <module>pcep</module>
-               <module>util</module>
-       </modules>
+ 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
+-->
 
-       <dependencies>
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <version>${junit.version}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>ch.qos.logback</groupId>
-                       <artifactId>logback-classic</artifactId>
-                       <version>${logback.version}</version>
-                       <scope>test</scope>
-               </dependency>
-       </dependencies>
-       
-       <reporting>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-javadoc-plugin</artifactId>
-                               <version>2.8.1</version>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-pmd-plugin</artifactId>
-                               <version>${pmd.version}</version>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-antrun-plugin</artifactId>
-                               <version>${maven.antrun.version}</version>
-                       </plugin>
-               </plugins>
-       </reporting>
+<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">
 
-       <distributionManagement>
-               <site>
-                       <id>${project.artifactId}</id>
-                       <name>NPS-APPLICATION Project site</name>
-                       <url>${basedir}/target/site/${project.artifactId}</url>
-               </site>
-               <!-- mock repository to allow deploy phase without real deployment -->
-               <repository>
-                       <id>targetRepo</id>
-                       <name>Target folder as mock repository</name>
-                       <url>file://${basedir}/target/deploy</url>
-               </repository>
-       </distributionManagement>
+    <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/view/BGP_LS_PCEP:Main</url>
+        <tag>HEAD</tag>
+    </scm>
+    <parent>
+        <groupId>org.opendaylight.bgpcep</groupId>
+        <artifactId>commons.parent</artifactId>
+        <version>0.3.1-SNAPSHOT</version>
+        <relativePath>commons/parent</relativePath>
+    </parent>
 
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <version>${maven.compiler.version}</version>
-                               <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.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <version>${surefire.version}</version>
-                               <configuration>
-                                       <redirectTestOutputToFile>true</redirectTestOutputToFile>
-                                       <parallel>classes</parallel>
-                                       <forkCount>1C</forkCount>
-                                       <reuseForks>false</reuseForks>
-                                       <perCoreThreadCount>true</perCoreThreadCount>
-                                       <threadCount>2</threadCount>
-                               </configuration>
-                       </plugin>
+    <artifactId>releasepom</artifactId>
+    <packaging>pom</packaging>
+    <name>BGPCEP release</name>
+    <description>BGPCEP top-level pom</description>
 
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-pmd-plugin</artifactId>
-                               <version>${pmd.version}</version>
-                               <configuration>
-                                       <targetJdk>${java.version.target}</targetJdk>
-                                       <rulesets>
-                                               <ruleset>rulesets/basic.xml</ruleset>
-                                               <ruleset>rulesets/finalizers.xml</ruleset>
-                                               <ruleset>rulesets/imports.xml</ruleset>
-                                               <ruleset>rulesets/junit.xml</ruleset>
-                                               <!--ruleset>rulesets/optimizations.xml</ruleset -->
-                                               <ruleset>rulesets/strings.xml</ruleset>
-                                               <ruleset>rulesets/unusedcode.xml</ruleset>
-                                       </rulesets>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <version>${dependency.version}</version>
-                               <configuration>
-                                       <!--failOnWarning>true</failOnWarning -->
-                                       <ignoreNonCompile>true</ignoreNonCompile>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.fusesource.mvnplugins</groupId>
-                               <artifactId>maven-graph-plugin</artifactId>
-                               <version>1.4</version>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>build-helper-maven-plugin</artifactId>
-                               <version>1.8</version>
-                       </plugin>
-               </plugins>
-               <pluginManagement>
-                       <plugins>
-                               <!--This plugin's configuration is used to store Eclipse m2e settings
-                                       only. It has no influence on the Maven build itself. -->
-                               <plugin>
-                                       <groupId>org.eclipse.m2e</groupId>
-                                       <artifactId>lifecycle-mapping</artifactId>
-                                       <version>1.0.0</version>
-                                       <configuration>
-                                               <lifecycleMappingMetadata>
-                                                       <pluginExecutions>
-                                                               <pluginExecution>
-                                                                       <pluginExecutionFilter>
-                                                                               <groupId>pl.project13.maven</groupId>
-                                                                               <artifactId>git-commit-id-plugin</artifactId>
-                                                                               <versionRange>
-                                                                                       [2.1.4,)
-                                                                               </versionRange>
-                                                                               <goals>
-                                                                                       <goal>revision</goal>
-                                                                               </goals>
-                                                                       </pluginExecutionFilter>
-                                                                       <action>
-                                                                               <ignore></ignore>
-                                                                       </action>
-                                                               </pluginExecution>
-                                                       </pluginExecutions>
-                                               </lifecycleMappingMetadata>
-                                       </configuration>
-                               </plugin>
-                       </plugins>
-               </pluginManagement>
-       </build>
+    <modules>
+        <!-- Common infra -->
+        <module>concepts</module>
+        <module>util</module>
+
+        <!-- Subsystems -->
+        <module>bgp</module>
+        <module>pcep</module>
+        <module>programming</module>
+        <module>rsvp</module>
+        <module>topology</module>
+
+        <!-- Integration tests -->
+        <module>integration-tests</module>
+
+        <!-- Parents -->
+        <module>commons/parent</module>
+    </modules>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>aggregate</id>
+                        <goals>
+                            <goal>aggregate</goal>
+                        </goals>
+                        <phase>site</phase>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>${maven.info.reports.version}</version>
+                <reportSets>
+                    <reportSet>
+                        <reports>
+                            <report>dependency-info</report>
+                            <report>license</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin>
+            <!--plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <reportSets>
+                    <reportSet>
+                        <id>aggregate</id>
+                        <reports>
+                            <report>aggregate</report>
+                        </reports>
+                    </reportSet>
+                </reportSets>
+            </plugin-->
+            <!--plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>2.4.0</version>
+                <configuration>
+                    <effort>Max</effort>
+                    <threshold>Low</threshold>
+                    <goal>site</goal>
+                </configuration>
+            </plugin-->
+        </plugins>
+    </reporting>
 
-       <pluginRepositories>
-               <pluginRepository>
-                       <id>mvnplugins.fusesource.org</id>
-                       <url>http://mvnplugins.fusesource.org/repo/release</url>
-                       <releases>
-                               <enabled>true</enabled>
-                       </releases>
-               </pluginRepository>
-       </pluginRepositories>
 </project>