This is an automated email from the ASF dual-hosted git repository.
pauls pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-scriptingbundle-maven-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new e5d4019 SLING-9209 - add a missing closing string literal to required
capabilities
e5d4019 is described below
commit e5d4019769e538b07e81e4769cc66a82494263e7
Author: Karl Pauls <[email protected]>
AuthorDate: Tue May 26 00:03:22 2020 +0200
SLING-9209 - add a missing closing string literal to required capabilities
---
.../org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
b/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
index ab3af5f..d8ed20d 100644
---
a/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
+++
b/src/main/java/org/apache/sling/scriptingbundle/maven/plugin/MetadataMojo.java
@@ -416,7 +416,7 @@ public class MetadataMojo extends AbstractMojo {
VersionRange versionRange = capability.getVersionRange();
if (versionRange != null) {
builder.append("(&").append(versionRange.toFilterString("version")).append("(").append(ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES).append(
-
"=").append(capability.getResourceType()).append("))\"");
+
"=").append(capability.getResourceType()).append(")))\"");
} else {
builder.append("(").append(ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES).append("=").append(capability.getResourceType()).append("))\"");
}