You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/11/22 08:38:38 UTC

svn commit: r478061 - /myfaces/maven/trunk/master-pom/pom.xml

Author: bommel
Date: Tue Nov 21 23:38:37 2006
New Revision: 478061

URL: http://svn.apache.org/viewvc?view=rev&rev=478061
Log:
Checkstyle plugin is not able to resolve dependencies that are not in a public maven repository.
Include the build tool artifact as an build extension in the pom.

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

Modified: myfaces/maven/trunk/master-pom/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/maven/trunk/master-pom/pom.xml?view=diff&rev=478061&r1=478060&r2=478061
==============================================================================
--- myfaces/maven/trunk/master-pom/pom.xml (original)
+++ myfaces/maven/trunk/master-pom/pom.xml Tue Nov 21 23:38:37 2006
@@ -406,6 +406,11 @@
                 <artifactId>wagon-ssh-external</artifactId>
                 <version>1.0-alpha-5</version>
             </extension>
+            <extension>
+                <groupId>org.apache.myfaces.maven</groupId>
+                <artifactId>build-tools</artifactId>
+                <version>1.0.5-SNAPSHOT</version>
+            </extension>
         </extensions>
         <defaultGoal>install</defaultGoal>
         <!-- for better development process: follow instructions under http://wiki.apache.org/myfaces/JetBrains_IntelliJ_IDEA 
@@ -438,14 +443,11 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>
-                <dependencies>
-                    <dependency>
-                       <groupId>org.apache.myfaces.maven</groupId>
-                       <artifactId>build-tools</artifactId>
-                       <version>${pom.version}</version>
-                    </dependency>
-               </dependencies>
-               <version>2.1</version>
+                <version>2.1</version>
+                <configuration>
+                    <configLocation>config/myfaces-checks.xml</configLocation>
+                    <headerLocation>config/myfaces-header.txt</headerLocation>
+                </configuration>
             </plugin>
         </plugins>
     </build>