commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joc...@apache.org
Subject svn commit: r613456 - /commons/proper/commons-parent/trunk/pom.xml
Date Sat, 19 Jan 2008 21:27:11 GMT
Author: jochen
Date: Sat Jan 19 13:27:11 2008
New Revision: 613456

URL: http://svn.apache.org/viewvc?rev=613456&view=rev
Log:
Fix an encoding problem when generating javadocs. See

http://www.nabble.com/-VOTE--Release-commons-fileupload-1.2.1-%28rc4%29-to14962995.html

Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=613456&r1=613455&r2=613456&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Sat Jan 19 13:27:11 2008
@@ -168,6 +168,20 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.3</version>
+          <configuration>
+            <encoding>${commons.encoding}</encoding>
+            <docEncoding>${commons.docEncoding}</docEncoding>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.0.2</version>
+          <configuration>
+            <source>${maven.compile.source}</source>
+            <target>${maven.compile.target}</target>
+            <encoding>${commons.encoding}</encoding>
+          </configuration>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -180,10 +194,6 @@
       <!-- TODO: later use toolchain support to do compilation on an external JDK 1.3+
compiler -->
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>${maven.compile.source}</source>
-          <target>${maven.compile.target}</target>
-        </configuration>
       </plugin>
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
@@ -248,6 +258,8 @@
         <configuration> 
           <aggregate>true</aggregate>
           <source>${maven.compile.source}</source>
+          <encoding>${commons.encoding}</encoding>
+          <docEncoding>${commons.docEncoding}</docEncoding>
         </configuration> 
       </plugin>
       <plugin>
@@ -449,6 +461,14 @@
       other protocols like scpexe, which some users prefer over scp.
     -->
     <commons.deployment.protocol>scp</commons.deployment.protocol>
+
+    <!--
+      Encoding of Java source files: Make sure, that the compiler and
+      the javadoc generator use the right encoding. Subprojects may
+      overwrite this, if they are using another encoding.
+    -->
+    <commons.encoding>iso-8859-1</commons.encoding>
+    <commons.docEncoding>${commons.encoding}</commons.docEncoding>
 
   </properties>
 



Mime
View raw message