Hi Pierre-Arnaud, > However, I found a more clever solution and we could use the activation > based on presence of the 'pom.xml' file. > Using the following diff on Studio's trunk, by default, 'mvn clean install' > would build everything, and 'mvn clean install -P-studio-full' (notice the > '-' in front of studio-full) would only build the core code plugins: > > MacBookPro:Studio pajbam$ svn diff > Index: pom.xml > =================================================================== > --- pom.xml (revision 992968) > +++ pom.xml (working copy) > @@ -133,6 +133,11 @@ > --> > <profile> > <id>studio-full</id> > + <activation> > + <file> > + <exists>pom.xml</exists> > + </file> > + </activation> > <modules> > <module>libraries</module> > <module>helps</module> > > WDYT?
Indeed, very clever :-) Works fine for me. +1 for this solution. Kind Regards, Stefan
