Error while including resources with includeAll directive

Description

Suppose, you have a jar file containing some of your changesets. On your main project, you have a dependency on this jar file. Something like this:

Using the project structure above, only file1.xml will be included when using this configuration:

This happens because inside class ClassLoaderResouceAcessor, before adding the file2.xml to the return set, it is verified if it starts with the path found, which is jar:file:/home/felipe/.m2/repository/<path-to-my-dep.jar>/dep.jar!/db/changelog/. While the correct path should be db/changelog/.

I believe the error is in class SpringLiquibase.

Environment

Maven home: /opt/maven
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-112-generic", arch: "amd64", family: "unix"

Status

Assignee

Unassigned

Reporter

Former user

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure