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

SLING-11291 make use of bnd:jar goal #24

Closed
wants to merge 1 commit into from

Conversation

stefanseifert
Copy link
Member

@stefanseifert stefanseifert commented Apr 29, 2022

move bnd plugin configuration out of executions section to apply it to both executions

see also discussion in https://issues.apache.org/jira/browse/SLING-11291

move bnd plugin configuration out of executions section to apply it to both executions
@stefanseifert stefanseifert requested a review from kwin April 29, 2022 12:43
@sonarcloud
Copy link

sonarcloud bot commented Apr 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As outlined in the JIRA I don't think we should change the packaging goal. Let's use each plugin for what it was designed. Not using m-j-p for doing the packaging may lead to introducing vulnerabilities. m-j-p is by far the most popular packaging plugin and well maintained.

</goals>
</execution>
<execution>
<id>bnd-jar</id>
Copy link
Member

@kwin kwin Apr 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bnd:jar encapsulates generating metadata and therefore OSGi metadata is generated twice in mvn package which seems quite some overhead

@stefanseifert
Copy link
Member Author

abandoned as discussed in https://issues.apache.org/jira/browse/SLING-11291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants