[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] can tycho be configured that the target that is configured in the pom is always used above the local repo?
|
I'd just like to add another option I used successfully with another
project of mine:
- define a target platform that uses the published p2-updatesites
- inside your branch/whaterver build use a settings.xml
- inside the settings.xml define for each of the p2 updatesites a
mirror-url that references your localy build update-site for example as
file:${workspace}/git-repo1/my-updatesite/target/site
Am 23.04.2020 um 12:25 schrieb Mickael Istria:
If you want to constrain some versions between branches, I think it's up
to your plugin to define the right dependencies. If you use `mvn
install`, then you break isolation and you let p2/tycho decide what it's
going to use. "Porosity" is a risk of `mvn install`; using it has always
been discouraged by Tycho developers since Tycho 0.1 and has been
discourage by Maven developers has well for several months now
If you need to orchestrate builds, then either you use "mvn install" but
with different p2 repos to have some isolation; or you can just not use
"mvn install" and build intermediary p2 repos (1 for each Git repo) so
the build can interoperate by reference the p2 repo from the other
repository, or you can have a super pom to build everything at once.
I really think that both p2 and Maven already have some means to provide
some isolation that you're looking for; so I don't think Tycho needs to
change here.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user