Re: define a search pattern in pom.xml
"Oliver Burn" <[email protected]> Sun, 2 Nov 2008 22:33:08 +1100
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Sorry - I am not experiences with Maven. Maybe you can exclude files from being checked by Checkstyle -- I would do this in ANT. Alternatively, you could use a SuppressionFilter ( http://checkstyle.sourceforge.net/config.html#Filters) to exclude files from being reported on. On Thu, Oct 30, 2008 at 22:35, Michael Siebert <[email protected]> wrote: > Hi All, > > I'm running checkstyle 2.2 plugin for maven. > I run mvn with a pom.xml. > For findbugs I defined > <onlyAnalsyze>**here comes a regex pattern**</onlyAnalyse> > because I don't want maven to analyse all packages in folder but only that > matching the pattern. > Now the question: Is that possible for checkstyle, too? > I couldn't find an easy solution on the web ... > > Definition in my pom.xml: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > </plugin> > > Thank you all a lot for your help in advance!! > > Best wishes > Mickey > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user