Re: profile activation deactivation

2006-08-15 Thread Jim Christenson

I am having the same problem.

Initially I put the profile combinations into a 'master-pom' but want to
move this definition to the global settings to eliminate a site-specific
pom. The activeByDefault does work at the pom/master-pom level, but I
can't make it work at the settings.xml or profiles.xml level. 

Any new information?

Jim


Adam Hardy-4 wrote:
 
 I have the following profiles [1] in my settings.xml, in order that the 
 'developer' profile will filter out the integration tests via a profile 
 section in one project's pom, while the normal profile (for continuous 
 integration on another machine without my settings.xml) will not see the 
 filter and will therefore run them.
 
 However occasionally I do want to run the integration tests but I can't 
 deactivate my 'developer' profile. Yet from the mailing archives [2] I 
 understand that the activeByDefault profile should automatically 
 DE-activate when I execute:
 
 mvn -Pnormal test
 
 Yet this doesn't happen. Is my understanding incorrect?
 
 [1]
profiles
  profile
iddeveloper/id
activationactiveByDefaulttrue/activeByDefault/activation
repositories ... etc
  /profile
  profile
idnormal/id
repositories  etc
  /profile
/profiles
 
 [2]
 http://marc.theaimsgroup.com/?l=turbine-maven-userm=114014964303554w=2
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/profile-activation---deactivation-tf2050383.html#a5820137
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



profile activation deactivation

2006-08-04 Thread Adam Hardy
I have the following profiles [1] in my settings.xml, in order that the 
'developer' profile will filter out the integration tests via a profile 
section in one project's pom, while the normal profile (for continuous 
integration on another machine without my settings.xml) will not see the 
filter and will therefore run them.


However occasionally I do want to run the integration tests but I can't 
deactivate my 'developer' profile. Yet from the mailing archives [2] I 
understand that the activeByDefault profile should automatically 
DE-activate when I execute:


mvn -Pnormal test

Yet this doesn't happen. Is my understanding incorrect?

[1]
  profiles
profile
  iddeveloper/id
  activationactiveByDefaulttrue/activeByDefault/activation
  repositories ... etc
/profile
profile
  idnormal/id
  repositories  etc
/profile
  /profiles

[2] http://marc.theaimsgroup.com/?l=turbine-maven-userm=114014964303554w=2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]