Skip to content

Commit

Permalink
Skip DS check if wildcards are used
Browse files Browse the repository at this point in the history
See #1087
  • Loading branch information
laeubi committed Jun 28, 2022
1 parent 26ebb89 commit 451c50a
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,13 @@ private File createPluginJar() throws MojoExecutionException {
OsgiBundleProject bundleProject = (OsgiBundleProject) facet;
String components = bundleProject.getManifestValue("Service-Component", project);
if (components != null) {
for (String component : components.split(",\\s*")) {
assertComponentExists(component);
if (components.contains("*")) {
getLog().warn(
"Checking Service-Component header that contains wildcards is currently not supported!");
} else {
for (String component : components.split(",\\s*")) {
assertComponentExists(component);
}
}
}
}
Expand Down

0 comments on commit 451c50a

Please sign in to comment.