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

Ewa Śliwińska commented on MCOMPILER-375:
-----------------------------------------

Sorry, this time I just wanted to check if I can - Jira is saving automatically 
;) I think I shouldn't be allowed to change the version. Although, I don't know 
why you set it to 3.8 then.

 

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

Reply via email to