You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/07/23 10:51:50 UTC
svn commit: r679030 - /maven/pom/trunk/maven/pom.xml
Author: bentmann
Date: Wed Jul 23 01:51:49 2008
New Revision: 679030
URL: http://svn.apache.org/viewvc?rev=679030&view=rev
Log:
o Locked down source file encoding to UTF-8 for build reproducibility
o Excluded generated sources from PMD checks
Modified:
maven/pom/trunk/maven/pom.xml
Modified: maven/pom/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=679030&r1=679029&r2=679030&view=diff
==============================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Wed Jul 23 01:51:49 2008
@@ -128,6 +128,7 @@
<configuration>
<source>1.4</source>
<target>1.4</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
@@ -280,6 +281,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
+ <configuration>
+ <excludeRoots>
+ <excludeRoot>${project.build.directory}/generated-sources/modello</excludeRoot>
+ <excludeRoot>${project.build.directory}/generated-sources/plugin</excludeRoot>
+ </excludeRoots>
+ </configuration>
<executions>
<execution>
<goals>
@@ -318,6 +325,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
+ <configuration>
+ <excludeRoots>
+ <excludeRoot>${project.build.directory}/generated-sources/modello</excludeRoot>
+ <excludeRoot>${project.build.directory}/generated-sources/plugin</excludeRoot>
+ </excludeRoots>
+ </configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -339,6 +352,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.4</version>
<configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
<links>
<link>http://java.sun.com/j2se/1.4.2/docs/api</link>
<link>http://java.sun.com/j2ee/1.4/docs/api</link>
@@ -409,6 +423,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
<executions>
<execution>
<id>attach-javadocs</id>
@@ -863,5 +880,6 @@
<properties>
<distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
<distMgmtSnapshotsUrl>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</distMgmtSnapshotsUrl>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>