tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant elder <antel...@apache.org>
Subject Re: Building with non-default maven profiles?
Date Tue, 13 Apr 2010 10:56:54 GMT
On Tue, Apr 13, 2010 at 11:51 AM, Simon Laws <simonslaws@googlemail.com> wrote:
> On Tue, Apr 13, 2010 at 11:28 AM, ant elder <antelder@apache.org> wrote:
>> On Tue, Apr 13, 2010 at 11:23 AM, Simon Laws <simonslaws@googlemail.com> wrote:
>>> On Tue, Apr 13, 2010 at 11:17 AM, ant elder <ant.elder@gmail.com> wrote:
>>>> We used to be able to build with one of the non-default maven profiles
>>>> by just specifiy the profile with -P, eg mvn -Pbase but that doesn't
>>>> work anymore as the default profile still gets used as well so it
>>>> fails with duplicate modules in the reactor, so you have to exclude
>>>> the default profile eg mvn -Pbase,!default. Does anyone know why this
>>>> is or how to fix it?
>>>>
>>>>   ...ant
>>>>
>>>
>>> What version of Maven are you using?
>>>
>>
>> I've now tried 2.0.11, 2.2.1, and 3.0-alpha6. Does it work for you?
>>
>>   ...ant
>>
>
> At what stage does it fail for you?
>
> mvn -Pbase
> mvn -Peclipse
> mvn -Pdistribution
>
> All start up fine and begin building things for me.
>
> I'm on 2.2.1
>
> Simon
>
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>

Ok thanks, i found it it was a duff settings.xml file which had an old
activeProfiles including the default profile.

   ...ant

Mime
View raw message