You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Edwin Punzalan (JIRA)" <ji...@codehaus.org> on 2005/10/19 08:13:13 UTC

[jira] Updated: (MNG-1000) adjust assert and generics settings according to JDK used

     [ http://jira.codehaus.org/browse/MNG-1000?page=all ]

Edwin Punzalan updated MNG-1000:
--------------------------------

    Attachment: MNG-1000-maven-idea-plugin.patch

> 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: Edwin Punzalan
>      Fix For: 2.0
>  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