You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/11/08 16:12:48 UTC

svn commit: r593188 - /myfaces/myfaces-master-pom/trunk/pom.xml

Author: manolito
Date: Thu Nov  8 07:12:48 2007
New Revision: 593188

URL: http://svn.apache.org/viewvc?rev=593188&view=rev
Log:
better to have maven-compiler-plugin in <pluginManagement> so that it is not automatically executed for every child pom,
removed the checkstyle plugin from <build> but left it in <reporting>

Modified:
    myfaces/myfaces-master-pom/trunk/pom.xml

Modified: myfaces/myfaces-master-pom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-master-pom/trunk/pom.xml?rev=593188&r1=593187&r2=593188&view=diff
==============================================================================
--- myfaces/myfaces-master-pom/trunk/pom.xml (original)
+++ myfaces/myfaces-master-pom/trunk/pom.xml Thu Nov  8 07:12:48 2007
@@ -504,36 +504,32 @@
             <timezone>+2</timezone>           
         </contributor>        
     </contributors>
+
     <scm>
         <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk</connection>
         <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/myfaces-master-pom/trunk</developerConnection>
         <url>http://svn.apache.org/viewcvs.cgi/myfaces/myfaces-master-pom/trunk</url>
     </scm>
+
     <build>
         <defaultGoal>install</defaultGoal>
-        <plugins>
-            <plugin>
-                <!--
-                All artifacts that are JSF 1.1 compatible should be compilable with Java 1.3, so this is the default.
-                JSF 1.2 or special Java 1.5 related artifacts must override these settings. 
-                -->
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.3</source>
-                    <target>1.3</target>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <version>2.1</version>
-                <configuration>
-                    <configLocation>http://svn.apache.org/repos/asf/myfaces/maven/trunk/build-tools/src/main/resources/config/myfaces-checks.xml</configLocation>
-                    <headerLocation>http://svn.apache.org/repos/asf/myfaces/maven/trunk/build-tools/src/main/resources/config/myfaces-header.txt</headerLocation>
-                </configuration>
-            </plugin>
-        </plugins>
+        <pluginManagement>
+          <plugins>
+              <plugin>
+                  <!--
+                  All artifacts that are JSF 1.1 compatible should be compilable with Java 1.3, so this is the default.
+                  JSF 1.2 or special Java 1.5 related artifacts must override these settings. 
+                  -->
+                  <artifactId>maven-compiler-plugin</artifactId>
+                  <configuration>
+                      <source>1.3</source>
+                      <target>1.3</target>
+                  </configuration>
+              </plugin>
+          </plugins>
+        </pluginManagement>
     </build>
+
     <reporting>
         <plugins>
             <plugin>
@@ -575,6 +571,7 @@
             </plugin>
       </plugins>
     </reporting>
+
     <distributionManagement>
         <repository>
             <id>myfaces-staging</id>