Re: Finding Maven properties?

2013-03-19 Thread Hervé BOUTEMY
a reference list does not exist per-se, because the structure is extensible: it's not really "properties" but more pseudo-properties with multiple sources one reference source of information is the structure documentation: http://maven.apache.org/ref/3-LATEST/maven-model-builder/ Regards, Herv

Re: Unpacking jars into target/classes

2013-03-19 Thread Baptiste MATHUS
+1 on everything, Manfred. And for the record, in case anyone is wondering if that mailing list if often like that, please read some other threads... I never saw that kind of thing here. Le 19 mars 2013 22:54, "Manfred Moser" a écrit : > > Am 19.03.2013 14:02, schrieb Stephen Connolly: > >> Wayne

Re: Unpacking jars into target/classes

2013-03-19 Thread Mark Derricutt
Stephen Connolly wrote: Just for you, I have taken the 30 minutes out of my life and written a Maven Plugin that will solve your issues with those pesky non-maven dependencies. https://github.com/stephenc/non-maven-jar-maven-plugin You will need to wait a couple of hours for the sync to central

Re: Unpacking jars into target/classes

2013-03-19 Thread Joachim Durchholz
Am 19.03.2013 23:40, schrieb Stephen Connolly: I don't know what kind of message you got, because it seems that you are intent on mis-interpreting everything I write... I wonder what you will jump on in this reply! On nothing at all. No reasons to. -

Re: how to include 'src/main/webapp' in a jar file?

2013-03-19 Thread Ron Wheeler
You might think about building the jar as a project first and then making the war project depend on the jar project. This will give you the jar that you want and the war as well. Ron On 19/03/2013 4:38 PM, Sankaran, Nambi wrote: Hi All I have a maven web project that has packaging as "war". t

Re: Unpacking jars into target/classes

2013-03-19 Thread Stephen Connolly
On Tuesday, 19 March 2013, Joachim Durchholz wrote: > Am 19.03.2013 22:20, schrieb Stephen Connolly: > >> On Tuesday, 19 March 2013, Joachim Durchholz wrote: >> >> Am 19.03.2013 12:13, schrieb Stephen Connolly: >>> >>> Jo, Just for you, I have taken the 30 minutes out of my life and wr

Re: Unpacking jars into target/classes

2013-03-19 Thread Manfred Moser
> Am 19.03.2013 14:02, schrieb Stephen Connolly: >> Wayne, >> >> Please open an issue ( >> https://github.com/stephenc/non-maven-jar-maven-plugin/issues). Pull >> requests welcome > > Just for the record: This confirms that you did that in full consent > with both the community and your true inner

Re: Unpacking jars into target/classes

2013-03-19 Thread Joachim Durchholz
Am 19.03.2013 22:20, schrieb Stephen Connolly: On Tuesday, 19 March 2013, Joachim Durchholz wrote: Am 19.03.2013 12:13, schrieb Stephen Connolly: Jo, Just for you, I have taken the 30 minutes out of my life and written a Maven Plugin that will solve your issues with those pesky non-maven dep

Re: Unpacking jars into target/classes

2013-03-19 Thread Ron Wheeler
Stephen, I guess they don't have the expression about "biting the hand that feeds you" where ever he comes from. It was very kind of you to develop the plug-in for him. A simple "Thank you" would have been a better response. Ron On 19/03/2013 4:57 PM, Joachim Durchholz wrote: Am 19.03.20

Re: Unpacking jars into target/classes

2013-03-19 Thread Joachim Durchholz
Am 19.03.2013 14:02, schrieb Stephen Connolly: Wayne, Please open an issue ( https://github.com/stephenc/non-maven-jar-maven-plugin/issues). Pull requests welcome Just for the record: This confirms that you did that in full consent with both the community and your true inner beliefs. I had

Re: Unpacking jars into target/classes

2013-03-19 Thread Stephen Connolly
On Tuesday, 19 March 2013, Joachim Durchholz wrote: > Am 19.03.2013 12:13, schrieb Stephen Connolly: > >> Jo, >> >> Just for you, I have taken the 30 minutes out of my life and written a >> Maven Plugin that will solve your issues with those pesky non-maven >> dependencies. >> >> https://github.co

Re: Unpacking jars into target/classes

2013-03-19 Thread Joachim Durchholz
Am 19.03.2013 12:13, schrieb Stephen Connolly: Jo, Just for you, I have taken the 30 minutes out of my life and written a Maven Plugin that will solve your issues with those pesky non-maven dependencies. https://github.com/stephenc/non-maven-jar-maven-plugin Sorry, but that bold text is a pie

how to include 'src/main/webapp' in a jar file?

2013-03-19 Thread Sankaran, Nambi
Hi All I have a maven web project that has packaging as "war". the package generates war file that confirms to war format. But, i like to package the project as a "jar" as well along with the default "war" format. So, I am trying to use "maven jar" plugin to achieve that. I am using the followi

Looking for best practice guidance to avoid duplication

2013-03-19 Thread Niranjan Rao
Hi there, I am looking for a best (and/or correct) way to avoid duplication of cargo declarations when using multiple servers, but same set of applications. Only thing that changes is destination server and it's password. Current scenario One master pom, lot of modules. Web applications sc

Re: Copy-maven-plugin and settings.xml

2013-03-19 Thread Kevin Krumwiede
You can put a profile section in your settings.xml and define properties in it that will be available to your POM. On Mar 19, 2013 6:34 AM, "kishorej" wrote: > > Hi, > I am using copy-maven-plugin for copying the .tar.gz from my hudson > machine(artifact) to the development server. I am using

RE: Nexus deployment of a ZIP file...

2013-03-19 Thread Jim McCaskey
Hi there, Your missing phases and goals. Below should get you closer. More information can be found here: http://maven.apache.org/plugins/maven-assembly-plugin/usage.html -Jim maven-assembly-plugin 2.4 package single

Re: Nexus deployment of a ZIP file...

2013-03-19 Thread Jeffrey E Care
"Zanzerkia, Robert" wrote on 03/19/2013 12:10:33 PM: > From: "Zanzerkia, Robert" > To: "users@maven.apache.org" , > Date: 03/19/2013 12:12 PM > Subject: Nexus deployment of a ZIP file... > > Hi, > I am trying to deploy a zip file built using Maven to the Nexus > repository (internal to our

Nexus deployment of a ZIP file...

2013-03-19 Thread Zanzerkia, Robert
Hi, I am trying to deploy a zip file built using Maven to the Nexus repository (internal to our company). When I use mvn deploy it connects to repository and deploys the snapshot except with the default jar file NOT with the zip file I am building as explained below. "uCMDB-PatternDev-0.0.1-2

Re: mvn -amd should honour dependencyManagement POM imports

2013-03-19 Thread Ansgar Konermann
Am 18.03.2013 19:01, schrieb Stephen Connolly: > Smells like a bug, I'd be interested in other's thoughts, but absence > further input to the contrary, please one a jira Filed MNG-5455 [1] Best regards Ansgar [1] https://jira.codehaus.org/browse/MNG-5455

Re: Copy-maven-plugin and settings.xml

2013-03-19 Thread Adrien Rivard
Why not using a ssh key with no password ? Alternatively you can let the server download the file via a simple cron script .(from hudson or even nexus or other MRM; nexus has a simple rest api for that). On Tue, Mar 19, 2013 at 2:34 PM, kishorej wrote: > Hi, > I am using copy-maven-plugin

RE: Copy-maven-plugin and settings.xml

2013-03-19 Thread Zanzerkia, Robert
Hi, I just configured security for maven nexus repository using encrypted passwords using the below guide. http://maven.apache.org/guides/mini/guide-encryption.html This might help in your situation... Robert Zanzerkia -Original Message- From: kishorej [mailto:kishore

Re: build helper maven plugin:regex-property :: set the maven property with the value if the regex don't match ?

2013-03-19 Thread Fabien PERIE
Sorry but I smoked this morning... I come to add a new IT test to validate the proper functioning of the plugin... Fabien 2013/3/19 Fabien PERIE > Hello, > > I created a jira issue available here : > https://jira.codehaus.org/browse/MBUILDHELPER-54 > > > Thank's a lot, > Fabien > > 2013/3/19 Fa

Re: build helper maven plugin:regex-property :: set the maven property with the value if the regex don't match ?

2013-03-19 Thread Fabien PERIE
Hello, I created a jira issue available here : https://jira.codehaus.org/browse/MBUILDHELPER-54 Thank's a lot, Fabien 2013/3/19 Fabien PERIE > Hello, > > I use the build helper maven plugin:regex-property maven plugin to define > a maven property with a prefix (the character -) from the > pars

build helper maven plugin:regex-property :: set the maven property with the value if the regex don't match ?

2013-03-19 Thread Fabien PERIE
Hello, I use the build helper maven plugin:regex-property maven plugin to define a maven property with a prefix (the character -) from the parsedVersion.qualifier maven property. If the parsedVersion.qualifier maven property is not defined, my variable must be set to empty. After resolving this i

Re: maven-dependency-plugin

2013-03-19 Thread Adrien Rivard
On Tue, Mar 19, 2013 at 1:39 PM, virg g <06v...@gmail.com> wrote: > Hi, > Yes have added as two different artifactItems like this > Since I have placed this in Parent POM, it was trying to copy even my > PARENT artifact (parentProj) which is of Type POM. > My Guess the PARENT POM is causing this i

Re: maven-dependency-plugin

2013-03-19 Thread Ron Wheeler
I may not understand everything that you are trying to do but this looks like something that the assembly plug-in or the shade plug-in might accomplish in a more straightforward fashion. Ron On 19/03/2013 8:39 AM, virg g wrote: Hi, Yes have added as two different artifactItems like this Since

Copy-maven-plugin and settings.xml

2013-03-19 Thread kishorej
Hi, I am using copy-maven-plugin for copying the .tar.gz from my hudson machine(artifact) to the development server. I am using username, password, server ip and path as hard coded in my pom instead of settings.xml. Could you please any one help me how to do the same in settings.xml file.

Re: Unpacking jars into target/classes

2013-03-19 Thread Stephen Connolly
Wayne, Please open an issue ( https://github.com/stephenc/non-maven-jar-maven-plugin/issues). Pull requests welcome -Stephen On 19 March 2013 12:59, Wayne Fay wrote: > > Just for you, I have taken the 30 minutes out of my life and written a > > Maven Plugin that will solve your issues with th

Re: Unpacking jars into target/classes

2013-03-19 Thread Wayne Fay
> Just for you, I have taken the 30 minutes out of my life and written a > Maven Plugin that will solve your issues with those pesky non-maven > dependencies. > > https://github.com/stephenc/non-maven-jar-maven-plugin Most importantly, does the plugin output this text each time it runs "BY USING T

Re: maven-dependency-plugin

2013-03-19 Thread virg g
Hi, Yes have added as two different artifactItems like this Since I have placed this in Parent POM, it was trying to copy even my PARENT artifact (parentProj) which is of Type POM. My Guess the PARENT POM is causing this issue, since its type POM, And i have added another section for this also as t

RE: maven-dependency-plugin

2013-03-19 Thread Martin Gainty
so essentially you have 2 different executions which you want to trigger with 2 different profiles http://www.thinkplexx.com/learn/howto/maven2/m2-execution/configure-default-and-alternative-executions-in-maven-pom-using-profiles there are a number of triggers you can implement to trigger your

Re: maven-dependency-plugin

2013-03-19 Thread Adrien Rivard
Hi, Have you try to add two differents executions (with differents id), one for type war the others for type jar ? On Tue, Mar 19, 2013 at 10:51 AM, virg g <06v...@gmail.com> wrote: > HI, > I have project which contains many modules and creates jars and wars. My > Build structure is parent POM

Re: Unpacking jars into target/classes

2013-03-19 Thread Stephen Connolly
On 18 March 2013 22:52, Stephen Connolly wrote: > > > > On 18 March 2013 21:48, Joachim Durchholz wrote: > >> Am 18.03.2013 12:45, schrieb Stephen Connolly: >> >> I would not base your opinion on this one thread. >>> >>> Joachim got off on the wrong foot by mistaking us trying to guide him >>> t

maven-dependency-plugin

2013-03-19 Thread virg g
HI, I have project which contains many modules and creates jars and wars. My Build structure is parent POM has all modules. I am placing all my plugins in PARENT POM to be required to to applied all child modules. My requirement is to copy all these created jars to one location and wars to another