maven-jar-plugin out of heap space
Hey, After i updated the maven-jar-plugin to version 3.0.0, i started to see these problems on my CI build: https://travis-ci.org/WonderCsabo/androidannotations/jobs/132201434#L2473 I can verify that this only happens with 3.0.0. Regard, Csaba -- View this message in context: http://maven.40175.n5.nabble.com/maven-jar-plugin-out-of-heap-space-tp5869355.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
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
maven-checkstyle-plugin does not include test resources
The documentation says it includes these resources by default, but apparently it never does. After examining the code, it seems CheckstyleViolationCheckMojo.execute() forgets to call request.setTestResources(), hence that is always null and skipped from audit. I wanted to file a report on JIRA, 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. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Providing settings to Aether from global and user file
In Robolectric, we use maven-ant-tasks to resolve some dependencines. Unfortunetaly this brings a huge number of transitive depedencies which is not convenient for Robolectric users. We think about switching https://github.com/robolectric/robolectric/issues/905 to Aether. There is a thread http://maven.40175.n5.nabble.com/Maven-Aether-Repositories-from-settings-xml-td4315216.html about how to provide settings to Aether. My question is: is there a component we can use to find the settings file locations, so we can feed them to the SettingsBuilder? -- View this message in context: http://maven.40175.n5.nabble.com/Providing-settings-to-Aether-from-global-and-user-file-tp5803227.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