After importing an existing Eclipse project into a Eclipse JEE Neon Workspace, Eclipse announces a Maven Configuration Problem regarding org.apache.maven.plugin.war.WarMojo.
Information regarding the environment:
Newly installed Ubuntu 16.04.
Newly installed Oracle Java 8 (https://wiki.ubuntuusers.de/Java/Installation/Oracle_Java/Java_8/#Java-8-JDK).
- Newly installed Eclipse Neon R for JEE (by OOmph installer/contains Maven Integration for Eclipse)
- No further installations.
Information regarding the project:
- It's a simple JSF Project (HelloWorld; 1 Class; 1 Faclet).
- It works well under Ubuntu 14.04/Eclipse Mars and Mac OS/Eclipse Neon.
- Eclipse Neon/Ubuntu 16.04 marks a problem in the first line of the pom.xml, namely "org.apache.maven.plugin.war.WarMojo".
- The pom.xml looks like (some parts are made anonymous with ***):
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>***</groupId>
<artifactId>***</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>***</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.2.10</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.2.10</version>
</dependency>
</dependencies>
<build>
<finalName>***</finalName>
</build>
</project>
Many thanks for any help.