incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r966836 - in /incubator/oodt/trunk: README.txt core/pom.xml
Date Thu, 22 Jul 2010 20:12:20 GMT
Author: kelly
Date: Thu Jul 22 20:12:19 2010
New Revision: 966836

URL: http://svn.apache.org/viewvc?rev=966836&view=rev
Log:
Make sure UTF-8 is used to read sources and generate reports

Modified:
    incubator/oodt/trunk/README.txt
    incubator/oodt/trunk/core/pom.xml

Modified: incubator/oodt/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/README.txt?rev=966836&r1=966835&r2=966836&view=diff
==============================================================================
--- incubator/oodt/trunk/README.txt (original)
+++ incubator/oodt/trunk/README.txt Thu Jul 22 20:12:19 2010
@@ -94,10 +94,14 @@ You can then open the OODT Documentation
 
     ./target/site/index.html
 
-Note: generating the documentation requires enormous amounts of memory.  More
-than likely you'll need to set the MAVEN_OPTS environment variable to
-"-Xmx512m" or larger before attempting to run "mvn site".
+Note: all OODT source files are encoded with UTF-8.  You must set your
+MAVEN_OPTS environment variable to include "-Dfile.encoding=UTF-8" in order to
+properly generate the web site and other artifacts from source.
 
+Note: generating the documentation requires enormous amounts of memory.  More
+than likely you'll need to add to the MAVEN_OPTS environment variable in order
+to set the Java heap maximum size with "-Xmx512m" or larger before attempting
+to run "mvn site".
 
 Mailing Lists
 =============

Modified: incubator/oodt/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/oodt/trunk/core/pom.xml?rev=966836&r1=966835&r2=966836&view=diff
==============================================================================
--- incubator/oodt/trunk/core/pom.xml (original)
+++ incubator/oodt/trunk/core/pom.xml Thu Jul 22 20:12:19 2010
@@ -29,6 +29,8 @@ the License.
         <xdocVersion>${pom.version}</xdocVersion>
         <genDownloadLinks>false</genDownloadLinks>
         <docsSrc>${basedir}/src/site/xdoc</docsSrc>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
     <url>http://incubator.apache.org/oodt/${pom.artifactId}</url>
     <issueManagement>
@@ -232,6 +234,13 @@ the License.
             </plugin>
             <plugin>
                 <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.7</version>
+                <configuration>
+                    <outputEncoding>UTF-8</outputEncoding>
+                    <charset>UTF-8</charset>
+                    <docencoding>UTF-8</docencoding>
+                    <encoding>UTF-8</encoding>
+                </configuration>
                 <executions>
                     <execution>
                         <id>attach-javadocs</id>
@@ -267,10 +276,13 @@ the License.
             </plugin> -->
             <!-- Produce JavaDoc -->
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.2</version>
+                <version>2.7</version>
                 <configuration>
+                    <outputEncoding>UTF-8</outputEncoding>
+                    <charset>UTF-8</charset>
+                    <docencoding>UTF-8</docencoding>
+                    <encoding>UTF-8</encoding>
                     <aggregate>true</aggregate>
                     <source>1.5</source>
                 </configuration>



Mime
View raw message