RE: Maven not respecting order of profiles passed in on the command line

2007-06-06 Thread EJ Ciramella
Maven has one artifact per pom. So do we. We just have an option to package JUST the items called out as resources (and modified during process-resources). If a property is put on the command line, a different assembly is run. When you release your artifact it should be reproducible. It

RE: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread EJ Ciramella
Basically a profile should only be used to either a) externalise OS dependent settings, e.g. location of eclipse installation. In general for all most all maven plugins you never need to do this Why else would you use a profile? So we have three per environment we activate: 1 - base (has

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Jason van Zyl
On 5 Jun 07, at 2:36 PM 5 Jun 07, EJ Ciramella wrote: How about mvn fixing this buggy profile override code? I can see it's targeted for 2.1 (now)... Provide a sample project and attach it to JIRA and your chances are much higher.

RE: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread EJ Ciramella
Project, you want the pom.xml or the profiles.xml or both? -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 5:19 PM To: Maven Users List Subject: Re: Maven not respecting order of profiles passed in on the command line On 5 Jun 07, at 2:36

RE: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread EJ Ciramella
Did ya miss the part about the 220 mb artifacts? :-P This is a MASSIVE product. Nothing I can zip up and send anywhere (plus, most likely, I'd be instantly fired). -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 7:01 PM To: Maven Users

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Jason van Zyl
On 5 Jun 07, at 6:07 PM 5 Jun 07, EJ Ciramella wrote: Project, you want the pom.xml or the profiles.xml or both? A fully intact project that I can run directly. Basically so I can unzip, run, and look for the problem you describe. -Original Message- From: Jason van Zyl

RE: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread EJ Ciramella
You don't need a project btw - you just need maybe 5 profiles. Try to activate three of them. Then change the order of the profiles. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 7:19 PM To: Maven Users List Subject: RE: Maven not

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Jason van Zyl
On 5 Jun 07, at 7:19 PM 5 Jun 07, EJ Ciramella wrote: Did ya miss the part about the 220 mb artifacts? :-P This is a MASSIVE product. Nothing I can zip up and send anywhere (plus, most likely, I'd be instantly fired). Yes, well that's always the hard part. Making a project

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Jason van Zyl
On 5 Jun 07, at 7:35 PM 5 Jun 07, EJ Ciramella wrote: You don't need a project btw - you just need maybe 5 profiles. Try to activate three of them. Then change the order of the profiles. Right, that's what you have to give us. I'm not making them to reproduce the problem. Or if you ask

RE: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread EJ Ciramella
Take ANY working project you ALREADY have and try using help:active-profiles with a list specified. You can change the order and it doesn't matter. Maven just does what it likes. -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 7:46 PM

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Barrie Treloar
You probably want to read http://www.nabble.com/What-is-the-Best-practice-for-generating-variations-of-an-artifacts--tf3414040s177.html I'm still confused over your build environment. Maven has one artifact per pom. When you release your artifact it should be reproducible. But having to select

RE: Maven not respecting order of profiles passed in on the command line

2007-06-04 Thread EJ Ciramella
The bug says this also: Affects versions: 2.0, 2.0.1, 2.0.3, 2.0.2, 2.0.4 2.0.5/6 are both absent from that list. At the bottom of the page, I also see this: Fixed in trunk revision 408021. Merged in 2.0.x branch in revision 408023. So I'm not sure where/how this is really fixed.

RE: Maven not respecting order of profiles passed in on the command line

2007-06-04 Thread EJ Ciramella
Please enlighten me - how do you avoid using profiles entirely? -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Saturday, June 02, 2007 8:29 PM To: Maven Users List Subject: Re: Maven not respecting order of profiles passed in on the command line On 6/3/07,

Re: Maven not respecting order of profiles passed in on the command line

2007-06-04 Thread Barrie Treloar
On 6/4/07, EJ Ciramella [EMAIL PROTECTED] wrote: Please enlighten me - how do you avoid using profiles entirely? You will need to describe your use case. Basically a profile should only be used to either a) externalise OS dependent settings, e.g. location of eclipse installation. In

RE: Maven not respecting order of profiles passed in on the command line

2007-06-02 Thread EJ Ciramella
I hate to bump my original email - but can someone from the dev side please let me know what to expect here? We're 100% wedged at this point. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 7:31 PM To: Maven Users List Subject: Maven not

Re: Maven not respecting order of profiles passed in on the command line

2007-06-02 Thread Wendy Smoak
On 6/2/07, EJ Ciramella [EMAIL PROTECTED] wrote: I hate to bump my original email - but can someone from the dev side please let me know what to expect here? We're 100% wedged at this point. The issue you linked to [1] is marked fixed for 2.1-alpha-1, which has not yet been released. The

Re: Maven not respecting order of profiles passed in on the command line

2007-06-02 Thread Barrie Treloar
On 6/3/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 6/2/07, EJ Ciramella [EMAIL PROTECTED] wrote: I hate to bump my original email - but can someone from the dev side please let me know what to expect here? We're 100% wedged at this point. The issue you linked to [1] is marked fixed for