Skip to content
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

[backport] Add a tycho-wrap mojo #4426

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Nov 9, 2024

in maven jars/artifacts can be build in numerous ways, not all include the maven-jar-plugin (e.g. maven-assembly-plugin) and not all are easily combined with maven-bundle or bnd-maven plugin.

This adds a new tycho-wrap-plugin that closes this gap by allowing to specify an arbitrary input and output, some bnd instructions and an option to attach the result to the project.

This has also the advantage that projects are able to publish two "flavors" of their artifact a plain one and an OSGi-fied one that could help to convince projects to provide such things as it has zero influence to their build and ways how they build artifacts.

@laeubi laeubi enabled auto-merge (rebase) November 9, 2024 16:36
Copy link

github-actions bot commented Nov 9, 2024

Test Results

0 files   -   600  0 suites   - 600   0s ⏱️ - 3h 57m 37s
0 tests  -   420  0 ✅  -   414  0 💤  -  6  0 ❌ ±0 
0 runs   - 1 260  0 ✅  - 1 241  0 💤  - 19  0 ❌ ±0 

Results for commit 2f199b4. ± Comparison against base commit dd8d859.

in maven jars/artifacts can be build in numerous ways, not all include
the maven-jar-plugin (e.g. maven-assembly-plugin) and not all are easily
combined with maven-bundle or bnd-maven plugin.

This adds a new tycho-wrap-plugin that closes this gap by allowing to
specify an arbitrary input and output, some bnd instructions and an
option to attach the result to the project.

This has also the advantage that projects are able to publish two
"flavors" of their artifact a plain one and an OSGi-fied one that could
help to convince projects to provide such things as it has zero
influence to their build and ways how they build artifacts.
@laeubi laeubi merged commit 644171a into eclipse-tycho:tycho-4.0.x Nov 9, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant