apache / apache/maven-build-cache-extension

[MBUILDCACHE-31] Implement skipping "source-only" plugin executions

Open
#242 0 comments 0 reactions 0 assignees View on GitHub
priority:major
Dominant language
Java
Stars
163
Forks
77
Avg merge
1d 2h
Merged PRs (30d)
4

Description

**[Alexander Ashitkin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alex_ashitkin)** opened **[MBUILDCACHE-31](https://issues.apache.org/jira/browse/MBUILDCACHE-31?redirect=false)** and commented

Need to implement following:
* add flag to cache config to mark plugin as "sourceOnly" - think of checkstyle
* if there is a change in dependencies only (eg source code checksums not changed)), skip source only plugin

Open question:
* how to restore artifacts (if any) of skipped plugins

---

This issue is a sub-task of [MBUILDCACHE-27](https://issues.apache.org/jira/browse/MBUILDCACHE-27)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the cache configuration and plugin execution handling, then review the parent MBUILDCACHE-27 task for surrounding context. Done means defining how a plugin is marked sourceOnly, skipping it when only dependencies changed, and deciding how artifacts from skipped plugins are restored.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.