apache / apache/maven

[MNG-5833] Invoking non-existant execution from command line executes default

Open
#7,791 1 comment 0 reactions 0 assignees View on GitHub
bug priority:minor
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Marcin Wisnicki](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mwisnicki)** opened **[MNG-5833](https://issues.apache.org/jira/browse/MNG-5833?redirect=false)** and commented

If i invoke:

```
mvn dependency:purge-local-repository@nonexistent
```

it seems like maven proceeds to execute default configuration.

I would expect either doing nothing or returning error. Perhaps with option to decide which.

---

**Affects:** 3.3.3

**Issue Links:**
- [MNG-5768](https://issues.apache.org/jira/browse/MNG-5768) specify execution-id for direct plugin goal invocation from command line

2 votes, 5 watchers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.