maven-bundle-plugin: how to avoid the generation of the use:= qualifier

2013-02-22 Thread Francis ANDRE
Hi I am using the maven-bundle-plugin:manifest goal to generate a MANIFEST.MF and I would like to remove the uses:= qualifier from the generated Export-Package list. Is there anyway to do so? TIAFYA Fa - To unsubscribe,

Re: maven-bundle-plugin: how to avoid the generation of the use:= qualifier

2013-02-22 Thread Stephen Connolly
I recommend that you try asking this question at one of the Apache Felix mailing lists, as that is their plugin. [It would also help if you could also remind them that they are supposed to rename their plugin bundle-maven-plugin to stop the confusion of origin] On 22 February 2013 09:38, Francis

Re: [ANN] Maven Surefire Plugin 2.13 Released

2013-02-22 Thread Alberto Ivo
Thanks, Curtis.. Totally help! Ivo On Thu, Feb 21, 2013 at 5:05 PM, Curtis Rueden ctrue...@wisc.edu wrote: Hi Ivo, is there a way to run this automatically when one runs mvn install ? The test phase runs automatically when one runs mvn install unless you explicitly tell it to skip

Re: generate XML file

2013-02-22 Thread Tamás Cservenák
Hi, as Wayne said, you need to roll your own plugin. But here is a good example for doing exactly that, and guess what, it exactly uses Assembly to make the job https://github.com/sonatype/nexus-plugin-bundle Thanks, ~t~ On Fri, Feb 22, 2013 at 12:20 AM, alejandro.e...@miranda.com

Why is properties-maven-plugin still in alpha?

2013-02-22 Thread Matthew Adams
Hi all, The latest release ( http://search.maven.org/#artifactdetails%7Corg.codehaus.mojo%7Cproperties-maven-plugin%7C1.0-alpha-2%7Cmaven-plugin) of properties-maven-plugin ( http://jira.codehaus.org/browse/MOJO/component/13703), which I'm now considering using, is 1.0-alpha-2. It's been that

Re: generate XML file

2013-02-22 Thread Curtis Rueden
Hi Alejandro, I agree with the others about rolling your own plugin, but would add that your plugin would not necessarily need to interface with the assembly plugin at all. All your plugin would need to do is generate the needed XML file. Then bind that to an earlier phase than when assembly

Re: maven-bundle-plugin: how to avoid the generation of the use:= qualifier

2013-02-22 Thread Daniel Kulp
On Feb 22, 2013, at 4:38 AM, Francis ANDRE francis.andre.kampb...@orange.fr wrote: Hi I am using the maven-bundle-plugin:manifest goal to generate a MANIFEST.MF and I would like to remove the uses:= qualifier from the generated Export-Package list. Is there anyway to do so? In the

Re: Why is properties-maven-plugin still in alpha?

2013-02-22 Thread Frédéric Camblor
Hi ! I *think* this is because this plugin is shooting you in the foot, by making you think it will *always* load externalized properties whereas it won't be the case. For instance, during call of direct plugin goal (like release:prepare / release:perform), the plugin won't be binded to any

I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread John Miller
I need some help with a maven-pmd-plugin OutOfMemoryError: Java heap space error. I narrowed it down to maven-pmd-plugin running inside Hudson. I am running with these java settings JAVA_OPTS=-Xmn1024m -Xms2048m -Xmx2048m -XX:PermSize=512m So I should have plenty of room.. I also ran it from

Re: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread Olivier Lamy
same issue with 2.7.1 release ? There is an issue with 3.0 which duplicate pmd errors (maybe you have too much errors :-) ). This issue is fixed in trunk (so you can try 3.1-SNAPSHOT) 2013/2/22 John Miller john.w.mil...@oracle.com: I need some help with a maven-pmd-plugin OutOfMemoryError: Java

Re: Git Repositories

2013-02-22 Thread Eric Kolotyluk
Still wearing my newbie hat,... So, is there some way people embed the git repository information in their POMs to indicate which parts of the POM tree are part of a specific repository? I guess what I am hoping for is that if you can define your git relationships in Maven POMs then all your

Re: Changing generated file name using __artifactId__

2013-02-22 Thread Olivier Lamy
2013/2/18 Arun Gupta arun.gu...@gmail.com: I'm creating a new Maven archetype that generate Java source files using __artifactId__. If the project is created with -DartifactId=sample-plugin then the Java file/class name is sample-plugin.java. How can I make sure its SamplePlugin.java instead

RE: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread John Miller
Thanks Oliver for the response. This is with 2.7.1. Could it be too many rulesets?? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId version2.7.1/version configuration targetJdk1.6/targetJdk rulesets ruleset/rulesets/basic.xml/ruleset

Re: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread Olivier Lamy
2013/2/22 John Miller john.w.mil...@oracle.com: Thanks Oliver for the response. This is with 2.7.1. Could it be too many rulesets?? ? really Your log says : [INFO] --- maven-pmd-plugin:3.0:pmd (default-cli) @ oracle.tbi.common.entities --- mavenExecutionResult exceptions not empty

RE: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread John Miller
OK that is weird.. that child project does not have a entry for PMD, but the parent entry is 2.7.1 Not sure where it is getting 3.0?? -Original Message- From: Olivier Lamy [mailto:ol...@apache.org] Sent: Friday, February 22, 2013 9:38 AM To: Maven Users List Subject: Re: I need help

RE: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error.

2013-02-22 Thread John Miller
My bad.. thanks for the guidance.. -Original Message- From: John Miller Sent: Friday, February 22, 2013 9:46 AM To: Maven Users List Subject: RE: I need help with a maven-pmd-plugin OutOfMemoryError: Java heap space Error. OK that is weird.. that child project does not have a entry

Re: Git Repositories

2013-02-22 Thread Curtis Rueden
Hi all, Jörg Schaible wrote: I can assure you, you'll *need* such (nested) builder poms I agree, if you need a single build of all modules from the command line for some reason. Not everyone needs that, though. For example, if you develop in Eclipse with actively-developed projects open, M2E

Fwd: mvn verify site vs: mvn verify site:site

2013-02-22 Thread Mirko Friedenhagen
Hello, I started to try to improve the total runtime for our inhouse projects by eliminating unneeded aggregation goals or duplicate invocations of mojos in general. Most of our projects consume a lot of time during tests, so by declaring report-only and failsafe-report-only in the reporting

Re: mvn verify site vs: mvn verify site:site - how to suppress duplicate lifecycle phase invocations?

2013-02-22 Thread Mirko Friedenhagen
Hello, sorry for the self-reply. On further inspection, reporting plugins like javadoc:javadoc or surefire-report-plugin:report-only always fork a lifecycle and invoke the execution of a lifecycle phase. Is there any way to get rid of this? Regards Mirko

Re: Welcome Andreas Gudian as a maven committer !

2013-02-22 Thread Stephane Nicoll
Good stuff. Welcome! On Fri, Feb 22, 2013 at 10:28 PM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: I'd like to welcome Andreas Gudian as our latest committer! Andreas has been working mostly on surefire, where he has been doing some great stuff. Gaining the commit bit now means

[ANN] Maven Checkstyle Plugin 2.10 Released

2013-02-22 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 2.10 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 version in your

Re: Why is properties-maven-plugin still in alpha?

2013-02-22 Thread Matthew Adams
Hmmm. I'm using the goal set-system-propertieshttp://mojo.codehaus.org/properties-maven-plugin/set-system-properties-mojo.htmland specifying a phase explicitly. Seems to work fine. For the curious, my use case is trying to get rid of the annoying derby.log file during my integration-test phase

Re: Why is properties-maven-plugin still in alpha?

2013-02-22 Thread Dan Tran
for you case, you should pass the system property directly into surefire -D On Fri, Feb 22, 2013 at 7:33 PM, Matthew Adams matt...@matthewadams.me wrote: Hmmm. I'm using the goal set-system-propertieshttp://mojo.codehaus.org/properties-maven-plugin/set-system-properties-mojo.htmland

Re: Deploying non-unique SNAPSHOTs

2013-02-22 Thread Stephen Connolly
Maven 3.x removed the ability to deploy non-unique snapshots. Are you on 3.x or 2.2.1? On Friday, 22 February 2013, Lewis John Mcgibbney wrote: Hi, I'll keep this one short and sweet. For the life of me I can't find an automated method for deploying multi-module SNAPSHOT maven artifacts