[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Generated product contains unwanted optional dependencies
|
Indeed this never caught my eyes, an especially I was expecting the includeAllDependencies property to work for product too.
By the way is there a place where the tycho plugins documentation sites are published? I often find the "core" maven ones pretty useful.
Thank you
Vivien
On Tue, Sep 11, 2012 at 4:51 PM, Oberlies, Tobias
<tobias.oberlies@xxxxxxx> wrote:
This is a frequently asked question, but apparently it seems to be hard to find the previous answers.
Therefore I have posted the question (and an answer) on stackoverflow.com:
http://stackoverflow.com/questions/12372269/eclipse-rcp-built-by-tycho-includes-unwanted-optional-dependencies
If you are not doing it yet, I would also encourage you to ask questions on stackoverflow yourself. It’s a great system that makes it very likely
you quickly get good answers. Also, others with the same problem can more easily benefit more from your learnings than if you ask on a mailing list.
Regards
Tobias
Hello,
I try to move a PDE build to Tycho. One of my issue is with the product generation.
- I use packaging type eclipse-repository.
- my product only contains my feature.
- my feature contains org.eclipse.core.runtime, which has an optional dependency on org.eclipse.core.runtime.compatibility.auth
- my feature does not contain org.eclipse.core.runtime.compatibility.auth
However in the resulting product, I get optional dependency org.eclipse.core.runtime.compatibility.auth included.
I created another project of type eclipse-repository, but which is based on a category.xml file. In the resulting zip, the optional dependency org.eclipse.core.runtime.compatibility.auth is NOT present, as expected.
For test prurpose, I added to the repository project the includeAllDependencies configuration of plugin tycho-p2-repository-plugin:
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>0.15.0</version>
<includeAllDependencies>true</includeAllDependencies>
In this case the optional dependencies are included in the p2 repository zip.
So I tried adding the opposite configuration to the product project:
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>0.15.0</version>
<includeAllDependencies>false</includeAllDependencies>
But still the optional dependencies are present.
Do you know how I can force product generation to not include optional dependencies?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user