maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MCOMPILER-375) can't use release tag on Ubuntu
Date Mon, 18 Feb 2019 17:17:03 GMT

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

Robert Scholte updated MCOMPILER-375:
-------------------------------------
    Affects Version/s:     (was: 3.5)
                       3.8.0

> can't use release tag on Ubuntu
> -------------------------------
>
>                 Key: MCOMPILER-375
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-375
>             Project: Maven Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 3.8.0
>         Environment: Maven 3.5.4 on Windows 8 with Java 8
>            Reporter: Ewa Śliwińska
>            Assignee: Robert Scholte
>            Priority: Minor
>
> I want to configure my Maven project to use Java 8.
> Normally I do it by pasting
> {code:java}
> <build>
>   <plugins>
>     <plugin>
>       <artifactId>maven-compiler-plugin</artifactId>
>       <version>3.8.0</version>
>       <configuration>
>         <release>8</release>
>       </configuration>
>     </plugin>
>   </plugins>
> </build>{code}
> into POM, and this works fine on Maven 3.5.2 on Ubuntu 18.04 with Java 10.
> But when I tried to compile it using Maven 3.5.4 on Windows 10 with Java 8, it says
*invalid flag: --release*. I'm not sure when this tag was introduced, I have problems finding
information about it.
>  



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

Mime
View raw message