Gili created MBUILDCACHE-124:
--------------------------------
Summary: <dirName glob> doesn't capture the same files as
<dirName> without glob
Key: MBUILDCACHE-124
URL: https://issues.apache.org/jira/browse/MBUILDCACHE-124
Project: Maven Build Cache Extension
Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Gili
In maven-build-cache-config.xml, if I specify:
{code:java}
<attachedOutputs>
<dirNames>
<dirName>classes</dirName>
</dirNames>
</attachedOutputs> {code}
it works fine, but if I specify:
{code:java}
<attachedOutputs>
<dirNames>
<dirName glob="classes/**"/>
</dirNames>
</attachedOutputs> {code}
Then only one file is captured inside the target/classes directory (Dockerfile,
in my case) and all the properties and class files are excluded.
I am expecting both approaches to result in the same files getting included.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)