maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-1957) <jdk></jdk> clause in the activation section has to provide more complex expressions.
Date Sat, 30 Jun 2018 07:34:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528602#comment-16528602
] 

Hudson commented on MNG-1957:
-----------------------------

Build failed in Jenkins: Maven TLP » maven » MNG-6424 #3

See https://builds.apache.org/job/maven-box/job/maven/job/MNG-6424/3/

> <jdk></jdk> clause in the activation section has to provide more complex
expressions.
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-1957
>                 URL: https://issues.apache.org/jira/browse/MNG-1957
>             Project: Maven
>          Issue Type: Improvement
>          Components: POM
>    Affects Versions: 2.0, 2.0.1
>            Reporter: Trustin Lee
>            Assignee: Brett Porter
>            Priority: Major
>             Fix For: 2.1.0
>
>         Attachments: MNG-1957-maven-project.patch
>
>
> For now, <jdk></jdk> provides only one operator '!' which means negation,
but it would be great if i can use '+' and ~ operator:
> <jdk>1.5+</jdk>  <!-- this will be activated when the current JDK version
is 1.5 or above (e.g. 1.6) -->
> <jdk>1.1 ~ 1.4</jdk> <!-- this will be activated when the current JDK
version is between 1.1 and 1.4 -->
> <jdk>~ 1.3</jdk> <!-- this will be activated when the current JDK version
is 1.3 or below -->
> <jdk>1.4 ~</jdk. <!-- the same with 1.5+ -->



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message