Skip to content

Commit e2fd9cd

Browse files
committed
add example for configuration to readme
1 parent 1da9da1 commit e2fd9cd

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Validates content packages for invalid usage patterns described in [Debugging AE
1313

1414
The following options are supported apart from the default settings mentioned in [FileVault validation][2].
1515

16-
Option | Mandatory | Description
17-
--- | --- | ---
18-
allowVarNodeOutsideContainer | no | `true` in case `/var` nodes should be allowed in content packages which do not contain other packages (i.e. are no containers). Otherwise `var` nodes are not even allowed in standalone packages. Default value `true`.
16+
Option | Mandatory | Description | Default Value
17+
--- | --- | --- | ---
18+
allowVarNodeOutsideContainer | no | `true` in case `/var` nodes should be allowed in content packages which do not contain other packages (i.e. are no containers). Otherwise `var` nodes are not even allowed in standalone packages. | `true`
1919

2020
# Included Checks
2121

@@ -32,6 +32,13 @@ You can use this validator with the [FileVault Package Maven Plugin][3] in versi
3232
<groupId>org.apache.jackrabbit</groupId>
3333
<artifactId>filevault-package-maven-plugin</artifactId>
3434
<version>1.1.0</version>
35+
<configuration>
36+
<validatorsSettings>
37+
<netcentric-aem-cloud>
38+
<allowVarNodeOutsideContainer>false</allowVarNodeOutsideContainer><!-- default value is true, as it is allowed to have /var nodes inside author-only container -->
39+
</netcentric-aem-cloud>
40+
</validatorsSettings>
41+
</configuration>
3542
<dependencies>
3643
<dependency>
3744
<groupId>biz.netcentric.filevault.validator</groupId>

0 commit comments

Comments
 (0)