apache / apache/maven-build-cache-extension
[MBUILDCACHE-49] Allow caching for pom package projects
- Dominant language
- Java
- Stars
- 163
- Forks
- 77
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 4
Description
**[Tomáš Mrázek](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=toka)** opened **[MBUILDCACHE-49](https://issues.apache.org/jira/browse/MBUILDCACHE-49?redirect=false)** and commented
In class `MavenProjectInput` and method `calculateChecksum()` at line `207` is check for pom project and if true, input files are skipped. What was the reason behind ignoring pom projects? I've seen plenty of pom projects with some build logic where caching does make a sense. For example some resource transformations or building external projects via exec-maven-plugin. In those cases both source and target files exist but different packaing other than pom does not make a lot of sense.
---
**Affects:** 1.0.0
4 votes, 5 watchers
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in MavenProjectInput, at calculateChecksum() around line 207, and inspect why POM projects skip input files. Review the caching behavior for POM projects and the reported cases involving resource transformations or exec-maven-plugin builds. Done means the project’s intended caching behavior is clarified and implemented with appropriate test coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100