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? > >
