You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ewa Śliwińska (JIRA)" <ji...@apache.org> on 2019/02/18 13:09:00 UTC

[jira] [Issue Comment Deleted] (MCOMPILER-375) can't use release tag on Ubuntu

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

Ewa Śliwińska updated MCOMPILER-375:
------------------------------------
    Comment: was deleted

(was: I see.
 Can you then comment on the further compilation problem I have?
 Interesting thing is that from Eclipse it compiles without a problem (and that even using _release_ flag...).)

> 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.5
>         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)