Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] maven maven-osgi-test-plugin swtbot lots of unwanted menu items

> I feel this problem is related to swtbot rather tycho, I am saying this
> because if I run swtbot tests within eclispe environment using pde test it
> also include unwanted plugins but here if remove these these plugin
> manually, it works fine. but I dont know if maven-osgi-test-plugin provide
> facilities to remove unwanted plugins somthing like we usally remove
> transitive dependencies in maven.

The OSGi runtime for the maven-osgi-test-plugin (aka tycho-surefire-plugin since 0.12.0) is created with p2. It is not possible to manually exclude dependencies. 

As Igor said before, the solution should be to avoid dependencies on things that you do not want in the test runtime. Otherwise, you could also try to write more robust UI tests.

Regards
Tobias



Back to the top