assembly plug-in config

2012-01-03 Thread Prashant Neginahal
Hi, I am using assembly plug-in to create zip of multi-module project of below structure. parent1 --child-1 --child-2 pom.xml I would like to create the parent1.zip of same structure as below. parent1.zip --child-1 --child-2 pom.xml Could someone help what could be the assembly configuration

Javadoc creation is giving errors

2012-01-03 Thread yerra babji
Hi, I have added the following plugin in my pom.xml file's build configuration. When i execute the mvn package, Its getting failed during javadoc creation and complaining like import package does not exist plugin groupIdorg.apache.maven.plugins/groupId

Re: Fatal error compiling: Prohibited package name: java.lang

2012-01-03 Thread Benson Margulies
On Mon, Jan 2, 2012 at 5:45 PM, Ronald Petty ronald.pe...@gmail.com wrote: Martin, Thanks for the tip.  I tried a few more things and found the root cause.  On a Mac, tools.jar is missing and I had placed a symbolic link from tools.jar to classes.jar (to fix other issues). tools.jar is never

RE: Fatal error compiling: Prohibited package name: java.lang

2012-01-03 Thread Martin Gainty
Good Catch Benson $ANT_HOME\lib09/09/2009 03:44 AM12,605,641 tools.jarcan i toss tools.jar onto the classpath to resolve this issue? Is there anyone to ping at Hadoop to determine the missing location for tools.jar? Is there anyone at ping at Apple to determine the missing location for

Re: Fatal error compiling: Prohibited package name: java.lang

2012-01-03 Thread Benson Margulies
On Tue, Jan 3, 2012 at 7:41 AM, Martin Gainty mgai...@hotmail.com wrote: Good Catch Benson $ANT_HOME\lib09/09/2009  03:44 AM        12,605,641 tools.jarcan i toss tools.jar onto the classpath to resolve this issue? Is there anyone to ping at Hadoop to determine the missing location for

Re: Javadoc creation is giving errors

2012-01-03 Thread Benson Margulies
Why sourcepathsrc/sourcepath? Aren't your sources in src/main/java? On Tue, Jan 3, 2012 at 5:31 AM, yerra babji ybabji.apa...@gmail.com wrote: Hi, I have added the following plugin in my pom.xml file's  build configuration. When i execute the mvn package, Its getting failed during javadoc

Re: Javadoc creation is giving errors

2012-01-03 Thread yerra babji
Our package structure is little different. we have src/com . . . . and ours is multi-module adf project. On Tue, Jan 3, 2012 at 7:05 PM, Benson Margulies bimargul...@gmail.comwrote: Why sourcepathsrc/sourcepath? Aren't your sources in src/main/java? On Tue, Jan 3, 2012 at 5:31 AM,

WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
Hi, I just found a regression: http://jira.codehaus.org/browse/MNG-5224 I think it is serious enough to recommend users avoid using the above combination if you rely on properties in a settings.xml profile to GPG sign your releases. (i.e. anyone pushing to Central) -Stephen

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Mark Derricutt
Is this still broken under the 3.0.4-RC4 builds, or just 3.0.3? -- Great artists are extremely selfish and arrogant things — Steven Wilson, Porcupine Tree On Wed, Jan 4, 2012 at 4:18 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Hi, I just found a regression:

Re: assembly plug-in config

2012-01-03 Thread Guillaume Polet
Hi, not sure of what you are trying to achieve here but the documentation should help you: * http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html * http://maven.apache.org/plugins/maven-assembly-plugin/examples/index.html Cheers, Guillaume Le 3/01/2012 09:28, Prashant

RE: Unable to use maven-ant-tasks

2012-01-03 Thread Matt Walsh
I'm using maven-ant-tasks 2.1.3 with just the xmlns specification with no problems. I have it installed in ANT_HOME/lib, but initially used it from HOME/.ant/lib with no problems. Haven't tried it with the -lib parameter, but no reason to believe it wouldn't work that way as well. Maybe try

How to configure properties-maven-plugin to report built in properties/variables

2012-01-03 Thread David Hoffer
How can I get project variables/properties exported to property file? I'm using properties-maven-plugin and it's good but it only reports things I have explicitly created as properties in my project. I need to also get a report on things that maven already defined such as: project... scm

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
I have checked in a fix towards 3.0.5... Pester olamy to backport... though he may want to wait for me to write the tests of the fix (manual testing confirms the fix... just have to figure out how to get automated testing!) On 3 January 2012 16:03, Mark Derricutt m...@talios.com wrote: Is this

Re: Unable to use maven-ant-tasks

2012-01-03 Thread Guillaume Polet
If I add the following line to your script, it works smoothly (if the maven-ant-tasks jar is on ant classpath): typedef resource=org/apache/maven/artifact/ant/antlib.xml uri=antlib:org.apache.maven.artifact.ant/ Cheers, Guillaume Le 27/12/2011 01:41, Scott Shambarger a écrit : I'm new to ant

Running TestNG tests with Maven fails

2012-01-03 Thread ronen
Hi All, I am trying to run TestNG tests in Maven. here is my configuration: pom.xml: dependencies dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version6.3.1/version

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Mark Derricutt
Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of his releases I'd certainly want 3.0.4 to be able to release... -- Great artists are extremely selfish and arrogant things — Steven Wilson,

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
it all depends on whether olamy decides as RM to backport or not. he is RM for the 3.0.4 release by virtue of action. On Tuesday, 3 January 2012, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Jesse Farinacci
Greetings, On Tue, Jan 3, 2012 at 3:45 PM, Mark Derricutt m...@talios.com wrote: Surely something as egregious as allowing releases to break should block 3.0.4 from being released tho. As someone who uses GPG in that manner for some of his releases I'd certainly want 3.0.4 to be able to

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Arnaud Héritier
Not only properties like I explained it here : http://jira.codehaus.org/browse/MRELEASE-724 Arnaud On Tue, Jan 3, 2012 at 4:18 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Hi, I just found a regression: http://jira.codehaus.org/browse/MNG-5224 I think it is serious enough

Re: WARNING: Cannot use Maven 3.0.3 with Maven Release Plugin 2.2.2 (MNG-5224)

2012-01-03 Thread Stephen Connolly
that is because you are using maven-release-plugin 2.2.1 switch to 2.2.2 and see how you feel - 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 3 Jan 2012 20:58, Jesse

Re: Unable to use maven-ant-tasks

2012-01-03 Thread Scott Shambarger
I tried the latest binary ant release from ant.apache.org and my original build.xml test works perfectly (with just the xmlns). It appears that there's some problem with the Fedora 16 rpm release of ant that is causing the problem. I'll probably need to find a good testcase and report an

Could we delete old version jar in local repository by mvn ?

2012-01-03 Thread zuxiong lin
Is it possible? Thanks.

Re: Could we delete old version jar in local repository by mvn ?

2012-01-03 Thread Jesse Farinacci
Greetings, On Tue, Jan 3, 2012 at 9:14 PM, zuxiong lin linzuxiong1...@gmail.comwrote: Is it possible? http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html -Jesse -- There are 10 types of people in this world, those that can read binary and those that can

Re: Could we delete old version jar in local repository by mvn ?

2012-01-03 Thread zuxiong lin
Append like: repository\org\springframework\spring-core -3.0.5.RELEASE -3.0.6.RELEASE -3.1.0.RELEASE I want to remove 3.0.5 and 3.0.6. 2012/1/4 zuxiong lin linzuxiong1...@gmail.com Is it possible? Thanks.

Re: Could we delete old version jar in local repository by mvn ?

2012-01-03 Thread Jesse Farinacci
Greetings, On Tue, Jan 3, 2012 at 11:02 PM, zuxiong lin linzuxiong1...@gmail.comwrote: Append like: repository\org\springframework\spring-core -3.0.5.RELEASE -3.0.6.RELEASE -3.1.0.RELEASE I want to remove 3.0.5 and 3.0.6. I don't think this is possible with an existing plugin. I don't

Re: maven migration

2012-01-03 Thread chandrasheker
Hi Anders, How are you doing... I created repository using nexus and upload the all artifacts.all dependency jars are downloading from repository but maven plugins are not. how to add the plugins to repository. --added plugins to repository like clean,compiler ,resource and war plugin Unable to

Re: Could we delete old version jar in local repository by mvn ?

2012-01-03 Thread Julien PLAQUEVENT
If I understand well, it is possible ! If you want to do it manually, go to your home directory's .m2 hidden folder, then remove whatever you want from the repository folder. If you want to do it from a project pom, just use maven-clean-plugin on