maven插件build-helper-maven-plugin在eclipse问题

pom.xml中这个插件在eclipse中会显示错误

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
  <execution>
	<id>add-source</id>
	<phase>generate-sources</phase>
	<goals>
	  <goal>add-source</goal>
	</goals>
	<configuration>
	  <sources>
		<source>target/generated-sources/java</source>
	  </sources>
	</configuration>
  </execution>
</executions>
</plugin>

需要安装m2e build-helper connector

http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-buildhelper/0.15.0/N/0.15.0.201207090124/

发表评论

电子邮件地址不会被公开。

*