Created
April 29, 2012 13:56
Maven Eclipse Plugin configuration with Checkstyle support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-eclipse-plugin</artifactId> | |
<version>2.9</version> | |
<configuration> | |
<projectNameTemplate>[artifactId]</projectNameTemplate> | |
<wtpmanifest>false</wtpmanifest> | |
<wtpapplicationxml>true</wtpapplicationxml> | |
<wtpversion>2.0</wtpversion> | |
<manifest /> | |
<downloadSources>false</downloadSources> | |
<downloadJavadocs>false</downloadJavadocs> | |
<additionalBuildcommands> | |
<buildcommand>net.sf.eclipsecs.core.CheckstyleBuilder</buildcommand> | |
</additionalBuildcommands> | |
<additionalProjectnatures> | |
<projectnature>net.sf.eclipsecs.core.CheckstyleNature</projectnature> | |
</additionalProjectnatures> | |
<additionalConfig> | |
<file> | |
<name>.checkstyle</name> | |
<content> | |
<![CDATA[ | |
<?xml version="1.0" encoding="UTF-8"?> | |
<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="true"> | |
<fileset name="all" enabled="true" check-config-name="klicap" local="false"> | |
<file-match-pattern match-pattern="." include-pattern="true"/> | |
</fileset> | |
<filter name="FileTypesFilter" enabled="true"> | |
<filter-data value="java"/> | |
</filter> | |
<filter name="NonSrcDirs" enabled="true"/> | |
</fileset-config> | |
]]> | |
</content> | |
</file> | |
</additionalConfig> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment