Release Lithium-SR4
[openflowjava.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 02fc2fc37e1317c73369fc486d74fd658bb9feb2..62e506cc41388a240e314e241fd2da576dee1dd0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
-       <modelVersion>4.0.0</modelVersion>\r
-       <groupId>org.opendaylight.openflow</groupId>\r
-       <artifactId>openflow-protocol-parent</artifactId>\r
-       <version>0.1-SNAPSHOT</version>\r
-       <packaging>pom</packaging>\r
-       <modules>\r
-               <module>openflow-protocol-api</module>\r
-               <module>openflow-protocol-spi</module>\r
-               <module>openflow-protocol-impl</module>\r
-        <module>third-party/openflow-codec</module>\r
-        <module>third-party/openflowj_netty</module>\r
-       </modules>\r
-\r
-       <name>Openflow Protocol Library</name>\r
-\r
-       <developers>\r
-               <developer>\r
-                       <name>Adam BrĨek</name>\r
-                       <email>adam.brcek@pantheon.sk</email>\r
-               </developer>\r
-       </developers>\r
-\r
-\r
-       <properties>\r
-               <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>\r
-               <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>\r
-               <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>\r
-               <siteplugin>3.2</siteplugin>\r
-               <projectinfo>2.6</projectinfo>\r
-               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
-               <compiler.version>2.3.2</compiler.version>\r
-               <surefire.version>2.13</surefire.version>\r
-               <exam.version>3.0.0</exam.version>\r
-               <url.version>1.5.0</url.version>\r
-               <enunciate.version>1.26.2</enunciate.version>\r
-               <sonar.branch>${user.name}-private-view</sonar.branch>\r
-               <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>\r
-               <logback.version>1.0.9</logback.version>\r
-               <slf4j.version>1.7.2</slf4j.version>\r
-       </properties>\r
-\r
-       <pluginRepositories>\r
-               <pluginRepository>\r
-                       <id>central2</id>\r
-                       <name>central2</name>\r
-                       <url>${nexusproxy}/repositories/central2/</url>\r
-               </pluginRepository>\r
-               \r
-               <!-- OpenDayLight Released artifact -->\r
-               <pluginRepository>\r
-                       <id>opendaylight-release</id>\r
-                       <name>opendaylight-release</name>\r
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>\r
-               </pluginRepository>\r
-               <!-- OpenDayLight Snapshot artifact -->\r
-               <pluginRepository>\r
-                       <id>opendaylight-snapshot</id>\r
-                       <name>opendaylight-snapshot</name>\r
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>\r
-               </pluginRepository>\r
-       </pluginRepositories>\r
-\r
-\r
-       <repositories>\r
-               <!-- EBR release -->\r
-               <!-- http://repository.springsource.com/maven/bundles/release -->\r
-               <repository>\r
-                       <id>ebr-bundles-release</id>\r
-                       <name>ebr-bundles-release</name>\r
-                       <url>${nexusproxy}/repositories/ebr-bundles-release/</url>\r
-               </repository>\r
-               <!-- EBR external -->\r
-               <!-- http://repository.springsource.com/maven/bundles/external -->\r
-               <repository>\r
-                       <id>ebr-bundles-external</id>\r
-                       <name>ebr-bundles-external</name>\r
-                       <url>${nexusproxy}/repositories/ebr-bundles-external/</url>\r
-               </repository>\r
-               <!-- Maven repo2 mirror -->\r
-               <!-- http://repo2.maven.org/maven2 -->\r
-               <repository>\r
-                       <id>central2</id>\r
-                       <name>central2</name>\r
-                       <url>${nexusproxy}/repositories/central2/</url>\r
-               </repository>\r
-               <!-- Maven repo1 mirror -->\r
-               <!-- http://repo1.maven.org/maven2 -->\r
-               <repository>\r
-                       <id>central</id>\r
-                       <name>central</name>\r
-                       <url>${nexusproxy}/repositories/central/</url>\r
-               </repository>\r
-               <!-- Pax mirror -->\r
-               <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->\r
-               <repository>\r
-                       <id>ops4j-releases</id>\r
-                       <name>ops4j-releases</name>\r
-                       <url>${nexusproxy}/repositories/ops4j-releases/</url>\r
-               </repository>\r
-               <!-- Third Packages hosted in local maven because not available in other \r
-                       places -->\r
-               <repository>\r
-                       <id>thirdparty</id>\r
-                       <name>thirdparty</name>\r
-                       <url>${nexusproxy}/repositories/thirdparty/</url>\r
-               </repository>\r
-               <!-- Jboss mirror -->\r
-               <!-- https://repository.jboss.org/nexus/content/repositories/releases -->\r
-               <repository>\r
-                       <id>jboss.releases</id>\r
-                       <name>jboss.releases</name>\r
-                       <url>${nexusproxy}/repositories/jboss.releases/</url>\r
-               </repository>\r
-               <!-- OpenDayLight Released artifact -->\r
-               <repository>\r
-                       <id>opendaylight-release</id>\r
-                       <name>opendaylight-release</name>\r
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>\r
-               </repository>\r
-               <!-- OpenDayLight Snapshot artifact -->\r
-               <repository>\r
-                       <id>opendaylight-snapshot</id>\r
-                       <name>opendaylight-snapshot</name>\r
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>\r
-               </repository>\r
-       </repositories>\r
-       <distributionManagement>\r
-               <!-- OpenDayLight Released artifact -->\r
-               <repository>\r
-                       <id>opendaylight-release</id>\r
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>\r
-               </repository>\r
-               <!-- OpenDayLight Snapshot artifact -->\r
-               <snapshotRepository>\r
-                       <id>opendaylight-snapshot</id>\r
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>\r
-               </snapshotRepository>\r
-               <!-- Site deployment -->\r
-               <!-- site> <id>website</id> <url>${sitedeploy}</url> </site -->\r
-       </distributionManagement>\r
-\r
-\r
-       <dependencyManagement>\r
-               <dependencies>\r
-                       <dependency>\r
-                               <groupId>junit</groupId>\r
-                               <artifactId>junit</artifactId>\r
-                               <version>4.10</version>\r
-                               <scope>test</scope>\r
-                               <optional>true</optional>\r
-                       </dependency>\r
-                       <dependency>\r
-                               <groupId>org.slf4j</groupId>\r
-                               <artifactId>slf4j-api</artifactId>\r
-                               <version>1.7.2</version>\r
-                       </dependency>\r
-               </dependencies>\r
-       </dependencyManagement>\r
-       <build>\r
-               <plugins>\r
-                       <plugin>\r
-                               <groupId>org.apache.maven.plugins</groupId>\r
-                               <artifactId>maven-compiler-plugin</artifactId>\r
-                               <version>${compiler.version}</version>\r
-                               <inherited>true</inherited>\r
-                               <configuration>\r
-                                       <source>1.7</source>\r
-                                       <target>1.7</target>\r
-                               </configuration>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <groupId>org.apache.maven.plugins</groupId>\r
-                               <artifactId>maven-javadoc-plugin</artifactId>\r
-                               <version>2.8.1</version>\r
-                               <configuration>\r
-                                       <stylesheet>maven</stylesheet>\r
-                               </configuration>\r
-                               <executions>\r
-                                       <execution>\r
-                                               <goals>\r
-                                                       <goal>aggregate</goal>\r
-                                               </goals>\r
-                                               <phase>site</phase>\r
-                                       </execution>\r
-                                       <execution>\r
-                                               <id>attach-javadocs</id>\r
-                                               <phase>deploy</phase>\r
-                                               <goals>\r
-                                                       <goal>jar</goal>\r
-                                               </goals>\r
-                                       </execution>\r
-                               </executions>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <artifactId>maven-source-plugin</artifactId>\r
-                               <executions>\r
-                                       <execution>\r
-                                               <id>attach-sources</id>\r
-                                               <phase>deploy</phase>\r
-                                               <goals>\r
-                                                       <goal>jar-no-fork</goal>\r
-                                               </goals>\r
-                                       </execution>\r
-                               </executions>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <!-- explicitly define maven-deploy-plugin after other to force exec \r
-                                       order -->\r
-                               <artifactId>maven-deploy-plugin</artifactId>\r
-                               <executions>\r
-                                       <execution>\r
-                                               <id>deploy</id>\r
-                                               <phase>deploy</phase>\r
-                                               <goals>\r
-                                                       <goal>deploy</goal>\r
-                                               </goals>\r
-                                       </execution>\r
-                               </executions>\r
-                       </plugin>\r
-               </plugins>\r
-       </build>\r
-       <reporting>\r
-               <plugins>\r
-                       <plugin>\r
-                               <groupId>org.codehaus.mojo</groupId>\r
-                               <artifactId>findbugs-maven-plugin</artifactId>\r
-                               <version>2.4.0</version>\r
-                               <configuration>\r
-                                       <effort>Max</effort>\r
-                                       <threshold>Low</threshold>\r
-                                       <goal>site</goal>\r
-                               </configuration>\r
-                       </plugin>\r
-                       <plugin>\r
-                               <groupId>org.codehaus.mojo</groupId>\r
-                               <artifactId>jdepend-maven-plugin</artifactId>\r
-                               <version>2.0-beta-2</version>\r
-                       </plugin>\r
-               </plugins>\r
-       </reporting>\r
-       <profiles>\r
-               <profile>\r
-                       <id>viewbuild</id>\r
-                       <activation>\r
-                               <activeByDefault>true</activeByDefault>\r
-                       </activation>\r
-                       <properties>\r
-                               <build.suffix>${project.version}</build.suffix>\r
-                       </properties>\r
-               </profile>\r
-               <profile>\r
-                       <id>jenkins</id>\r
-                       <activation>\r
-                               <property>\r
-                                       <name>BUILDSUFFIX</name>\r
-                               </property>\r
-                       </activation>\r
-                       <properties>\r
-                               <build.suffix>${BUILDSUFFIX}</build.suffix>\r
-                       </properties>\r
-               </profile>\r
-       </profiles>\r
-</project>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+    <parent>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent</artifactId>
+        <version>1.5.4-Lithium-SR4</version>
+        <relativePath/>
+    </parent>
+
+    <groupId>org.opendaylight.openflowjava</groupId>
+    <artifactId>openflow-protocol-parent</artifactId>
+    <version>0.6.4-Lithium-SR4</version>
+    <name>openflowjava</name> <!-- Used by Sonar to set project name -->
+    <packaging>pom</packaging>
+
+    <modules>
+        <module>artifacts</module>
+        <module>features</module>
+        <module>openflowjava-config</module>
+        <module>openflow-protocol-api</module>
+        <module>openflow-protocol-impl</module>
+        <module>openflow-protocol-it</module>
+        <module>openflow-protocol-spi</module>
+        <module>simple-client</module>
+        <module>util</module>
+    </modules>
+    <scm>
+        <connection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</connection>
+        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/openflowjava.git</developerConnection>
+        <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>
+      <tag>HEAD</tag>
+    </scm>
+
+    <properties>
+        <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <jmxGeneratorPath>${project.build.directory}/yang-gen-config</jmxGeneratorPath>
+        <karaf.distro.empty.version>1.5.4-Lithium-SR4</karaf.distro.empty.version>
+        <salGeneratorPath>${project.build.directory}/yang-gen-sal</salGeneratorPath>
+
+        <config.version>0.3.4-Lithium-SR4</config.version>
+        <mdsal.version>1.2.4-Lithium-SR4</mdsal.version>
+        <yangtools.version>0.7.4-Lithium-SR4</yangtools.version>
+
+        <!-- Sonar config -->
+        <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
+        <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
+        <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
+        <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
+    </properties>
+
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+              <groupId>org.opendaylight.openflowjava</groupId>
+              <artifactId>openflowjava-artifacts</artifactId>
+              <version>${project.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.yangtools</groupId>
+              <artifactId>yangtools-artifacts</artifactId>
+              <version>${yangtools.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.controller</groupId>
+              <artifactId>config-artifacts</artifactId>
+              <version>${config.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+            </dependency>
+            <dependency>
+              <groupId>org.opendaylight.controller</groupId>
+              <artifactId>mdsal-artifacts</artifactId>
+              <version>${mdsal.version}</version>
+              <scope>import</scope>
+              <type>pom</type>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+    <dependencies>
+        <!-- Sonar -->
+        <dependency>
+            <groupId>org.codehaus.sonar-plugins.java</groupId>
+            <artifactId>sonar-jacoco-listeners</artifactId>
+            <version>${sonar-jacoco-listeners.version}</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <inherited>true</inherited>
+                <configuration>
+                    <source>1.7</source>
+                    <target>1.7</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.felix</groupId>
+              <artifactId>maven-bundle-plugin</artifactId>
+              <extensions>true</extensions>
+              <configuration>
+                <instructions>
+                  <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
+                </instructions>
+                <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+             <artifactId>maven-checkstyle-plugin</artifactId>
+              <version>2.12</version>
+              <configuration>
+                <failOnViolation>false</failOnViolation>
+                <configLocation>checkstyle-logging.xml</configLocation>
+                <consoleOutput>true</consoleOutput>
+                <includeTestSourceDirectory>true</includeTestSourceDirectory>
+                <sourceDirectory>${project.basedir}</sourceDirectory>
+                <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang</includes>
+                <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/</excludes>
+              </configuration>
+              <dependencies>
+                <dependency>
+                <groupId>org.opendaylight.yangtools</groupId>
+                <artifactId>checkstyle-logging</artifactId>
+                <version>${yangtools.version}</version>
+                </dependency>
+              </dependencies>
+              <executions>
+                <execution>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+                </execution>
+              </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+            </plugin>
+            <plugin>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prepare-ut-agent</id>
+                        <phase>process-test-classes</phase>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                        <configuration>
+                            <destFile>${sonar.jacoco.reportPath}</destFile>
+                            <propertyName>jacoco.agent.ut.arg</propertyName>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>prepare-it-agent</id>
+                        <phase>pre-integration-test</phase>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                        <configuration>
+                            <destFile>${sonar.jacoco.itReportPath}</destFile>
+                            <propertyName>jacoco.agent.it.arg</propertyName>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.opendaylight.yangtools</groupId>
+                    <artifactId>yang-maven-plugin</artifactId>
+                    <version>${yangtools.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>build-helper-maven-plugin</artifactId>
+                    <version>1.8</version>
+                    <executions>
+                        <execution>
+                            <id>add-source</id>
+                            <goals>
+                                <goal>add-source</goal>
+                            </goals>
+                            <phase>generate-sources</phase>
+                            <configuration>
+                                <sources>
+                                    <source>src/main/yang</source>
+                                </sources>
+                            </configuration>
+                        </execution>
+                    </executions>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-failsafe-plugin</artifactId>
+                    <configuration>
+                        <!-- Specific to generate mapping between tests and covered code -->
+                        <argLine>${jacoco.agent.it.arg}</argLine>
+                        <properties>
+                            <property>
+                                <name>listener</name>
+                                <value>org.sonar.java.jacoco.JUnitListener</value>
+                            </property>
+                        </properties>
+                        <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
+                        <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                        <!-- Specific to generate mapping between tests and covered code -->
+                        <argLine>${jacoco.agent.ut.arg}</argLine>
+                        <properties>
+                            <property>
+                                <name>listener</name>
+                                <value>org.sonar.java.jacoco.JUnitListener</value>
+                            </property>
+                        </properties>
+                    </configuration>
+                </plugin>
+                <!-- Ignore/Execute plugin execution -->
+                <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.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>
+                            <execute>
+                              <runOnIncremental>false</runOnIncremental>
+                            </execute>
+                          </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>
+                            <execute/>
+                          </action>
+                        </pluginExecution>
+                        <pluginExecution>
+                          <pluginExecutionFilter>
+                            <groupId>org.codehaus.groovy.maven</groupId>
+                            <artifactId>gmaven-plugin</artifactId>
+                            <versionRange>1.0</versionRange>
+                            <goals>
+                              <goal>execute</goal>
+                            </goals>
+                          </pluginExecutionFilter>
+                          <action>
+                            <ignore/>
+                          </action>
+                        </pluginExecution>
+                        <pluginExecution>
+                          <pluginExecutionFilter>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-enforcer-plugin</artifactId>
+                            <versionRange>${enforcer.version}</versionRange>
+                            <goals>
+                              <goal>enforce</goal>
+                            </goals>
+                          </pluginExecutionFilter>
+                          <action>
+                            <ignore/>
+                          </action>
+                        </pluginExecution>
+                      </pluginExecutions>
+                    </lifecycleMappingMetadata>
+                  </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>2.5.2</version>
+                <configuration>
+                    <effort>Max</effort>
+                    <threshold>Low</threshold>
+                    <goal>site</goal>
+                </configuration>
+            </plugin>
+            <plugin>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.3</version>
+              <configuration>
+                <aggregate>true</aggregate>
+                <linkJavadoc>true</linkJavadoc>
+              </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jdepend-maven-plugin</artifactId>
+                <version>2.0-beta-2</version>
+            </plugin>
+        </plugins>
+    </reporting>
+    <profiles>
+        <profile>
+            <id>viewbuild</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <properties>
+                <build.suffix>${project.version}</build.suffix>
+            </properties>
+        </profile>
+        <profile>
+            <id>jenkins</id>
+            <activation>
+                <property>
+                    <name>BUILDSUFFIX</name>
+                </property>
+            </activation>
+            <properties>
+                <build.suffix>${BUILDSUFFIX}</build.suffix>
+            </properties>
+        </profile>
+        <profile>
+            <id>repoBuild</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <version>2.8.1</version>
+                        <executions>
+                            <execution>
+                                <goals>
+                                    <goal>aggregate</goal>
+                                </goals>
+                                <phase>site</phase>
+                            </execution>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>jar-no-fork</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+</project>