You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ca...@apache.org on 2011/08/03 11:27:53 UTC

svn commit: r1153406 - /incubator/jena/Experimental/TxTDB/trunk/pom.xml

Author: castagna
Date: Wed Aug  3 09:27:53 2011
New Revision: 1153406

URL: http://svn.apache.org/viewvc?rev=1153406&view=rev
Log:
Let's see if Jenkins finds the Maven Eclipse plugins and if we can publish Cobertura and FindBugs reports.

Modified:
    incubator/jena/Experimental/TxTDB/trunk/pom.xml

Modified: incubator/jena/Experimental/TxTDB/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Experimental/TxTDB/trunk/pom.xml?rev=1153406&r1=1153405&r2=1153406&view=diff
==============================================================================
--- incubator/jena/Experimental/TxTDB/trunk/pom.xml (original)
+++ incubator/jena/Experimental/TxTDB/trunk/pom.xml Wed Aug  3 09:27:53 2011
@@ -53,6 +53,7 @@
     <ver.junit>4.8.2</ver.junit>
     <ver.slf4j>1.6.1</ver.slf4j>
     <ver.log4j>1.2.16</ver.log4j>
+    <ver.jdk>1.6</ver.jdk>
   </properties>
 
   <dependencies>
@@ -312,9 +313,8 @@ build.time.txt=${build.time.txt}
         </configuration>
       </plugin>
 
-      <!--
       <plugin>
-	<groupId>org.apache.maven.plugins</groupId>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-eclipse-plugin</artifactId>
         <configuration>
           <buildOutputDirectory>${project.build.directory}/classes-eclipse</buildOutputDirectory>
@@ -322,7 +322,7 @@ build.time.txt=${build.time.txt}
           <downloadJavadocs>false</downloadJavadocs>
         </configuration>
       </plugin>
-      -->
+
     </plugins>
 
   </build>
@@ -337,11 +337,15 @@ build.time.txt=${build.time.txt}
           <outputDirectory>${project.basedir}/target/surefire-reports-html</outputDirectory>
         </configuration>
       </plugin>
-      <!--
+
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
         <configuration>
+          <formats>
+            <format>html</format>
+            <format>xml</format>
+          </formats>
           <instrumentation>
             <ignores>
               <ignore>org.slf4j.*</ignore>
@@ -349,35 +353,43 @@ build.time.txt=${build.time.txt}
           </instrumentation>
         </configuration>
       </plugin>
-      -->
-      <!--
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
       </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jxr-plugin</artifactId>
       </plugin>
-      -->
-      <!--
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-pmd-plugin</artifactId>
-        <!- -<version>2.4</version>- ->
+        <version>2.4</version>
         <configuration>
           <linkXref>true</linkXref>
-          <sourceEncoding>utf-8</sourceEncoding>
+          <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
           <minimumTokens>100</minimumTokens>
-          <targetJdk>1.5</targetJdk>
+          <targetJdk>${ver.jdk}</targetJdk>
+          <failOnViolation>false</failOnViolation>
         </configuration>
       </plugin>
 
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
+        <version>2.3.1</version>
+        <configuration>
+          <omitVisitors>Naming</omitVisitors>
+          <onlyAnalyze>org.apache.jena.larq.*</onlyAnalyze>
+          <findbugsXmlOutput>true</findbugsXmlOutput>
+          <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
+          <xmlOutput>true</xmlOutput>
+        </configuration>
       </plugin>
-      -->
+
     </plugins>
   </reporting>