maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bentmann <benjamin.bentm...@udo.edu>
Subject Re: Activate a profile based on Maven version?
Date Thu, 04 Nov 2010 09:28:55 GMT
jstrachan wrote:

> Is there a way to activate or de-activate a profile based on the maven
> version?

Have a look at

https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html#Maven3.xandsiteplugin-Usingmavensiteplugin2.xwithMaven2.xandmavensiteplugin3.xwithMaven3.x

it demonstrates such a profile based on a file activator using a 
property that is only recognized by Maven 3.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message