Precisely the reason why profiles are evil imho. They play off each 
other and when you have multiple going at once the outcome can be 
unexpected. If the dependencies respect when you have native jars 
installed is there any reason not just to make it part of the main pom 
configuration, ie no profile?

-Justin

Andrea Aime wrote:
> Hi all,
> unfortunately I can't find a way to make the nojai active by default
> properly, that is, stay there, but be able to disable it using env
> variables or settings.xml.
> 
> First surprise for me is that a profile that is "activeByDefalt"
> will disable itself as soon as another profile is activated, so
> for example if you enable stress tests, the nojai profile would
> disable (and this is the default behaviour!).
> 
> Moreover, once I set nojai active by default, I can't find
> a way to disable it anymore (that is crazy, too). That is,
> -P!nojai or -P-nojai won't disable it.
> 
> Again, it seems that in maven everything is there to make
> profiles be activated, but nothing to disable them.
> 
> So, in the end, it seems that unless some smart guy is able
> to get this right, we'll be stuck having nojai as something
> we have to activate by hand, or by modifying settings.xml
> by adding the following section:
> 
>    <activeProfiles>
>      <activeProfile>nojai</activeProfile>
>    </activeProfiles>
> 
> Cheers
> Andrea
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to