myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r617599 - /myfaces/orchestra/trunk/maven/pom.xml
Date Fri, 01 Feb 2008 18:48:58 GMT
Author: skitching
Date: Fri Feb  1 10:48:56 2008
New Revision: 617599

URL: http://svn.apache.org/viewvc?rev=617599&view=rev
Log:
More parent pom improvements

Modified:
    myfaces/orchestra/trunk/maven/pom.xml

Modified: myfaces/orchestra/trunk/maven/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/maven/pom.xml?rev=617599&r1=617598&r2=617599&view=diff
==============================================================================
--- myfaces/orchestra/trunk/maven/pom.xml (original)
+++ myfaces/orchestra/trunk/maven/pom.xml Fri Feb  1 10:48:56 2008
@@ -214,6 +214,29 @@
       </plugin>
       -->
     </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.3</version>
+          <configuration>
+            <encoding>${myfaces.encoding.source}</encoding>
+            <docEncoding>${myfaces.encoding.doc}</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>${myfaces.encoding.source}</encoding>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 
   <properties>
@@ -221,6 +244,19 @@
     <myfaces.version>1.2.2</myfaces.version>
     <tomahawk.version>1.1.6</tomahawk.version>
     <myfaces-orchestra-shared.version>2.0.7</myfaces-orchestra-shared.version>
+
+    <!-- Default configuration for compiler source and target JVM -->
+    <maven.compile.source>1.4</maven.compile.source>
+    <maven.compile.target>1.4</maven.compile.target>
+
+    <!--
+      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.
+    -->
+    <myfaces.encoding.source>iso-8859-1</myfaces.encoding.source>
+    <myfaces.encoding.doc>${myfaces.encoding.source}</myfaces.encoding.doc>
+
   </properties>
 
 </project>



Mime
View raw message