I am new to maven, I have created a maven project in Eclipse on Wildfly server. Its deploying fine and working fine but I have a compilation issue in work space as like below.
cannot change version of project facet ear to 1.3
No issue is there when i specify project facet EAR as 7.0 but in problems it is showing as in the images.
How can I fix this issue?
I hope your using Wildfly server 8 or 9, try using version (jee version) to avoid this compile error
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<version>7</version>
</configuration>
</plugin>
</plugins>
</build>