Re: Disabling Profiles during release

2012-01-13 Thread Guillaume Polet
Not sure this is the right place to put your question and not sure I 
understand what's your question exactly.


Yes it is possible to deactivate profiles.

As for jenkins, in the "goals and options" box, just put:
-P !profile1,!profile2

Have you tried running mvn from the command line? If yes, then your 
problem needs to be answered here. Otherwise, I would ask jenkins guys.


Cheers,
Guillaume
Le 13/01/2012 15:09, Asmann, Roland a écrit :

Hi all,

I have this company-wide POM that has several profiles that are
activated when running on Jenkins. Now during the normal build of this
POM, I tell Jenkins to deactivate several profiles, because they just
can't run.

Today I needed to make a release of this POM, and I tried to deactivate
the profiles as well -- using -Darguments=-P!profile1,!profile2 etc.
This does not seem to work however, so I am now unable to release this
POM using Jenkins!

Before, when I had to activate profiles, this worked just fine! Is it
just not possible to deactivate profiles or am I missing something here?

Thanks,




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Disabling Profiles during release

2012-01-13 Thread Asmann, Roland
Hi all,

I have this company-wide POM that has several profiles that are 
activated when running on Jenkins. Now during the normal build of this 
POM, I tell Jenkins to deactivate several profiles, because they just 
can't run.

Today I needed to make a release of this POM, and I tried to deactivate 
the profiles as well -- using -Darguments=-P!profile1,!profile2 etc. 
This does not seem to work however, so I am now unable to release this 
POM using Jenkins!

Before, when I had to activate profiles, this worked just fine! Is it 
just not possible to deactivate profiles or am I missing something here?

Thanks,

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org