How to remove erroneous dependency from tycho build?

Posted by sfinnie on Stack Overflow See other posts from Stack Overflow or by sfinnie
Published on 2012-09-21T09:05:18Z Indexed on 2012/11/13 23:00 UTC
Read the original article Hit count: 235

Filed under:
|
|

Context: Have built an eclipse update site using tycho but trying to install into target IDE fails.

The update site builds fine; I can see it from a target eclipse installation and select the feature for installation. However, the dependency check fails at start of install as it can't find a declared dependency (org.eclipselabs.xtext.utils.unittesting). This shouldn't be a dependency: it was erroneously included in MANIFEST.MF for one of my eclipse plugin projects.

I removed the dependency from the manifest and run mvn clean install. Build reported success. However when I try to use the newly built update site it still complains that the dependency to org.eclipselabs.xtext.utils.unittesting (a) exists and (b) can't be satisfied.

So the question is: what else do I need to do to remove the dependency from the generated update site?

Thanks for any pointers.

PS: I know I could add the site for o.e.x.u.unittesting in the target eclipse installation so it can satisfy the dependency. However I don't want to do that; it's not needed for the feature to work and I don't want other users to have to add an unnecessary dependency.

© Stack Overflow or respective owner

Related posts about maven

Related posts about xtext