Igor Fedorenko-4 wrote: > > In the mean time, you can add junit dependency directly to your test > project using something like > > Require-Bundle: pac_third_party_test;bundle-version="1.0.0",org.junit >
Igor, Thanks for replying. But how do I get my test project to directly depend on org.junit? As I said, the Eclipse plugin pac_third_party_test already contains the junit4 libraries, and my test project depends upon this plugin. Do I simply just change the pac_third_party_test's Bundle-SymbolicName name to org.junit and then change my test project to depend on org.junit instead of pac_third_party_test? I tried this, and it initially seemed to work, but in the end it issued the message: Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to c:\XXXXXX\pac-core.tests\target\surefire-reports for the individual test results. at org.codehaus.tycho.osgitest.TestMojo.execute(TestMojo.java:243) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:623) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:521) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:288) ... 14 more But when I look into the target\surefire-reports directory, there were no test results - it's an empty directory. Thanks, Hansen -- View this message in context: http://www.nabble.com/Tycho-with-JUnit---How--tp22155897p22193302.html Sent from the Maven Eclipse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email