[ 
https://issues.apache.org/jira/browse/MPOM-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylwester Lachiewicz reassigned MPOM-449:
-----------------------------------------

    Assignee: Sylwester Lachiewicz

> Remove the leading "1." from source/target properties
> -----------------------------------------------------
>
>                 Key: MPOM-449
>                 URL: https://issues.apache.org/jira/browse/MPOM-449
>             Project: Maven POMs
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: MAVEN-41
>            Reporter: Tamas Cservenak
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: MAVEN-42
>
>
> The parent 41 has these lines:
> {noformat}
>     <maven.compiler.source>1.${javaVersion}</maven.compiler.source>
>     <maven.compiler.target>1.${javaVersion}</maven.compiler.target> {noformat}
> This makes any Java above 9 defunct (and we do not go below 8, so it works 
> for only two versions). If you try to use 11, 17 or oh my god 21, you end up 
> with "1.11", "1.17" and "1.21" subsequently. While for javac this is not a 
> biggie (it will ignore this if release set, and hopefully is), but 
> reporting/site/whatever craps out badly on this.
> Remove the prefix "1.", and let those on 8 use 1.8 instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to