Romain Manni-Bucau created MCHECKSTYLE-211:
----------------------------------------------

             Summary: allow inline configuration for checkstyle plugin
                 Key: MCHECKSTYLE-211
                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-211
             Project: Maven Checkstyle Plugin
          Issue Type: New Feature
            Reporter: Romain Manni-Bucau
         Attachments: CHECKSTYLE-inline.patch

Make possible to not rely on an external module or file:

{code}
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>@pom.version@</version>
        <executions>
          <execution>
            <id>check</id>
            <phase>process-resources</phase>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <checkstyleRules>
            <name>Checker</name>
            <modules>
              <module>
                <name>TreeWalker</name>
                <modules>
                  <module>
                    <name>EmptyBlock</name>
                  </module>
                </modules>
              </module>
            </modules>
          </checkstyleRules>
        </configuration>
      </plugin>
{code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to