apache / apache/maven-build-cache-extension
[MBUILDCACHE-124] <dirName glob> doesn't capture the same files as <dirName> without glob
- Dominant language
- Java
- Stars
- 163
- Forks
- 77
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 4
Description
**[Gili](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cowwoc)** opened **[MBUILDCACHE-124](https://issues.apache.org/jira/browse/MBUILDCACHE-124?redirect=false)** and commented
In maven-build-cache-config.xml, if I specify:
```java
classes
```
it works fine, but if I specify:
```java
```
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.
---
**Affects:** 1.2.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attachedOutputs and dirName glob configuration in maven-build-cache-config.xml, then reproduce both configurations against target/classes. Compare the captured files, including Dockerfile, properties, and class files; done means the glob form captures the same files as the non-glob form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100