You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/24 00:37:11 UTC
[jira] Closed: (MNG-1000) adjust assert and generics settings according to JDK used
[ http://jira.codehaus.org/browse/MNG-1000?page=all ]
Brett Porter closed MNG-1000:
-----------------------------
Assign To: Brett Porter (was: Edwin Punzalan)
Resolution: Fixed
> adjust assert and generics settings according to JDK used
> ---------------------------------------------------------
>
> Key: MNG-1000
> URL: http://jira.codehaus.org/browse/MNG-1000
> Project: Maven 2
> Type: Improvement
> Components: maven-idea-plugin
> Reporter: Brett Porter
> Assignee: Brett Porter
> Fix For: 2.0.1
> Attachments: MNG-1000-maven-idea-plugin.patch
>
>
> <maven:get plugin="maven-java-plugin" property="maven.compile.source" var="jdkLevel" />
> <j:if test="${empty(jdkLevel)}">
> <j:set var="jdkLevel" value="${java.specification.version}" />
> </j:if>
> <j:choose>
> <j:when test="${jdkLevel == '1.4'}">
> <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="false"/>
> </j:when>
> <j:when test="${jdkLevel.compareTo('1.5') >= 0}">
> <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true"/>
> </j:when>
> <j:otherwise>
> <component name="ProjectRootManager" version="2" assert-keyword="false"/>
> </j:otherwise>
> </j:choose>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org