sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1382729 - /incubator/sis/trunk/pom.xml
Date Mon, 10 Sep 2012 10:12:53 GMT
Author: desruisseaux
Date: Mon Sep 10 10:12:53 2012
New Revision: 1382729

URL: http://svn.apache.org/viewvc?rev=1382729&view=rev
Log:
Added explicit locale and encoding settings (SIS-56).

Modified:
    incubator/sis/trunk/pom.xml

Modified: incubator/sis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/pom.xml?rev=1382729&r1=1382728&r2=1382729&view=diff
==============================================================================
--- incubator/sis/trunk/pom.xml (original)
+++ incubator/sis/trunk/pom.xml Mon Sep 10 10:12:53 2012
@@ -267,9 +267,12 @@ Apache SIS is a toolkit for describing l
          configuration.
        ============================================================== -->
   <properties>
+    <geoapi.version>3.0.0</geoapi.version>
     <maven.compile.source>1.6</maven.compile.source>
     <maven.compile.target>1.6</maven.compile.target>
-    <geoapi.version>3.0.0</geoapi.version>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <website.encoding>UTF-8</website.encoding>
+    <website.locale>en</website.locale>
   </properties>
 
 
@@ -287,6 +290,7 @@ Apache SIS is a toolkit for describing l
         <configuration>
           <source>${maven.compile.source}</source>
           <target>${maven.compile.target}</target>
+          <encoding>${project.build.sourceEncoding}</encoding>
         </configuration>
       </plugin>
 
@@ -306,6 +310,11 @@ Apache SIS is a toolkit for describing l
       <!-- Create web site -->
       <plugin>
         <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <locales>${website.locale}</locales>
+          <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+          <outputEncoding>${website.encoding}</outputEncoding>
+        </configuration>
       </plugin>
     </plugins>
 
@@ -335,6 +344,10 @@ Apache SIS is a toolkit for describing l
         <version>2.8.1</version>
         <configuration>
           <source>${maven.compile.source}</source>
+          <encoding>${project.build.sourceEncoding}</encoding>
+          <docencoding>${website.encoding}</docencoding>
+          <charset>${website.encoding}</charset>
+          <locale>${website.locale}</locale>
         </configuration>
       </plugin>
 
@@ -384,7 +397,7 @@ Apache SIS is a toolkit for describing l
         <version>2.7.1</version>
         <configuration>
           <linkXref>true</linkXref>
-          <sourceEncoding>ASCII</sourceEncoding>
+          <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
           <targetJdk>${maven.compile.target}</targetJdk>
         </configuration>
       </plugin>



Mime
View raw message