我正在尝试使用Spring Data和Neo4j.我开始尝试按照主站点链接的本指南.特别是我将我的pom.xml基于"Hello,World!".示例文件.这是我的pom.xml中针对导致问题的插件的剪辑...
<plugin>
<!-- Required to resolve aspectj-enhanced class features -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<outxml>true</outxml>
<aspectLibraries>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
<aspectLibrary>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-neo4j</artifactId>
</aspectLibrary>
</aspectLibraries>
<source>1.6</source>
<target>1.6</target>
</configuration>
<executions>
<!-- ERROR HERE IN ECLIPSE SEE BELOW FOR FULL MESSAGE -->
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjtools</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
Run Code Online (Sandbox Code Playgroud)
我看到的错误是:
Multiple annotations found at this line:
- Plugin execution not covered by …Run Code Online (Sandbox Code Playgroud) 首先,我知道这个问题,但我对那里没有提供的细节感兴趣.
我看了一下m2eclipse的文档,发现它简直不合时宜.我能找到的唯一相关部分是
或者,您可以从项目弹出菜单中运行"Maven/Update project configuration"操作,该菜单配置为默认运行"process-resources",也可以在同一首选项页面上更改.
但我无法确定是否Update project configuration相同Update project.我在浏览时发现的所有其他来源也没有提供任何细节.
回顾一下,我想知道的是:
Update project运行任何Maven插件,如果是的话,运行哪些默认设置?在升级到Eclipse Luna或m2e 1.5.x并使用Maven插件项目打开现有工作区之后,Eclipse抱怨说
Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-plugin-plugin ...
Run Code Online (Sandbox Code Playgroud) eclipse ×3
maven ×3
m2eclipse ×2
eclipse-luna ×1
java ×1
m2e ×1
maven-plugin ×1
spring-data ×1