On Dec 11, 2007, at 2:31 AM, Thorsten Möller wrote:

Based on the documentation that is available from the Maven Web site it is
unclear to me what the exact semantic of the <jdk> tag is: will it be
activated for i) all major Versions greather or equal than the one specified
including sub versions or ii) only for the exact major version and all
subversions. In other words, will a <jdk>1.5</jdk> trigger only for 1.5.y versions or also for 1.6.x, 1.7.x, ...? Provided that the latter one holds my question then would be "how can I create two profiles -- one for 1.5.x
and one for 1.6.x -- and make sure that always only one gets activated
exclusively"?


According to <http://maven.apache.org/guides/introduction/introduction-to-profiles.html > it matches the prefix of the JDK version, so 1.5 will match 1.5.0, 1.5.0_13, 1.5.1, etc. but not 1.6.
--
Tim Moore / [EMAIL PROTECTED]
ATLASSIAN - http://www.atlassian.com
Our products help over 8,500 customers in more than 95 countries to collaborate




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

Reply via email to