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

Robert Scholte commented on MCOMPILER-335:
------------------------------------------

Changing a default value means that there is actually no real default. Right 
now both source/ and arget have a value, otherwise the result depends on the 
JDK you use. Requiring to set source/target will be kind of painful for 
starters. The whole idea idea is that with a minimal pom you must be able to 
compile, test and package a standard java project.

If people update this plugin without noticing the defaults have changed, the 
results can be dramatic. Hence, I suggest that if we change the default value, 
we must add a warning in case source/target or release are not explicitly set.

> Update default source/target
> ----------------------------
>
>                 Key: MCOMPILER-335
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-335
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.7.0
>            Reporter: Fred Bricon
>            Priority: Major
>
> default source/target have been set to 1.5 in 2010 (MCOMPILER-80). I think 
> it's about time to update the default.
> 1.8 would be my preference, as 9 /10 would probably be a tad too ambitious.
> But, since Maven requires at least Java 1.7 to run, 1.7 is probably the 
> safest option.



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

Reply via email to