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