Hi,
what version of maven are you using? There was a bug with default
activation in maven 2.0 but that was fixed long ago in 2.0.1.
-Tim
Julien Stern schrieb:
Hi list,
It seems that a profile marked activeByDefault is never active...
Is that a bug or have I missed something?
I haved
Hi list,
It seems that a profile marked activeByDefault is never active...
Is that a bug or have I missed something?
I haved defined a profile in a POM that is active by default, e.g:
profiles
profile
idsome-profile/id
activation
activeByDefaulttrue/activeByDefault
On Fri, Jun 22, 2007 at 02:25:42PM +0200, Tim Kettler wrote:
Hi,
what version of maven are you using? There was a bug with default
activation in maven 2.0 but that was fixed long ago in 2.0.1.
I'm using maven 2.0.7
And I have some more insight about the issue: if I have an OTHER
profile
Just tested with 2.0.7 and your pom snippet and all works as expected:
With property 'something':
[EMAIL PROTECTED]:~/Develop/testproject$ mvn help:active-profiles -Dsomething
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]
That's the intended behaviour as far as I know. If you have something
that is active all the time it should'nt be in a profile.
-Tim
Julien Stern schrieb:
I saw in the Maven source code that the following behavior
was taking place:
a activeByDefault profile becomes inactive as soon as an
I saw in the Maven source code that the following behavior
was taking place:
a activeByDefault profile becomes inactive as soon as an
other profile from the same POM gets activated.
Is that a bug or a feature?
If it is a bug, the patch is a one liner and I can file a JIRA
issue.
--
Julien
On
On Fri, Jun 22, 2007 at 02:55:48PM +0200, Tim Kettler wrote:
That's the intended behaviour as far as I know. If you have something
that is active all the time it should'nt be in a profile.
All right, thanks for the explanation.
--
Julien
-Tim
Julien Stern schrieb:
I saw in the Maven
Yep.
Thierry Lach schrieb:
So Active by default actually means Active unless something else is
active. Right?
On 6/22/07, Julien Stern [EMAIL PROTECTED] wrote:
On Fri, Jun 22, 2007 at 02:55:48PM +0200, Tim Kettler wrote:
That's the intended behaviour as far as I know. If you have
So Active by default actually means Active unless something else is
active. Right?
On 6/22/07, Julien Stern [EMAIL PROTECTED] wrote:
On Fri, Jun 22, 2007 at 02:55:48PM +0200, Tim Kettler wrote:
That's the intended behaviour as far as I know. If you have something
that is active all the