Sto usando Spring Tool Suite 3.1.0.RELEASE e il file pom.xml in ogni progetto che creo ha un singolo errore intitolato " org.apache.maven.plugin.jar.JarMojo". Nessun ulteriore errore dettagli.Come rimuovere l'errore org.apache.maven.plugin.jar.JarMojo dall'editor pom
Questo errore è presente anche nel pom.xml generato automaticamente durante la creazione di un nuovo progetto Spring Utility.
Non provoca errori durante la compilazione, viene visualizzato solo nell'IDE (in alto nella scheda Panoramica nell'editor pom e nella prima riga di pom.xml).
Qualcuno ha visto questo prima e sa come risolvere il problema? Google non è stato utile.
Ecco la pom.xml predefinito generato dalla mia suite di strumenti Primavera per un programma di utilità del progetto Primavera (che provoca l'errore descritto):
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.samples.spring</groupId>
<artifactId>spring-utility</artifactId>
<version>1.0.0.CI-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Spring Utility</name>
<url>http://www.springframework.org</url>
<description>
<![CDATA[
This project is a minimal jar utility with Spring configuration.
]]>
</description>
<properties>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<spring.framework.version>3.0.6.RELEASE</spring.framework.version>
</properties> <dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.framework.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
Si prega di fornire il vostro pom. – willome
Scusa, probabilmente una buona idea. Aggiunto ora. –