apache / apache/maven-build-cache-extension

[MBUILDCACHE-83] Allow to share cache configuration (maven-build-cache-config.xml) between projects

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

Description

**[Réda Housni Alaoui](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ralaoui)** opened **[MBUILDCACHE-83](https://issues.apache.org/jira/browse/MBUILDCACHE-83?redirect=false)** and commented

We have many maven projects that could benefit from this extension. They could share a common cache configuration.

Would it make sense to be able to pass an http url instead of a path to locate the configuration file to use? If yes, would it make sense to have a configuration merging algorithm between a remote configuration and a local configuration?

See https://github.com/apache/maven-build-cache-extension/blob/0410dc42c8fc3b7d06f982e2e46db41558e72145/src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java#L142 .

---
No further details from [MBUILDCACHE-83](https://issues.apache.org/jira/browse/MBUILDCACHE-83?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at src/main/java/org/apache/maven/buildcache/xml/CacheConfigImpl.java around line 142, where the configuration path is handled. Investigate how configuration files are located and determine the requirements for HTTP URLs and merging remote and local configurations. Done requires an agreed design and implementation for shared configuration behavior, but the issue provides no tests or acceptance criteria.

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.