1 - that's not quite what I had in mind.  There's no way to activate that 
profile in profiles.xml from the pom.xml?  What if there are no profiles in 
settings.xml?

2 - bummer - anyone else know?
-----Original Message-----
From: Arik Kfir [mailto:[EMAIL PROTECTED]
Sent: Thu 4/13/2006 6:22 PM
To: Maven Users List
Subject: Re: Two new questions
 
Hi EJ,

1. Yes - see the reference to settings.xml at
http://maven.apache.org/maven-settings/settings.html - especially about
"<activeProfiles>". You can add your profile there (in settings.xml, under
"<profiles>") and then add this:
<activeProfiles>
  <!-- you can add more than one active-by-default profiles here... -->
  <activeProfile>myProfileName</activeProfile>
</activeProfiles>

2. AFAIK, no.

Hope this helps,
  Arik.

On 4/14/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
>
> 1 - Is there any way to make a profile stored in profiles.xml the
> default active profile?  I don't see a way to do that unless the profile
> I want is in the pom.xml (I don't want to do this).
>
> 2 - Is there a way from a top level directory to say "compile module-A
> only", or do I have to change directories to module-A and do a mvn
> compile each time?
>
>


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

Reply via email to