-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
The build was failing on running "mvn package"
I had to fix it by changing pom.xml to following
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<!--
Not working
<source>${java.version}</source>
<target>${java.version}</target>
-->
</configuration>
</plugin>
Please review if this is a good general fix for pom.xml, or any other change is needed else where.
Metadata
Metadata
Assignees
Labels
No labels