Re: maven-checkstyle-plugin does not include test resources
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
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 a jira issue and if you like please attach a patch to the issue...and please add appropriate integration/unit tests to it... Kind regards Karl Heinz Marbaise - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-checkstyle-plugin does not include test resources
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
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. Don't hesitate to ask questions... but they are releated to the development so we should change to the development list Many thanks for helping here... Kind regards Karl Heinz Marbaise - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Do not run some Checkstyle rules in a specific Maven profile
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` property in the `maven-checkstyle-plugin`, and adding the different configs in two locations: profile idCI/id build plugins plugin artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationci-checks.xml/configLocation /configuration /plugin /plugins /build /profile profile iddevelopment/id build plugins plugin artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationdev-checks.xml/configLocation /configuration /plugin /plugins /build /profile However this leads to the duplication of the check file. Is there a way to dynamically skip parts of the file? **Edit**: my motivation is that we run the Checkstyle rules when developing in Eclipse, in the incremental compilation (every time when a file is saved) and also when compiling from Maven command line. This is very convenient, but there are some rules which take a [long time][1], and that makes this kind of development impossible, so i want to turn them off. Question copied from [here][2]. [1]: http://github.com/checkstyle/checkstyle/issues/1064 [2]: http://stackoverflow.com/questions/30691673/do-not-run-some-checkstyle-rules-in-a-specific-maven-profile -- View this message in context: http://maven.40175.n5.nabble.com/Do-not-run-some-Checkstyle-rules-in-a-specific-Maven-profile-tp5836995.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Where's the new home for the clirr-maven-plugin?
The clirr-maven-plugin was one of the unfortunate casualties of codehaus' demise. It should get a new home, but my google-fu leaves me without any results. Where does this plugin live on? Martijn - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Creating Mojo: Can I have access to the repository information stored in settings.xml?
Hi I am creating a mojo that requires to get information on the repositories stored in settings.xml? Is this possible? Regards, Néstor
Re: Creating Mojo: Can I have access to the repository information stored in settings.xml?
Hi Néstor, Could you elaborate on your use case? you may not need access to maven settings to look for repos. -Dan On Sun, Jun 7, 2015 at 4:24 PM, Néstor Boscán nesto...@gmail.com wrote: Hi I am creating a mojo that requires to get information on the repositories stored in settings.xml? Is this possible? Regards, Néstor
Re: Where's the new home for the clirr-maven-plugin?
https://github.com/mojohaus/clirr-maven-plugin ? On Mon, Jun 8, 2015 at 12:26 AM Martijn Dashorst martijn.dasho...@gmail.com wrote: The clirr-maven-plugin was one of the unfortunate casualties of codehaus' demise. It should get a new home, but my google-fu leaves me without any results. Where does this plugin live on? Martijn - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Do not run some Checkstyle rules in a specific Maven profile
I don't think that's possible currently. I have a similar use case (which is also not possible): I want to use a provided xml configuration file (Google Style), but with some project-specific alterations. There's no way to merge these configurations. I'm sure others have wanted to do the same (some basic additions to the sun_checks.xml without rewriting it). It would be nice if there was a way to have a given style, and with an option, provide additions/removals. This option could be activated in a profile, and would satisfy your use case as well as mine. -- Christopher L Tubbs II http://gravatar.com/ctubbsii On Sun, Jun 7, 2015 at 9:41 AM, WonderCsabo kozakcs...@gmail.com 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 executing some of the rules in the development profile*? One possible solution is just using `configLocation` property in the `maven-checkstyle-plugin`, and adding the different configs in two locations: profile idCI/id build plugins plugin artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationci-checks.xml/configLocation /configuration /plugin /plugins /build /profile profile iddevelopment/id build plugins plugin artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationdev-checks.xml/configLocation /configuration /plugin /plugins /build /profile However this leads to the duplication of the check file. Is there a way to dynamically skip parts of the file? **Edit**: my motivation is that we run the Checkstyle rules when developing in Eclipse, in the incremental compilation (every time when a file is saved) and also when compiling from Maven command line. This is very convenient, but there are some rules which take a [long time][1], and that makes this kind of development impossible, so i want to turn them off. Question copied from [here][2]. [1]: http://github.com/checkstyle/checkstyle/issues/1064 [2]: http://stackoverflow.com/questions/30691673/do-not-run-some-checkstyle-rules-in-a-specific-maven-profile -- View this message in context: http://maven.40175.n5.nabble.com/Do-not-run-some-Checkstyle-rules-in-a-specific-Maven-profile-tp5836995.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Blog: List Maven POMs phases and goals bounds to the phases
http://sandipchitale.blogspot.com/2015/06/list-maven-poms-phases-and-goals-bounds.html