-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RelEng] Let Tycho build a self-contained p2-repo with minimal content #1222
Conversation
7f8c3dd
to
c7a48ef
Compare
Stage one word well, now lets try stage two. |
Note that this can also later allow to get rid of source features. |
@laeubi currently this fails with:
|
c7a48ef
to
abf3d67
Compare
The build succeeds, but the created p2-repo only contains the |
abf3d67
to
ad35765
Compare
Besides that |
As we are most likely not building slf4j.api there is no main artifact, the jar itself might be already included in some referenced repo then. |
ad35765
to
235e3aa
Compare
AFAICT the referenced repos only contain the slf4j-api bundle in an older version and even with another BSN. |
If you think there is a bug please try providing a reproducer :-) |
235e3aa
to
d29d00f
Compare
d29d00f
to
2b7b2d9
Compare
Using the new possibilities of Tycho's p2-repository-plugin look very promising and the result does very good so far. Two things that I noticed: |
You can look at
currently there is no debug output but you can put a breakpoint in the remove method triggered on |
2b7b2d9
to
0acaaf3
Compare
0acaaf3
to
6a6bcd5
Compare
6a6bcd5
to
503d5b5
Compare
e7a16f7
to
ce41a2b
Compare
Additionally include all sources in the M2E-repo automatically. See news: https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#new-parameter-for-tycho-p2-repository-pluginassemble-repository https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#new-option-to-filter-added-repository-references-when-assembling-a-p2-repository
ce41a2b
to
53bdd9f
Compare
Now that Tycho 4.0.3 is available we can finally use this. |
In the first build I just want to test tycho-p2-repository-plugin#includeAllSources, which IIRC hat some issues a while ago.
If that works the next step is to use includeAllDependencies together with filterProvided, introduced in eclipse-tycho/tycho#2028.
@laeubi FYI