I am getting the following error or $ mvn compile:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
I was facing the same issue and resolved it with the lines of code below:
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
This helped me:
Then you got the Build Success message and your maven project is created successfully.
For the new Apache net Bean its a little bit different from the suggestion by SUPARNA SOMAN
set configuration
" and click customize configuration
-.A new dialogue box opens....Source
"