Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho Book: Repository in pom.ml or .target file (or both)

>From https://github.com/etesla/book-tycho/blob/master/en/01-introduction/01-chapter1.md#the-source-of-dependencies
I'm reading that section and wondering what my options are.

I currently have both.
* a number of repository definitions in my pom.xml hierarchy
* a .target file to constrain what is available.
and everything works fine.

As an experiment, I thought I would try to remove the repository
definition from the pom.xml.
My build starts to fail because of "Unable to satisfy dependency " errors.

I think this is because my .target file doesn't include everything,

I'm pulling in features groups via
* <unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
* <unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>

But the errors are
["Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.core.runtime.compatibility 0.0.0.", "Unable to satisfy
dependency from my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.ui.workbench.compatibility 0.0.0.", "Unable to satisfy
dependency from my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.ui 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.apache.lucene 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.appserver 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.base 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.help.webapp 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.core.resources 0.0.0.", "Unable to satisfy dependency from
my.product.feature.feature.group 2.0.11.qualifier to
org.eclipse.ui.forms 0.0.0.",

So I started adding in these to the target runtime manually.
Which seems like a lot work.

So before I bother, I think some expert advice would be useful, which
should also feed back into that section of the book.


Back to the top