raducotescu commented on a change in pull request #8:
URL:
https://github.com/apache/sling-scriptingbundle-maven-plugin/pull/8#discussion_r709899376
##########
File path:
src/main/java/org/apache/sling/scriptingbundle/plugin/processor/ResourceTypeFolderAnalyser.java
##########
@@ -66,6 +66,8 @@ public Capabilities getCapabilities(@NotNull Path
resourceTypeDirectory) {
fileProcessor.processExtendsFile(resourceType,
entry, providedCapabilities, requiredCapabilities);
} else if
(Constants.REQUIRES_FILE.equals(file.toString())) {
fileProcessor.processRequiresFile(entry,
requiredCapabilities);
+ } else if
(Constants.VAULT_CONTEXT_XML.equals(file.toString())) {
Review comment:
In addition, it seems that the `XmlAnalyzer` has some issues in our
current test setup - it only reads the first 1024 characters to figure out the
serialization type. However, if the file contains a copyright header, then the
class will fail to correctly identify the serialization type.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]