Minimize an Uber Jar correctly, Using Shade-Plugin

2012-01-11 Thread Blitz, Shmuel
Dear fellows, I am using the Maven-Shade-Plugin to create a runnable Uber-jar. According to the last frame on maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html, the size of the jar can be minimized by using: configuration minimizeJartrue/minimizeJar

Re: Minimize an Uber Jar correctly, Using Shade-Plugin

2012-01-11 Thread Stephen Connolly
Moving to Users list as this is a question for people developing WITH maven not a question for people developing maven. At present there is no solution, other than having those classes referenced from a referenced class. Shade has no way of knowing that you use properties files to pull in classes

Re: svn commit: r1229755 - /maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/AbstractReleaseMojo.java

2012-01-11 Thread Robert Scholte
Hi Simone, simple answer: because the original code wasn't using the entryset. I only added generics, verifying I didn't introduce a potential NPE with new for-loops. I haven't checked if the code could be optimized, but this looks like one. -Robert On Wed, 11 Jan 2012 08:57:17 +0100,

Re: [CALL FOR TEST] Apache Maven 3.0.4-RC5 staged

2012-01-11 Thread Robert Scholte
looking good. Tested on a lot of mojo projects. -Robert On Tue, 10 Jan 2012 15:31:12 +0100, Jeff MAURY jeffma...@jeffmaury.com wrote: Works fine with 2 of my Tycho builds, maven-gwt-plugin and hudson-the-definitive-guide Jeff On Tue, Jan 10, 2012 at 2:13 PM, Mirko Friedenhagen

Need translation help into French for PMD Plugin

2012-01-11 Thread Dennis Lundberg
Hi I'm preparing a release of maven-pmd-plugin, and when going through the code I found out that the French localization is only done for the PMD report, but not for the CPD report. It would be great if someone could add maven-pmd-plugin/src/main/resources/cpd-report_fr.properties and translate

Re: Need translation help into French for PMD Plugin

2012-01-11 Thread Olivier Lamy
Hello, I think I can :-) 2012/1/11 Dennis Lundberg denn...@apache.org: Hi I'm preparing a release of maven-pmd-plugin, and when going through the code I found out that the French localization is only done for the PMD report, but not for the CPD report. It would be great if someone could

Re: Need translation help into French for PMD Plugin

2012-01-11 Thread Robert Scholte
I'll add a dutch translation for both reports too. By the way, it looks like some cpd-report properties have an incorrect value for report.cpd.cpdlink It refers to PMD instead of CPD, or am I missing something? -Robert On Wed, 11 Jan 2012 22:26:36 +0100, Olivier Lamy ol...@apache.org wrote:

Re: Need translation help into French for PMD Plugin

2012-01-11 Thread Robert Scholte
Okay, I see the reason of the confusion: http://maven.apache.org/plugins/maven-clean-plugin/cpd.html -Robert On Wed, 11 Jan 2012 22:36:37 +0100, Robert Scholte apa...@sourcegrounds.com wrote: I'll add a dutch translation for both reports too. By the way, it looks like some cpd-report

[PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Dennis Lundberg
Hi I've had a look at this issue in the Checkstyle Plugin http://jira.codehaus.org/browse/MCHECKSTYLE-146 The issue is not unique to the Checkstyle Plugin, but rather any plugin that uses Doxia 1.1.x or newer. That means at least all reporting plugins. I've verified it on the PMD Plugin that I

Re: Need translation help into French for PMD Plugin

2012-01-11 Thread Dennis Lundberg
Thanks to both of you! On 2012-01-11 22:36, Robert Scholte wrote: I'll add a dutch translation for both reports too. By the way, it looks like some cpd-report properties have an incorrect value for report.cpd.cpdlink It refers to PMD instead of CPD, or am I missing something? -Robert On

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Dennis Lundberg
Hi Some background on Maven and Doxia versions and compatibility can be found here: http://docs.codehaus.org/display/MAVEN/Doxia+Release+Plan On 2012-01-11 23:22, Dennis Lundberg wrote: Hi I've had a look at this issue in the Checkstyle Plugin

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Stephen Connolly
+1 - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 11 Jan 2012 22:23, Dennis Lundberg denn...@apache.org wrote: Hi I've had a look at this issue in the Checkstyle

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Barrie Treloar
On Thu, Jan 12, 2012 at 9:15 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: +1 +1 - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Robert Scholte
What about plugins containing both build and report goals? If the suggested shading of Doxia will work, I'd prefer that option. -Robert On Wed, 11 Jan 2012 23:53:57 +0100, Barrie Treloar baerr...@gmail.com wrote: On Thu, Jan 12, 2012 at 9:15 AM, Stephen Connolly

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Barrie Treloar
On Thu, Jan 12, 2012 at 9:42 AM, Robert Scholte apa...@sourcegrounds.com wrote: What about plugins containing both build and report goals? If the suggested shading of Doxia will work, I'd prefer that option. Can you elaborate on the problem?

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Benson Margulies
I tend to feel that this community is a bit whelmed, and that we'd do better service to the world at large if we drew a line in the sand at 2.2.1. Anyone who really wants new functionality with older core maven can step up and volunteer to maintain branches of plugins. On Wed, Jan 11, 2012 at

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Stephen Connolly
+1 - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 11 Jan 2012 23:22, Benson Margulies bimargul...@gmail.com wrote: I tend to feel that this community is a bit whelmed,

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Stephen Connolly
we should maybe roll a 2.3 where the fix is being aware of the new snapshot metadata so that people who have projects not ready for 3.0.4 can have them coexist. - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of

JDK 5 needed for Performing a Maven Project Release?

2012-01-11 Thread Barrie Treloar
http://maven.apache.org/developers/release/maven-project-release-procedure.html says you have JDK 5 installed and on your shell's path. I was about to try out the new laptop, which is a Macbook Air, and the is the first time I've used a Mac. It comes with JDK 6. Are we happy that compiler

Re: JDK 5 needed for Performing a Maven Project Release?

2012-01-11 Thread Brett Porter
On 12/01/2012, at 2:08 PM, Barrie Treloar wrote: http://maven.apache.org/developers/release/maven-project-release-procedure.html says you have JDK 5 installed and on your shell's path. it should probably say or above... I was about to try out the new laptop, which is a Macbook Air, and

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Kristian Rosenvold
+1 Den 11. jan. 2012 kl. 23:23 skrev Dennis Lundberg denn...@apache.org: Hi I've had a look at this issue in the Checkstyle Plugin http://jira.codehaus.org/browse/MCHECKSTYLE-146 The issue is not unique to the Checkstyle Plugin, but rather any plugin that uses Doxia 1.1.x or newer. That

Re: [PROPOSAL] Reporting plugins should require Maven 2.2.1

2012-01-11 Thread Olivier Lamy
+1 -- Olivier Le 11 janv. 2012 23:23, Dennis Lundberg denn...@apache.org a écrit : Hi I've had a look at this issue in the Checkstyle Plugin http://jira.codehaus.org/browse/MCHECKSTYLE-146 The issue is not unique to the Checkstyle Plugin, but rather any plugin that uses Doxia 1.1.x or