将插件重新部署到eclipse安装中
我有一个eclipse插件,其中包含使用SWTBot开发的JUnit测试 我正在尝试在无hadles模式下使用tychosurefire插件对eclipse安装运行测试。以下是我的专业人士的介绍:将插件重新部署到eclipse安装中,eclipse,maven,tycho,tycho-surefire-plugin,Eclipse,Maven,Tycho,Tycho Surefire Plugin,我有一个eclipse插件,其中包含使用SWTBot开发的JUnit测试 我正在尝试在无hadles模式下使用tychosurefire插件对eclipse安装运行测试。以下是我的专业人士的介绍: <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-surefire-plugin</artifactId> <version>${tycho-ve
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIThread>false</useUIThread>
<testRuntime>p2Installed</testRuntime>
<work>${work.dir}</work>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<argLine>${ui.test.args}</argLine>
<appArgLine>${ui.test.vmargs}</appArgLine>
<application>com.myapplication</application>
</configuration>
</plugin>
一切都没问题,只是如果我在插件上做一些代码更改,新版本的代码不会部署到eclipse安装中。
在运行mvn之前,请确认我正在运行mvn安装命令。
如果我要添加一个新的测试类
Caused by: org.apache.maven.surefire.util.NestedRuntimeException: Unable to create test class 'com.tests.MyNewClassTest'; nested exception is java.lang.ClassNotFoundException:
我不知道我缺少什么配置。如何重新部署测试插件?增量生成,即没有清除的生成要求生成插件正确处理目标文件夹中上次执行的生成结果。tycho surefire插件显然不是这种情况。功能请求可在此处提交:
Caused by: org.apache.maven.surefire.util.NestedRuntimeException: Unable to create test class 'com.tests.MyNewClassTest'; nested exception is java.lang.ClassNotFoundException: