I am starting my journey with Maven and I have some problems with it (I guess basic stuff). I have to merge JavaFX and Spring, that is why I chose eclipse (Kepler) and I downloaded STS plugin which include Maven. I tried to make simple Maven project but I got those errors:
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:testResources (execution: default-testResources, phase: process-test-resources) pom.xml /sample line 6 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:resources (execution: default-resources, phase: process-resources) pom.xml /sample line 6 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /sample line 6 Maven Project Build Lifecycle Mapping Problem
Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile) pom.xml /sample line 6 Maven Project Build Lifecycle Mapping Problem
Here is my auto-generated pom.xml:
<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>new</groupId>
<artifactId>sample</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>sample Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>sample</finalName>
</build>
</project>
If I create Maven project in Spring IDE there is no such a problem (but I can't install fx plugins there).
Can someone explain to me (idiot-like) how can I solve this?