Replies: 1 comment 8 replies
-
A update site can also contain bundles, no need for a feature at all
If yo use the maven-updatesite you don't need any Tycho specific workflow that's what is is made for. If you want to use the tycho flow it will most probably only work for a pure tycho and not for a mixed setup. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Follow up to #925 and #931.
So, following the advice from the two discussions above, I've been able to set up:
Now, I'm trying to see how to get this to fly with the Maven Release Plugin. There is a nice description of how to use the Tycho Versions Plugin as part of the Maven Release Plugin builds to synchronize the versions in the OSGi/Eclipse metadata files with the POM versions.
However, I am having a bit of trouble with the setup...
I still have several pom-first modules in my build. These are referenced from a tycho-driven feature module in the
feature.xml
, e.g.:Now, when the
tycho-versions-plugin
scans the reactor for files it needs to update, it updates the p2 update sitecategory.xml
file nicely and also touches thefeature.xml
files, but it fails to update theplugin
sections in thefeature.xml
files since these plugins are pom-first. For one, when applying a release build to a freshly checkout out project, the Eclipse/OSGi metadata files are not generated before the release plugin kicks in.But even in a repo that was already checked out and built once and has the generated metadata files, the
tycho-versions-plugin
fails figuring out that theseplugin
sections belong to pom-first modules from the reactor and that it should update them.I wonder if there could be some way to allow the
tycho-versions-plugin
to recognize which pom-first maven modules will be building which bundles so that it knows to update the respective references...Beta Was this translation helpful? Give feedback.
All reactions