Repository navigation
Set service_mode=generic in blueprint archetype - #3137
Merged
Merged
Conversation
Follow-up to apache#3098. The blueprint archetype resolves maven-bundle-plugin to 6.2.0 (bnd 7.4.0) without inheriting the root pom.xml instructions. Adding <service_mode>generic</service_mode> avoids unquoted Import-Service filter truncation by bnd >= 7.2 when generated projects use service filters or namespace handlers. Signed-off-by: JB Onofré <jbonofre@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3098.
archetypes/blueprint/src/main/resources/archetype-resources/pom.xmlresolvesmaven-bundle-pluginto6.2.0(bnd7.4.0) via^felix.maven-bundle-plugin.version^, without inheriting the rootpom.xmlinstructions.Adding
<service_mode>generic</service_mode>aligns the generated blueprint archetype projects with the root build and avoids thebnd >= 7.2unquotedImport-Servicefilter truncation if users add service filters or Blueprint namespace handlers (such ascm:).Verified locally with
mvn -B -pl archetypes/blueprint clean verify -Prat(archetype integration test generatesProvide-Capability: osgi.service;...).