bazel-contrib / bazel-contrib/rules_jvm_external

Can't add maven local under `maven_install`'s repository

Open
#305 4 comments 0 reactions 0 assignees View on GitHub
coursier-cli type: feature request
Dominant language
Java
Stars
373
Forks
301
Avg merge
7d 17h
Merged PRs (30d)
3

Description

I'm trying to add maven local repository under `maven_install` but seems like it doesn't support this currently.

What I did is
```
maven_install(
name = "mvn",
artifacts = [
# Add all Android third-party deps here:
],
repositories = [
"https://maven.google.com",
"file://localpath",
],
version_conflict_policy = "pinned",
)
```
The file:// path will not be recognized

Contributor guide

Open the contributing guide

Research direction

Start by tracing the maven_install repository handling for the file://localpath entry shown in the issue. Add coverage for a local Maven repository and verify that artifacts can be resolved from it without breaking the existing HTTPS repository behavior.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.