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

Add a tycho-wrap mojo #4425

Merged
merged 1 commit into from
Nov 9, 2024
Merged

Add a tycho-wrap mojo #4425

merged 1 commit into from
Nov 9, 2024

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 11:38
@laeubi
Copy link
Member Author

laeubi commented Nov 9, 2024

/request-license-review

Copy link

github-actions bot commented Nov 9, 2024

/request-license-review

⚠️ Failed to request review of not vetted licenses.

Workflow run (with attached summary files):
https://github.com/eclipse-tycho/tycho/actions/runs/11755970375

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.
Copy link

github-actions bot commented Nov 9, 2024

Test Results

  603 files    603 suites   4h 11m 18s ⏱️
  431 tests   423 ✅  7 💤 0 ❌ 1 🔥
1 293 runs  1 270 ✅ 22 💤 0 ❌ 1 🔥

For more details on these errors, see this check.

Results for commit 9d61e46.

@laeubi laeubi merged commit 2e98ec9 into eclipse-tycho:main Nov 9, 2024
13 of 15 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