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 2020/08/19 07:05:00 UTC

[jira] [Resolved] (JCRVLT-467) Thread Context ClassLoader destroyed in validate-files mojo

     [ https://issues.apache.org/jira/browse/JCRVLT-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved JCRVLT-467.
------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/jackrabbit-filevault-package-maven-plugin/commit/4fec8fe8424a9593c46a4b84fdbd66362f972d2e.

> Thread Context ClassLoader destroyed in validate-files mojo
> -----------------------------------------------------------
>
>                 Key: JCRVLT-467
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-467
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: package maven plugin
>    Affects Versions: package-maven-plugin-1.1.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: package-maven-plugin-1.1.6
>
>
> Due to the code called in https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/b4d0cc4e2bc81d99b1370af6ac71b39c9a03fb97/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/ValidateFilesMojo.java#L276 the Thread Context Classloader (TCCL) is modified and after the call is no longer the plugin classloader.
> That prevents loading resources from the TCCL like necessary for loading maps in https://github.com/Netcentric/aem-classification/tree/master/aem-classification-validator.



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