apache / apache/maven-jdeps-plugin
[MJDEPS-19] jdeps with -m with error on module
- Dominant language
- Java
- Stars
- 18
- Forks
- 18
- Avg merge
- 9h 12m
- Merged PRs (30d)
- 5
Description
**[Andre Tadeu de Carvalho](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=andretadeu)** opened **[MJDEPS-19](https://issues.apache.org/jira/browse/MJDEPS-19?redirect=false)** and commented
Analyzing the **jdeps** command executed in _src/it/module_ integration test, it executes:
```
jdeps -m maven.its.base /target/it/module/target/classes
```
but the command the plugin should issue is:
```java
jdeps -m maven.its.base --module-path /target/it/module/target/classes
```
, which it is the correct version of the former command. The command still works, but it shows the following message:
**Error: invalid argument for option: -m**
---
**Affects:** 3.1.2
**Issue Links:**
- [MJDEPS-20](https://issues.apache.org/jira/browse/MJDEPS-20) jdeps for modularized code should use --module-path
(_**"is duplicated by"**_)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the src/it/module integration test and inspect how it assembles the jdeps command. Compare the current invocation using -m with the reported --module-path form. Done means the modularized-code test invokes jdeps without the invalid-argument message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100