apache / apache/maven-dependency-plugin

[MDEP-526] copy and copy-dependencies should take latest release version from version range

Open
#964 3 comments 0 reactions 0 assignees View on GitHub
enhancement priority:minor
Dominant language
Java
Stars
175
Forks
196
Avg merge
19h 30m
Merged PRs (30d)
5

Description

**[abhishek sinha](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=abhsinh2)** opened **[MDEP-526](https://issues.apache.org/jira/browse/MDEP-526?redirect=false)** and commented

In my pom, I have specified version range in properties like:
[1.3.16, 1.4.0-SNAPSHOT)

Currently copy and copy-dependency goals will copy latest SNAPSHOT jar to specified output directory.

My requirement is to have have a configuration which allows to copy latest released jar from the specified version range.

I checked out source code for maven-dependency-plugin and did some modification to make it work. So if this improvement is accepted then how can I contribute to the solution I have.

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the copy and copy-dependencies goals and how they resolve version ranges. Define the configuration needed to select the latest released, non-SNAPSHOT artifact within the range, then verify that both goals copy that artifact while preserving current behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.