[ https://jira.codehaus.org/browse/MCHECKSTYLE-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau updated MCHECKSTYLE-211: ------------------------------------------- Description: 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} or (better) this one: {code} <configuration> <logViolationsToConsole>true</logViolationsToConsole> <checkstyleRules> <![CDATA[ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> <module name="Checker"> <module name="TreeWalker"> <module name="EmptyBlock"/> </module> </module> ]]> </checkstyleRules> </configuration> {code} was: 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} > 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-inlineCDATA.patch, > CHECKSTYLE-inlineCDATA.patch, 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} > or (better) this one: > {code} > <configuration> > <logViolationsToConsole>true</logViolationsToConsole> > <checkstyleRules> > <![CDATA[ > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration > 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> > <module name="Checker"> > <module name="TreeWalker"> > <module name="EmptyBlock"/> > </module> > </module> > ]]> > </checkstyleRules> > </configuration> > {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)