You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/07/13 09:47:38 UTC
svn commit: r676269 - /myfaces/commons/trunk/pom.xml
Author: skitching
Date: Sun Jul 13 00:47:38 2008
New Revision: 676269
URL: http://svn.apache.org/viewvc?rev=676269&view=rev
Log:
Upgrade to new parent pom. Enable checkstyle rules.
Modified:
myfaces/commons/trunk/pom.xml
Modified: myfaces/commons/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/pom.xml?rev=676269&r1=676268&r2=676269&view=diff
==============================================================================
--- myfaces/commons/trunk/pom.xml (original)
+++ myfaces/commons/trunk/pom.xml Sun Jul 13 00:47:38 2008
@@ -14,13 +14,18 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+-->
+<project
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.myfaces</groupId>
<artifactId>myfaces</artifactId>
- <version>5</version>
+ <version>6</version>
</parent>
<groupId>org.apache.myfaces.commons</groupId>
@@ -65,7 +70,31 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <!--
+ - Make a checkstyle violation a compile error. Note that if a compile error occurs,
+ - further information can be found in target/site/checkstyle.html (present even when
+ - just the compile goal and not the site goal has been run). Note also that child
+ - projects may redeclare this plugin and provide different configuration settings
+ - to use different checks (more or less strict than the default).
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>verify-style</id>
+ <phase>process-sources</phase>
+ <goals><goal>check</goal></goals>
+ </execution>
+ </executions>
+ <configuration>
+ <configLocation>default/myfaces-checks-minimal.xml</configLocation>
+ <headerLocation>default/myfaces-header.txt</headerLocation>
+ </configuration>
+ </plugin>
</plugins>
+
<pluginManagement>
<plugins>
<plugin>
@@ -260,4 +289,18 @@
</build>
</profile>
</profiles>
-</project>
\ No newline at end of file
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <configLocation>default/myfaces-checks-normal.xml</configLocation>
+ <headerLocation>default/myfaces-header-spaces.txt</headerLocation>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>