You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/10 01:29:01 UTC

svn commit: r1200062 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml

Author: lofwyr
Date: Thu Nov 10 00:29:00 2011
New Revision: 1200062

URL: http://svn.apache.org/viewvc?rev=1200062&view=rev
Log:
TOBAGO-1047: Checkstyle configuration file to find deprecated attriubutes or tags.
 - check the demo for checkstyle warnings

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml?rev=1200062&r1=1200061&r2=1200062&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/pom.xml Thu Nov 10 00:29:00 2011
@@ -460,5 +460,31 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>checkstyle-for-pdl</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <version>2.7</version>
+            <configuration>
+              <configLocation>META-INF/checkstyle-tobago.xml</configLocation>
+              <includes>**/*.xhtml,**/*.jsp,**/*.tag</includes>
+              <excludes>**/*.java</excludes>
+              <sourceDirectory>src/main/webapp</sourceDirectory>
+            </configuration>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.myfaces.tobago</groupId>
+                <artifactId>tobago-taglib-extension</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>