blu*_*sky 9 eclipse scala m2eclipse maven-plugin maven
我正在使用scala和maven测试java代码.maven-scala-plugin在Eclipse中返回一个pom文件错误.这是我的pom片段:
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<executions>
<execution>
<id>scala-test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
Run Code Online (Sandbox Code Playgroud)
这是错误:
Plugin execution not covered by lifecycle configuration: org.scala-tools:maven-scala-plugin:2.15.2:testCompile
(execution: scala-test-compile, phase: test-compile)
Run Code Online (Sandbox Code Playgroud)
我是否正确配置了pom?
scala测试运行正常,因为它们都在通过.也许这是一个Maven bug?
当我查看项目的maven属性时,生命周期映射不可用:

小智 13
您应该从此更新站点安装m2eclipse-connector:http://alchim31.free.fr/m2e-scala/update-site
查看此文档:
http://scala-ide.org/docs/tutorials/m2eclipse/index.html
| 归档时间: |
|
| 查看次数: |
13759 次 |
| 最近记录: |