[ANN] Maven Checkstyle Plugin 3.6.0 released

2024-10-25 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.6.0. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

[ANN] Maven Checkstyle Plugin 3.5.0 released

2024-08-22 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.5.0. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

[ANN] Maven Checkstyle Plugin 3.4.0 released

2024-06-05 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.4.0. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 19:03, Jeff Jensen wrote: > Sorry for the vagueness. I meant something even simpler - running the > Checkstyle goal separately, probably in two Maven executions similar to: > mvn checkstyle:checkstyle > mvn install -Dcheckstyle.skip=true I have ended up having to

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread Jeff Jensen
Sorry for the vagueness. I meant something even simpler - running the Checkstyle goal separately, probably in two Maven executions similar to: mvn checkstyle:checkstyle mvn install -Dcheckstyle.skip=true On Sun, Apr 21, 2024 at 12:35 PM wrote: > On 21/04/2024 15:59, Jeff Jensen wr

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
On 21/04/2024 15:59, Jeff Jensen wrote: > Have you considered only running the checkstyle goal, from the parent so it > processes all modules, before the full build goal(s)? > There are two ways that I can interpret this: 1. Set the execution in the parent so that all of the chil

Re: Running maven-checkstyle-plugin from the root module

2024-04-21 Thread Jeff Jensen
Have you considered only running the checkstyle goal, from the parent so it processes all modules, before the full build goal(s)? On Sun, Apr 21, 2024 at 9:27 AM wrote: > Hello! > > I've been using the maven-checkstyle-plugin for many years now. Almost > all of my projects

Running maven-checkstyle-plugin from the root module

2024-04-21 Thread org . apache . maven . user
Hello! I've been using the maven-checkstyle-plugin for many years now. Almost all of my projects are heavily multi-module, and I have a fairly traditional setup where a checkstyle plugin execution is defined in my organization-wide POM, and inherited by all modules in all projects.

Re: maven-checkstyle-plugin using project dependencies?

2023-12-18 Thread Karl Heinz Marbaise
On 15.12.23 18:01, David Hoffer wrote: Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${

Re: maven-checkstyle-plugin using project dependencies?

2023-12-18 Thread mark
Op 15-12-2023 om 18:01 schreef David Hoffer: Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${

maven-checkstyle-plugin using project dependencies?

2023-12-15 Thread David Hoffer
Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.ve

[ANN] Maven Checkstyle Plugin 3.3.1 released

2023-10-24 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.3.1. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

[ANN] Maven Checkstyle Plugin 3.3.0 released

2023-05-22 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.3.0. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

Re: [ANN] Maven Checkstyle Plugin 3.2.2 released

2023-04-20 Thread Maxim Solodovnik
of the Maven > Checkstyle Plugin, version 3.2.2. > > https://maven.apache.org/plugins/maven-checkstyle-plugin/ > > You should specify the version in your project's plugin configuration: > > >org.apache.maven.plugins >>maven-checkstyle-plugin >3.2.2

[ANN] Maven Checkstyle Plugin 3.2.2 released

2023-04-20 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.2.2. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

[ANN] Maven Checkstyle Plugin 3.2.1 released

2023-01-11 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.2.1. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

[ANN] Maven Checkstyle Plugin 3.2.0 released

2022-08-23 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 3.2.0. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyl

Re: Any plans to release maven-checkstyle-plugin?

2022-05-28 Thread Hervé BOUTEMY
: > BTW org.apache.velocity:velocity used in 3.1.2 is reported as > vulnerable here: > https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-checkstyle > -plugin/3.1.2 > On Fri, 22 Apr 2022 at 10:42, Maxim Solodovnik wrote: > > 3.2.0-SNAPSHOT works as expected >

Re: Any plans to release maven-checkstyle-plugin?

2022-05-18 Thread Slawomir Jaranowski
] https://issues.apache.org/jira/projects/MCHECKSTYLE/ [2] https://github.com/apache/maven-checkstyle-plugin/pulls śr., 18 maj 2022 o 05:38 Maxim Solodovnik napisał(a): > BTW org.apache.velocity:velocity used in 3.1.2 is reported as > vulnerable here: > > https://mvnrepository.

Re: Any plans to release maven-checkstyle-plugin?

2022-05-17 Thread Maxim Solodovnik
BTW org.apache.velocity:velocity used in 3.1.2 is reported as vulnerable here: https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-checkstyle-plugin/3.1.2 On Fri, 22 Apr 2022 at 10:42, Maxim Solodovnik wrote: > > 3.2.0-SNAPSHOT works as expected > at least "Inst

Re: Any plans to release maven-checkstyle-plugin?

2022-04-21 Thread Maxim Solodovnik
3.2.0-SNAPSHOT works as expected at least "Instanceof pattern matching" seems to pass checkstyle :) On Thu, 21 Apr 2022 at 19:21, Falko Modler wrote: > > Hi Maxim, > > it works for me when adding checkstyle 9.3 (or other recent versions) as > a plugin dependency, o

Re: Any plans to release maven-checkstyle-plugin?

2022-04-21 Thread Falko Modler
Hi Maxim, it works for me when adding checkstyle 9.3 (or other recent versions) as a plugin dependency, overriding the one that is shipped by the plugin. I never wait for plugin updates to update checkstyle, because checkstlye is updated way more often than the plugin. Cheers, Falko Am

Re: Any plans to release maven-checkstyle-plugin?

2022-04-21 Thread Slawomir Jaranowski
seems latest maven-checkstyle-plugin doesn't work with new > java17 features :( > > Maybe it would be possible to release new version? > > Thanks in advance :) > > -- > Best regards, > Maxim > >

Any plans to release maven-checkstyle-plugin?

2022-04-21 Thread Maxim Solodovnik
Hello All, I would like to switch to the latest Java17 LTS But it seems latest maven-checkstyle-plugin doesn't work with new java17 features :( Maybe it would be possible to release new version? Thanks in advance :) -- Best regards,

[ANN] Apache Maven Checkstyle Plugin version 3.1.2 Released

2021-01-30 Thread Sylwester Lachiewicz
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 3.1.2 The Checkstyle Plugin generates a report regarding the code style used by the developers https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your

Re: override Checkstyle resources config

2020-04-23 Thread Hervé BOUTEMY
%3Cdev.maven.apache.org%3E Regards, Hervé Le jeudi 23 avril 2020, 19:44:08 CEST Javier Gómez a écrit : > Any thoughts on this? > > We don't want to define this spefic folders config in POM build > block, to avoid inherit that in child POMs. > But we want that they were analyzed by c

Re: override Checkstyle resources config

2020-04-23 Thread Javier Gómez
Any thoughts on this? We don't want to define this spefic folders config in POM build block,  to avoid inherit that in child POMs. But we want that they were analyzed by checkstyle plugin, so we are forcing that  at the plugin level, specifying the block. That this is a read-only attr

override Checkstyle resources config

2020-04-20 Thread Javier Gómez
Hello all, We are trying to run Checkstyle plugin over a group of resource files, located in various directories outside standard directory layout, in project root folder, /module1 src/main/java src/main/resources pom.xml /module2 ... /src /DIR1 /DIR2 pom.xml To do this, the best way

[ANN] Apache Maven Checkstyle Plugin 3.1.1 Released

2020-02-23 Thread Enrico Olivelli
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 3.1.1 The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/. This version of

checkstyle and antlr class not found issue

2019-09-18 Thread dimitri
Hello all, I face a basic problem on Macos, using the latest mvn, checkstyle and antlr maven plugin. My friends do not suffers from this they work on linxu pcs. I keep trying to solve this but I dont have much clue. Note : I do not suffer from the issue with java 11. Only with java 8. java

[ANN] Apache Maven Checkstyle Plugin 3.1.0 Released

2019-05-28 Thread Enrico Olivelli
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 3.1.0 The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/. This version of

[ANN] Apache Maven Checkstyle Plugin 3.0.0 Released

2018-01-07 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 3.0.0 The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/. This

Re: Maven PMD, Checkstyle multimodel configuration.

2016-10-26 Thread Manfred Moser
I dont know about the instructions but an example config for checkstyle with a build tools config in a multi module project can be found here https://github.com/simpligility/ksoap2-android hth Manfred simpligility.com Artem Barger wrote on 2016-10-26 08:16: > Hi all, > > I&#x

Maven PMD, Checkstyle multimodel configuration.

2016-10-26 Thread Artem Barger
Hi all, I'm trying to follow the tutorial regarding multimodule configuration for PMD and checkstyle plugins from here: https://maven.apache.org/plugins-archives/maven-pmd-plugin-LATEST/examples/multi-module-config.html And I have a problem with last instruction, once I've done

Re: Re: checkstyle plugin and checking files outside of maven dirs

2016-08-17 Thread Benson Margulies
I commend you to the source of the plugin in that case. The doc can be confusing. On Wed, Aug 17, 2016 at 10:06 AM, Veit Guna wrote: > I came from the checkstyle mailing list :). They say, they can basically > check anything thrown > at them. And the pom is just an XML file that I w

Aw: Re: checkstyle plugin and checking files outside of maven dirs

2016-08-17 Thread Veit Guna
I came from the checkstyle mailing list :). They say, they can basically check anything thrown at them. And the pom is just an XML file that I would like to check for specific line endings. So what I'm seeking for is a special option in the maven checkstyle plugin to check files outside o

Re: checkstyle plugin and checking files outside of maven dirs

2016-08-17 Thread Benson Margulies
The checkstyle plugin runs http://checkstyle.sourceforge.net/. Which has a particular feature set, which does not include checking Maven poms. There are a number of checks in the enforcer plugin which, in effect, check that the POM meets particular conditions. I don't know of any way to

checkstyle plugin and checking files outside of maven dirs

2016-08-16 Thread Veit Guna
Hi. I'm using the checkstyle maven plugin to validate my source and resource files. That works so far. But now I encountered, that it won't check files outside of the standard maven dirs. E.g. it would be great if it could check the pom as well. Is this somehow possible? Also when i

Re: Why is checkstyle failing on one project, but not others?

2016-01-15 Thread David M. Karr
derstand what's happening here. After analyzing the "-X" output, I found that if I store my source in "src" and not set "sourceDirectory", the compiler plugin works fine (it looks in both "src/main/java" and "src" silently), but c

Re: Why is checkstyle failing on one project, but not others?

2016-01-14 Thread ecki
to src/main/java and removing all properties or compile plugin options would be the proper cleanup action to plan for the long run ,) -- http://bernd.eckenfels.net -Original Message- From: "David M. Karr" To: Maven Users List Sent: Fr., 15 Jan. 2016 1:32 Subject: Re: Why is

Re: Why is checkstyle failing on one project, but not others?

2016-01-14 Thread David M. Karr
Ok, that gave me a big clue, and a new question. I've realized that ALL of these projects are using "src" as their source root, instead of "src/main/java", but this one that is failing is the only one that specifies the "sourceDirectory" value. Those projects that aren't specifying the value a

Re: Why is checkstyle failing on one project, but not others?

2016-01-14 Thread ecki
Karr" To: users@maven.apache.org Sent: Fr., 15 Jan. 2016 0:59 Subject: Why is checkstyle failing on one project, but not others? This may be a checkstyle-specific problem, but I'll start with the maven checkstyle plugin. I'm integrating a large codebase into another larger project

Why is checkstyle failing on one project, but not others?

2016-01-14 Thread David M. Karr
This may be a checkstyle-specific problem, but I'll start with the maven checkstyle plugin. I'm integrating a large codebase into another larger project that has checkstyle standards. After I added the parent pom spec to the top-level pom and ran the build, I noticed it successf

Maven Checkstyle Plugin 2.17 and Generics

2016-01-14 Thread Kristof Meixner
Hi! I have got the following checkstyle definition [1]. If I update the checkstyle plugin from 2.16.to 2.17 or use checkstyle 6.11.1 as dependency, I get several errors concerning ? in generics. E.g. * public Class getMergeStrategy() { * public interface ModelValidator extends Validator

Re: Maven Checkstyle

2016-01-13 Thread Adrien Rivard
I would try configuring sourceDirectories with the base directory of the project. see https://maven.apache.org/plugins/maven-checkstyle-plugin/check-mojo.html#sourceDirectories Though there may be better ways to check eol than checkstyle which is specific to java. On Wed, Jan 13, 2016 at 6:36

Maven Checkstyle

2016-01-13 Thread John Vines
Usage question for maven checkstyle- Is there a way to have it work at the project root of a module, rather then at the src level? I'm trying to ensure that there are no CRLFs for non-binary files and it works fine for things under src, but I can't get it to detect files outside that dir. Thanks

Re: Maven Checkstyle Plugin - IllegalType rule configuration not working

2015-10-22 Thread Lennart Jörelid
Never mind, folks. Just ignore this comment - it was caused by a bug in Checkstyle itself, not the plugin. https://github.com/checkstyle/checkstyle/pull/2416 for those that want to check out the details. 2015-10-22 8:00 GMT+02:00 Lennart Jörelid : > Hello all, > > I’m using Maven-C

Maven Checkstyle Plugin - IllegalType rule configuration not working

2015-10-21 Thread Lennart Jörelid
Hello all, I’m using Maven-Checkstyle-Plugin version 2.17 (with Checkstyle 6.11.2). I’m trying to get the Checkstyle plugin to break the build whenever one of the pre-JDK8 date/time types are used in the *public API* (but not the internal state) of a class. This implies that applications can use

[ANN] Maven Checkstyle Plugin 2.17 released

2015-10-18 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 2.17. https://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins >maven-checkstyle-plugi

[ANN] Apache Maven Checkstyle Plugin 2.16 Released

2015-07-20 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.16 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

Re: A checkstyle plugin mystery

2015-07-12 Thread Benson Margulies
>>> Ever since we bumped to 2.15 of the plugin, we've been hitting a >>> problem. I don't have a concise repro, so I'm not opening a JIRA yet, >>> but I thought I'd inquire for other people's experience. >>> >>> We use some source g

Re: A checkstyle plugin mystery

2015-07-12 Thread Benson Margulies
we've been hitting a >> problem. I don't have a concise repro, so I'm not opening a JIRA yet, >> but I thought I'd inquire for other people's experience. >> >> We use some source generators, and none of them generate source that >> is acceptabl

Re: A checkstyle plugin mystery

2015-07-11 Thread Robert Scholte
xperience. We use some source generators, and none of them generate source that is acceptable to our checkstyle rules. To prevent checkstyle from processing that stuff, we bind the 'check' goal to the validate phase. Since this is before generate-sources, it comes and goes before the generator

Re: A checkstyle plugin mystery

2015-07-09 Thread Jeff Jensen
I don't know the answer to your intriguing question... my suggestion prevents the problem though: use Checkstyle suppression filters for the generated directories, e.g.: On Thu, Jul 9, 2015 at 8:04 PM, Benson Margulies wrote: > Ever since we bumped to 2.15 of the plugin, we've

A checkstyle plugin mystery

2015-07-09 Thread Benson Margulies
Ever since we bumped to 2.15 of the plugin, we've been hitting a problem. I don't have a concise repro, so I'm not opening a JIRA yet, but I thought I'd inquire for other people's experience. We use some source generators, and none of them generate source that is acc

Re: maven-checkstyle-plugin does not include test resources

2015-06-11 Thread Csaba Kozák
Hi! For reference: i opened a discussion on the developer list, and added a patch to the ticket .

Re: Do not run some Checkstyle rules in a specific Maven profile

2015-06-07 Thread Christopher
pher L Tubbs II http://gravatar.com/ctubbsii On Sun, Jun 7, 2015 at 9:41 AM, WonderCsabo wrote: > We use a different profile for development, and a different profile for the > CI. The latter is more strict in the manner of Checkstyle rules. My question > is: how can i easily *turn off execu

Re: maven-checkstyle-plugin does not include test resources

2015-06-07 Thread Karl Heinz Marbaise
Hi, On 6/7/15 4:15 PM, Csaba Kozák wrote: Hi Karl! Thanks for the quick answer. This is the ticket: https://issues.apache.org/jira/browse/MCHECKSTYLE-295 OK, i will do by best, however i did not use JIRA ever for development, and svn only a long time ago, so maybe i will ask some questions.

Re: maven-checkstyle-plugin does not include test resources

2015-06-07 Thread Csaba Kozák
Hi Karl! Thanks for the quick answer. This is the ticket: https://issues.apache.org/jira/browse/MCHECKSTYLE-295 OK, i will do by best, however i did not use JIRA ever for development, and svn only a long time ago, so maybe i will ask some questions.

Re: maven-checkstyle-plugin does not include test resources

2015-06-07 Thread Karl Heinz Marbaise
Hi, On 6/7/15 3:38 PM, Csaba Kozák wrote: Hi Karl, i would love to fix this issue, i think this should be easy. on which issue do you referencing to ? Who should i contact for information? I read the site, but did not found that, maybe i looked in the wrong place. Best is to reference to

Do not run some Checkstyle rules in a specific Maven profile

2015-06-07 Thread WonderCsabo
We use a different profile for development, and a different profile for the CI. The latter is more strict in the manner of Checkstyle rules. My question is: how can i easily *turn off executing some of the rules in the development profile*? One possible solution is just using `configLocation

Re: maven-checkstyle-plugin does not include test resources

2015-06-07 Thread Csaba Kozák
Hi Karl, i would love to fix this issue, i think this should be easy. Who should i contact for information? I read the site, but did not found that, maybe i looked in the wrong place. Thanks, Csaba

Re: maven-checkstyle-plugin does not include test resources

2015-05-26 Thread Csaba Kozák
Hi Karl, I know, i was just confirming that the issue is valid. Since i examined the wrong version of the code for writing the report, it could have been wrong, too. Sorry for spamming. :) Regards, Csaba

Re: maven-checkstyle-plugin does not include test resources

2015-05-26 Thread Karl Heinz Marbaise
Hi, On 5/26/15 7:49 PM, Csaba Kozák wrote: Hi Karl, Yeah, you are right. I was checking out the wrong revision from svn. :( I checked the latest HEAD codebase, and my bug report is still valid i think. I was only referencing to the information about the jira link not on the issue you have foun

Re: maven-checkstyle-plugin does not include test resources

2015-05-26 Thread Csaba Kozák
Hi Karl, Yeah, you are right. I was checking out the wrong revision from svn. :( I checked the latest HEAD codebase, and my bug report is still valid i think. Regards, Csaba

Re: maven-checkstyle-plugin does not include test resources

2015-05-26 Thread Karl Heinz Marbaise
Hi, On 5/25/15 11:30 AM, Csaba Kozák wrote: Thanks! I created this <https://issues.apache.org/jira/browse/MCHECKSTYLE-295> ticket. I guess the maven checkstyle plugin POM should be updated to refer to the new location of the JIRA. The pom contains already the new JIRA location...

Re: maven-checkstyle-plugin does not include test resources

2015-05-25 Thread Csaba Kozák
Thanks! I created this <https://issues.apache.org/jira/browse/MCHECKSTYLE-295> ticket. I guess the maven checkstyle plugin POM should be updated to refer to the new location of the JIRA.

Re: maven-checkstyle-plugin does not include test resources

2015-05-25 Thread Stuart McCulloch
pache.org/issue-tracking.html and https://maven.apache.org/plugins/index.html for updated links to the new JIRA projects > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven-checkstyle-plugin-does-not-include-test-resources-tp5835797.html > Sent from the

maven-checkstyle-plugin does not include test resources

2015-05-25 Thread WonderCsabo
, but it seems codehaus is shutting down and i cannot add new issues anymore. :S -- View this message in context: http://maven.40175.n5.nabble.com/maven-checkstyle-plugin-does-not-include-test-resources-tp5835797.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: maven-checkstyle-plugin - ailed during checkstyle configuration: cannot initialize module TreeWalker - Property 'excludes' ... does not exist

2015-04-11 Thread Hervé BOUTEMY
I don't remember which version of Checkstyle is used in which maven- checkstyle-plugin by default (you can change it) and if current Checkstyle documentation explains about this property [1], there is no @since to know when it was introduced What we can do at maven level is probably

[ANN] Apache Maven Checkstyle Plugin 2.15 Released

2015-03-20 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.15 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

Re: Maven 3 with newest Checkstyle

2015-02-15 Thread Baptiste Mathus
I guess you mean you don't have any tag in your pom.xml. Under build/plugins declare a plugin block like this to override the inherited version maven-checkstyle-plugin 6.3 Btw, you should be aware that always "pinning" the plugin versions is a strongly recommended practice.

Re: Maven 3 with newest Checkstyle 6.3

2015-02-14 Thread Vincent Latombe
The configuration you did binds an execution to the validate phase. Calling checkstyle:checkstyle won't pick up this configuration. The error you get when calling mvn validate (or any later phase) is because RedundantThrowsCheck has been removed in Checkstyle 6.2 (according to Checkstyle re

Maven 3 with newest Checkstyle

2015-02-13 Thread Philipp Kraus
Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3 version of the plugin at my pom.xml and use it on the check goal at the validate phase? Thanks a lot

Re: Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
Thanks I have read these instructions, but check style uses the sun_checks.xml I have add to my build section: org.apache.maven.plugins maven-checkstyle-plugin 2.14 com.puppycrawl.tools

Re: Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Vincent Latombe
Hi, apply http://maven.apache.org/plugins/maven-checkstyle-plugin/usage.html#Checking_for_Violations_as_Part_of_the_Build and http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html Vincent 2015-02-13 21:28 GMT+01:00 Philipp Kraus : > Hello, > >

Maven 3 with newest Checkstyle 6.3

2015-02-13 Thread Philipp Kraus
Hello, I'm using Maven 3.2.5 and I would like to use the Checkstyle plugin in the newest version (6.3). The default installation is 5.8, so how can I add the 6.3 version of the plugin at my pom.xml and use it on the check goal at the validate phase? I don’t found the correct pom entries

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-10 Thread Dennis Lundberg
James, Yes, there are lenghy discussions on this topic in JIRA. Have look at MCHECKSTYLE-251 for example. Version 2.15-SNAPSHOT is already using Checkstyle 6.1.1 and 2.16 will be using version Checkstyle 6.2. -- Dennis Lundberg Den 9 feb 2015 16:35 skrev "James Green" : > Dennis, &

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-09 Thread Daniel Kulp
> On Feb 9, 2015, at 10:34 AM, James Green wrote: > Thanks for that - any reason why the maven plugin does not track the > Checkstyle releases then? That's the cause for the questioning in the first > place. We have certain requirements about what JDK versions the plugins need

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-09 Thread James Green
Dennis, Thanks for that - any reason why the maven plugin does not track the Checkstyle releases then? That's the cause for the questioning in the first place. James On 7 February 2015 at 10:31, Dennis Lundberg wrote: > Hi James > > Upgrading *should* work but, since we canno

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-08 Thread Dennis Lundberg
Hi James Upgrading *should* work but, since we cannot predict what changes will be made to Checkstyle in the future, we cannot give any guarantees. If it works - great, if it doesn't then please file an issue telling us to update the plugin to a specific newer version of Checkstyle. Please

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-06 Thread James Green
ames On 5 February 2015 at 20:46, Dennis Lundberg wrote: > The Maven team is pleased to announce the release of the Apache Maven > Checkstyle Plugin, version 2.14 > > Generates a report on violations of code style and optionally fails the > build if violations are detected. > >

[ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-05 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.14 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

Re: Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Mark Derricutt
On 4 Nov 2014, at 2:59, Joachim Van der Auwera wrote: > You can overwrite the checkstyle version. My configuration looks like this: Unfortunately this doesn't work with the latest checkstyle version _if_ you use inline configuration, and the DTD version has changed and no longer mat

Re: Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Joachim Van der Auwera
You can overwrite the checkstyle version. My configuration looks like this: org.apache.maven.plugins maven-checkstyle-plugin 2.12.1 checkstyle.xml false true verify checkstyle

Apache Maven - Checkstyle Plugin - Java 8

2014-11-03 Thread Alexander Wessel
Hi guys, I like to use the Apache Maven Checkstyle-Plugin with Java 8 but unfortunately it uses Checkstyle 5.7 that doesn't support Java 8. Checkstyle itself support Java 8 since version 5.9. Is there a plan to migrate the Checkstyle-Plugin to this version or can I migrate myself? Thank

[ANN] Apache Maven Checkstyle Plugin 2.13 Released

2014-09-21 Thread Hervé Boutemy
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.13 This plugin generates a report regarding the code style used by the developers. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your

Re: maven-checkstyle-plugin multi-module usage

2014-08-11 Thread David Hoffer
t; Robert > > [1] https://jira.codehaus.org/browse/MNG-5666 > > Op Mon, 11 Aug 2014 19:13:19 +0200 schreef David Hoffer < > dhoff...@gmail.com>: > > > Is it possible to configure the maven-checkstyle-plugin to fail the build >> in a multi-module build before it compiles ea

Re: maven-checkstyle-plugin multi-module usage

2014-08-11 Thread Robert Scholte
Hi Dave, No, not yet. This depends on MNG-5666[1] thanks, Robert [1] https://jira.codehaus.org/browse/MNG-5666 Op Mon, 11 Aug 2014 19:13:19 +0200 schreef David Hoffer : Is it possible to configure the maven-checkstyle-plugin to fail the build in a multi-module build before it compiles

maven-checkstyle-plugin multi-module usage

2014-08-11 Thread David Hoffer
Is it possible to configure the maven-checkstyle-plugin to fail the build in a multi-module build before it compiles each module? I'd like it to scan the entire project in an early phase, e.g. validate, before it takes the time to build each module. We have the plugin configured in the top

Re: Maven build does not fail due to checkstyle errors

2014-07-28 Thread ecthelion
Thanks for your response. I was actually missing the from the and all of my errors were actually warnings. I set it to warning and it worked. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-build-does-not-fail-due-to-checkstyle-errors-tp5801275p5801305.html Sent

Re: Maven build does not fail due to checkstyle errors

2014-07-28 Thread Manfred Moser
: > I configured Maven to use the checkstyle plugin. > > Here is what I have in pom.xml's build section : > > >org.apache.maven.plugins > maven-checkstyle-plugin >2.5 > > >

Maven build does not fail due to checkstyle errors

2014-07-28 Thread ecthelion
I configured Maven to use the checkstyle plugin. Here is what I have in pom.xml's build section : org.apache.maven.plugins maven-checkstyle-plugin 2.5

Multimodule Configuration of Checkstyle-plugin errors

2014-04-30 Thread Aleksandr Fedorov
Hi everyone! I added checkstyle-plugin in the project according to the site - http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html But I got an error: [INFO] Scanning for projects ... [ERROR] The projects in the reactor contain a cyclic reference: Edge between

[ANN] Apache Maven Checkstyle Plugin 2.12.1 Released

2014-04-24 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.12.1 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

[ANN] Apache Maven Checkstyle Plugin 2.12 Released

2014-03-15 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.12 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

[ANN] Apache Maven Checkstyle Plugin 2.12 Released

2014-03-13 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.12 Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the

Checkstyle configLocation ignored?

2013-12-26 Thread Barrie Treloar
http://stackoverflow.com/questions/8975096/maven-checkstyle-configlocation-ignored But there is nothing in Jira. I suspect it has to do with a change in site to move to checkstyle:checkstyle-aggregate. When looking at the docs http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-aggr

[ANN] Apache Maven Checkstyle Plugin 2.11 Released

2013-11-16 Thread Benson Margulies
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.11 This plugin integrates checkstyle into the build. http://maven.apache.org/plugins/maven-checkstyle-plugin/ You should specify the version in your project's plugin configur

Re: checkstyle ignores multiple excludes?

2013-11-02 Thread Benson Margulies
On Thu, Oct 31, 2013 at 3:55 PM, Curtis Rueden wrote: > Hi Benson, > >> The above does not exclude src/main/resources/log4j.properties. > > Does checkstyle actually consider the resources folder? Yes it does, complaining about (in my case) missing copyright notices. I

  1   2   3   4   5   6   7   8   9   >