apache / apache/maven-dependency-plugin

[MDEP-811] pom.xml output format for dependency:list

Open
#1,319 3 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

**[Simon](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sbernard)** opened **[MDEP-811](https://issues.apache.org/jira/browse/MDEP-811?redirect=false)** and commented

In order to create a reproducible build, it could make sense to fix all version of direct and indirect dependency.

This can be done adding this in \

But this can be fastidious to do that manually.

It could be great if it was possible to change dependency:list input format to something like `pom` which will output something like :

```xml


group-a
artifact-a
1.0


group-a
artifact-b
1.0

```

This way this can be used to easily update/create \

As in this case, it could even make sense to only fixed dependency with version range, also adding an option {**}rangeVersionOnly{**}.

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the dependency:list entry point and its current output-format options. Clarify the proposed pom-style dependency output and the rangeVersionOnly behavior, then identify the relevant tests; done means the format and option are specified, implemented, and covered by tests.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.