[MWRAPPER-87] Provide a switch to use default repository URL

Open
#209 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start by tracing how the Maven Wrapper reads the repository URL from maven-wrapper.properties and how settings.xml mirrors affect it. Review the wrapper's existing system-property handling and identify the tests covering repository selection. Done means an explicit switch can force https://repo.maven.apache.org/maven2 while the current mirror-aware behavior remains unchanged.

Written by the indexing model from the issue text.

Description

enhancement priority:major

Björn Michael opened MWRAPPER-87 and commented

When mirrors are used in settings.xml then the repository URL in maven-wrapper.properties also contains this mirror. This behavior is sometimes unwanted e.g. local maven configuration differs from project configuration. Thus provide a mean like a system property that enforces the default repository URL (https://repo.maven.apache.org/maven2 at the moment).


Affects: 3.1.1

Dominant language
Java
Stars
254
Forks
78
Avg merge
9h 4m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/maven-wrapper

All issues in apache/maven-wrapper

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.