apache / apache/maven-dependency-plugin

[MDEP-746] New mojo get-classpath

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

Description

**[Tamas Cservenak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=cstamas)** opened **[MDEP-746](https://issues.apache.org/jira/browse/MDEP-746?redirect=false)** and commented

Idea: add new mojo that combines `get` mojo and `build-classpath`, but:
* like get, it should not need project but receive artifact coordinate from CLI
* like build-classpath, would output a classpath string of dependencies from the local repository to a file or log

Use case: using mvn on CLI to resolve and provide classpath for ad-hoc artifact.

---

1 votes, 3 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing get mojo and build-classpath mojo, then trace how CLI artifact coordinates and the local repository are handled. Done means a new mojo can resolve an ad-hoc artifact without a project and output its dependency classpath to a file or log.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.