是否可以只使用tycho运行junit插件测试而不重新构建应用程序。更多的信息我们有两个詹金斯的工作。
我尝试了"mvn org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test“,但失败了:错误未能在项目com.somename.studio.template.tests上执行目标org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (默认-cli):执行默认-cli的目标org.e clipse.tycho: Tycho plugin:1.0.0:test failed: Tycho构建扩展未为MavenProject: com.somename.studio:com.somename.studio.template.tests:配置”1.0.0-SNAPSH OT @ C:\GIT\somename\tests\junit\com.somename.studio.template.tests.polyglot.build.properties -> Help 1
谢谢
发布于 2018-05-30 13:31:36
由于tycho正确地使用了maven生命周期,所以您不应该在测试项目中使用mvn org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test,而应该只使用mvn test。
https://stackoverflow.com/questions/46235324
复制相似问题