enable all report plugins

(sadly this also mean enabling lots of "Project Information"
<reportSet> enabled in commons-parent )


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/d7e4cbe4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/d7e4cbe4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/d7e4cbe4

Branch: refs/heads/rdf4j
Commit: d7e4cbe49aa56e515a5ae83f8e531a91e1c5c44c
Parents: 091f1d1
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Wed Sep 7 02:13:28 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Wed Sep 7 02:14:06 2016 +0100

----------------------------------------------------------------------
 pom.xml | 305 +++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 194 insertions(+), 111 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/d7e4cbe4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6ac78f3..f9b85fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,18 +35,10 @@
     <name>Commons RDF</name>
     <description>Commons Java API for RDF 1.1</description>
 
-    <url>http://commonsrdf.incubator.apache.org</url>
+    <url>http://commonsrdf.incubator.apache.org/</url>
 
     <inceptionYear>2015</inceptionYear>
 
-    <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>
-        </license>
-    </licenses>
-
     <properties>
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
@@ -59,7 +51,9 @@
         <commons.site.path>rdf</commons.site.path>
         
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commonsrdf/content/</commons.scmPubUrl>
         
<commons.scmPubCheckoutDirectory>${project.build.directory}/site-content</commons.scmPubCheckoutDirectory>
-        
<commons.javadoc.java.link>http://docs.oracle.com/javase/8/docs/api/</commons.javadoc.java.link>
+        
<commons.javadoc.java.link>https://docs.oracle.com/javase/8/docs/api/</commons.javadoc.java.link>
+        <!-- upgrade from 0.8.0 -->
+         <commons.japicmp.version>0.9.0</commons.japicmp.version>
     </properties>
 
     <scm>
@@ -73,6 +67,10 @@
         <system>Jira</system>
         <url>https://issues.apache.org/jira/browse/COMMONSRDF</url>
     </issueManagement>
+    <ciManagement>
+      <system>jenkins</system>
+      <url>https://builds.apache.org/</url>
+    </ciManagement>
 
     <mailingLists>
         <mailingList>
@@ -180,7 +178,7 @@
         <contributor>
             <name>Peter Ansell</name>
             <email>ansell[at]apache[dot]org</email>
-            <url>http://github.com/ansell</url>
+            <url>https://github.com/ansell</url>
             <roles>
                 <role>Emeritus Committer</role>
                 <role>Emeritus PPMC Member</role>
@@ -280,26 +278,30 @@
                         <goals>
                             <goal>jar</goal>
                         </goals>
-                        <configuration>                                
-                            <additionalparam>-Xdoclint:none</additionalparam>
-                        </configuration>
                     </execution>
                 </executions>
+                <configuration>
+                    <additionalparam>-Xdoclint:none</additionalparam>
+                </configuration>
             </plugin>
+            <!--
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>                
+                <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
                     <source>${maven.compiler.source}</source>
                     <target>${maven.compiler.target}</target>
                     <encoding>${project.build.encoding}</encoding>
                 </configuration>
             </plugin>
+-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-release-plugin</artifactId>
                 <configuration>
-                    <useReleaseProfile>false</useReleaseProfile>
+                    <useReleaseProfile>true</useReleaseProfile>
+                    <!-- TODO: Use apache-parent's apache-release rather than 
common-parent's release? -->
+                    <releaseProfiles>release</releaseProfiles>
                     <goals>deploy</goals>
                     <autoVersionSubmodules>true</autoVersionSubmodules>
                     <localCheckout>true</localCheckout>
@@ -309,25 +311,41 @@
                     <connectionUrl>scm:git:file://`pwd`/.git</connectionUrl>
                 </configuration>
             </plugin>
-            <!-- Create code coverage reports and submit them to coveralls.io. 
-->
+            <!-- Create code coverage reports and submit them to coveralls.io.
+            https://coveralls.io/github/apache/incubator-commonsrdf
+            -->
             <plugin>
                 <groupId>org.eluder.coveralls</groupId>
                 <artifactId>coveralls-maven-plugin</artifactId>
-                <version>3.1.0</version>
-            </plugin>
-            <plugin>
-                <groupId>org.jacoco</groupId>
-                <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.7.2.201409121644</version>
-                <executions>
-                    <execution>
-                        <id>prepare-agent</id>
-                        <goals>
-                            <goal>prepare-agent</goal>
-                        </goals>
-                    </execution>
-                </executions>
+                <version>4.2.0</version>
             </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>jdepend-maven-plugin</artifactId>
+        <version>${commons.jdepend.version}</version>
+        <dependencies>
+            <!-- Forked jdepend https://github.com/nidi3/jdepend supports Java 
8 -->
+            <dependency>
+              <groupId>guru.nidi</groupId>
+              <artifactId>jdepend</artifactId>
+              <version>2.9.5</version>
+            </dependency>
+        </dependencies>
+      </plugin>
+
+      <plugin>
+        <!-- Check if we broke compatibibility against previous release -->
+        <groupId>com.github.siom79.japicmp</groupId>
+        <artifactId>japicmp-maven-plugin</artifactId>
+        <version>${commons.japicmp.version}</version>
+        <configuration>
+          <parameter>
+            <!-- Tell japicmp about the -incubator suffix  -->
+            <oldVersionPattern>\d+\.\d+\.\d+\-incubating</oldVersionPattern>
+          </parameter>
+        </configuration>
+      </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
@@ -338,41 +356,20 @@
                         <version>1.6</version>
                     </dependency>
                 </dependencies>
+                <!--
                 <configuration>
-                    <siteDirectory>${basedir}/src/site</siteDirectory>
+                    <siteDirectory>${project.basedir}/src/site</siteDirectory>
                     
<outputDirectory>${project.build.directory}/site</outputDirectory>
-                    <inputEncoding>${project.build.encoding}</inputEncoding>
-                    <outputEncoding>${project.build.encoding}</outputEncoding>
                     <showAvatarImages>false</showAvatarImages>
-                    <reportPlugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-javadoc-plugin</artifactId>
-                            <configuration>
-                                
<additionalparam>-Xdoclint:none</additionalparam>
-                            </configuration>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            
<artifactId>maven-project-info-reports-plugin</artifactId>
-                            <version>2.7</version> 
-                            <configuration>
-                                
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
-                            </configuration>
-                            <reports> 
-                                <report>project-team</report>
-                                <report>mailing-list</report>
-                                <report>scm</report>
-                            </reports>
-                        </plugin>
-                    </reportPlugins>
                 </configuration>
+              -->
             </plugin>
         </plugins>
         <pluginManagement>
             <plugins>
-                <!--This plugin's configuration is used to store Eclipse m2e 
settings 
+                <!--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>
@@ -380,11 +377,12 @@
                     <configuration>
                         <lifecycleMappingMetadata>
                             <pluginExecutions>
+                              <!-- No longer needed?
                                 <pluginExecution>
                                     <pluginExecutionFilter>
                                         <groupId>org.jacoco</groupId>
                                         
<artifactId>jacoco-maven-plugin</artifactId>
-                                        
<versionRange>[0.7.2.201409121644,)</versionRange>
+                                        
<versionRange>[${commons.jacoco.version},)</versionRange>
                                         <goals>
                                             <goal>prepare-agent</goal>
                                         </goals>
@@ -393,6 +391,7 @@
                                         <ignore />
                                     </action>
                                 </pluginExecution>
+                              -->
                                 <pluginExecution>
                                     <pluginExecutionFilter>
                                         
<groupId>org.apache.maven.plugins</groupId>
@@ -410,6 +409,8 @@
                         </lifecycleMappingMetadata>
                     </configuration>
                 </plugin>
+
+                <!--
                 <plugin>
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>animal-sniffer-maven-plugin</artifactId>
@@ -417,7 +418,7 @@
                     <configuration>
                         <skip>true</skip>
                     </configuration>
-                </plugin>
+                </plugin>-->
                 <plugin>
                     <groupId>org.apache.rat</groupId>
                     <artifactId>apache-rat-plugin</artifactId>
@@ -440,6 +441,93 @@
             </plugins>
         </pluginManagement>
     </build>
+    <reporting>
+
+      <plugins>
+        <plugin>
+             <groupId>org.apache.maven.plugins</groupId>
+             <artifactId>maven-javadoc-plugin</artifactId>
+             <configuration>
+                 <additionalparam>-Xdoclint:none</additionalparam>
+             </configuration>
+             <reportSets>
+               <reportSet><!-- by default, id = "default" -->
+                 <reports><!-- select non-aggregate reports -->
+                   <report>javadoc</report>
+                   <report>test-javadoc</report>
+                 </reports>
+               </reportSet>
+               <reportSet><!-- aggregate reportSet, to define in poms having 
modules -->
+                 <id>aggregate</id>
+                 <inherited>false</inherited><!-- don't run aggregate in child 
modules -->
+                 <reports>
+                   <report>aggregate</report>
+                 </reports>
+               </reportSet>
+             </reportSets>
+         </plugin>
+  <plugin>
+    <groupId>org.apache.maven.plugins</groupId>
+    <artifactId>maven-checkstyle-plugin</artifactId>
+    <version>${checkstyle.plugin.version}</version>
+        <configuration>
+          
<configLocation>${project.basedir}/src/conf/checkstyle.xml</configLocation>
+          <!-- Needed to define config_loc -->
+          <propertyExpansion>config_loc=${project.basedir}</propertyExpansion>
+          <enableRulesSummary>false</enableRulesSummary>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>checkstyle-aggregate</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+  </plugin>
+
+<plugin>
+  <artifactId>maven-pmd-plugin</artifactId>
+          <version>3.6</version>
+          <configuration>
+            <targetJdk>${maven.compiler.target}</targetJdk>
+            <linkXref>true</linkXref>
+          </configuration>
+          <reportSets>
+            <reportSet>
+              <id>pmd-report</id>
+              <reports>
+                <report>pmd</report>
+              </reports>
+            </reportSet>
+            <reportSet>
+              <id>pmd-aggregate</id>
+              <inherited>false</inherited>
+              <reports>
+                <report>pmd</report>
+              </reports>
+              <configuration>
+                <aggregate>true</aggregate>
+              </configuration>
+            </reportSet>
+          </reportSets>
+        </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>${commons.findbugs.version}</version>
+        <configuration>
+          <threshold>Normal</threshold>
+          <effort>Default</effort>
+          
<excludeFilterFile>src/conf/findbugs-exclude-filter.xml</excludeFilterFile>
+          <fork>true</fork>
+          <jvmArgs>-Duser.language=en</jvmArgs>
+        </configuration>
+      </plugin>
+
+</plugins>
+
+    </reporting>
 
     <profiles>
         <profile>
@@ -447,65 +535,60 @@
             <!-- extends the release profile from commons -->
             <build>
                 <plugins>
+                  <!-- Generate convenience *.md5 *.sha1 files for dist 
puropses -->
+                  <plugin>
+                      <groupId>org.apache.maven.plugins</groupId>
+                      <artifactId>maven-antrun-plugin</artifactId>
+                      <executions>
+                          <execution>
+                              <id>default-cli</id>
+                              <goals>
+                                  <goal>run</goal>
+                              </goals>
+                              <phase>package</phase>
+                              <configuration>
+                                  <tasks>
+                                      <checksum algorithm="MD5" fileext=".md5">
+                                          <fileset 
dir="${project.build.directory}">
+                                              <include name="*.zip" />
+                                              <include name="*.tar.gz" />
+                                          </fileset>
+                                      </checksum>
+                                      <checksum algorithm="SHA1" 
fileext=".sha1">
+                                          <fileset 
dir="${project.build.directory}">
+                                              <include name="*.zip" />
+                                              <include name="*.tar.gz" />
+                                          </fileset>
+                                      </checksum>
+                                  </tasks>
+                              </configuration>
+                          </execution>
+                      </executions>
+                      <dependencies>
+                          <dependency>
+                              <groupId>org.apache.ant</groupId>
+                              <artifactId>ant-nodeps</artifactId>
+                              <version>1.8.1</version>
+                          </dependency>
+                      </dependencies>
+                  </plugin>
+
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-gpg-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                                <configuration>
-                                    <excludes>
-                                        <exclude>**/*.asc</exclude>
-                                        <exclude>**/*.md5</exclude>
-                                        <exclude>**/*.sha1</exclude>
-                                    </excludes>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-antrun-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>default-cli</id>
-                                <goals>
-                                    <goal>run</goal>
-                                </goals>
-                                <phase>package</phase>
-                                <configuration>
-                                    <tasks>
-                                        <checksum algorithm="MD5" 
fileext=".md5">
-                                            <fileset 
dir="${project.build.directory}">
-                                                <include name="*.zip" />
-                                                <include name="*.tar.gz" />
-                                            </fileset>
-                                        </checksum>
-                                        <checksum algorithm="SHA1" 
fileext=".sha1">
-                                            <fileset 
dir="${project.build.directory}">
-                                                <include name="*.zip" />
-                                                <include name="*.tar.gz" />
-                                            </fileset>
-                                        </checksum>
-                                    </tasks>
-                                </configuration>
-                            </execution>
-                        </executions>
-                        <dependencies>
-                            <dependency>
-                                <groupId>org.apache.ant</groupId>
-                                <artifactId>ant-nodeps</artifactId>
-                                <version>1.8.1</version>
-                            </dependency>
-                        </dependencies>
+                        <configuration>
+                            <excludes>
+                                <exclude>**/*.asc</exclude>
+                                <exclude>**/*.md5</exclude>
+                                <exclude>**/*.sha1</exclude>
+                            </excludes>
+                        </configuration>
                     </plugin>
                 </plugins>
             </build>
         </profile>
     </profiles>
 
+
+
 </project>

Reply via email to