Change source and target versions of maven-compiler-plugin to 1.8
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
- <release>11</release>
+ <source>${wso2.maven.compiler.source}</source>
+ <target>${wso2.maven.compiler.target}</target>
</configuration>
</plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
- <release>11</release>
+ <source>${wso2.maven.compiler.source}</source>
+ <target>${wso2.maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
