Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
I have this absolute minimal pom:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>test</groupId> <artifactId>minimal</artifactId> <version>0.0.1-SNAPSHOT</version> </project>
executing this with maven fails with:
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 5 is no longer supported. Use 7 or later. [ERROR] Target option 5 is no longer supported. Use 7 or later.
As I have configured nothing, as a user I would expect that the defaults are something that at least can work and do not fail, or gives a strong indication that some kind of configuration is required but missing. In this case it would even be appropriate to instead have an error to issue a warning that level 7 is used instead.
Attachments
Issue Links
- is related to
-
MNG-7666 Update default binding and lifecycle plugin versions
- Closed