You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2019/10/02 11:45:00 UTC

[jira] [Commented] (JCRVLT-343) Check for index definitions also considers ACL entries

    [ https://issues.apache.org/jira/browse/JCRVLT-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16942729#comment-16942729 ] 

Konrad Windszus commented on JCRVLT-343:
----------------------------------------

An updated validator has been committed in https://svn.apache.org/r1867884.

> Check for index definitions also considers ACL entries
> ------------------------------------------------------
>
>                 Key: JCRVLT-343
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-343
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.0.4
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: 3.4.2, package-maven-plugin-1.0.5
>
>
> The package for acs-aem-commons contains a rep:policy node at https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/master/content/src/main/content/jcr_root/_oak_index/_rep_policy.xml. This leads to the following build error when embedding acs-aem-commons-content in your own package as subpackage.
> {code}
> ....
> [INFO] --- filevault-package-maven-plugin:1.0.4:package (default-package) @ ... ---
> [INFO] using meta-inf/vault from /Users/konradwindszus/git/.../src/main/META-INF/vault
> [INFO] Scanning files for oak index definitions.
> [ERROR]  Package contains index /oak:index/rep:policy in filter, but not in package. Existing index will be removed.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  14.793 s
> [INFO] Finished at: 2019-07-25T11:25:51+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.0.4:package (default-package) on project ...: org.apache.maven.plugin.MojoExecutionException: Package should not contain index definitions, because 'allowIndexDefinitions=false'. -> [Help 1]
> [ERROR] 
> .
> {code}
> Either the check should be relaxed to skip rep:policy nodes or the warning message should be adjusted.
> The issue was originally reported through https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/1988.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)