apache / apache/maven-wrapper

[MWRAPPER-160] Wrapper fails for Maven >= 4.0.0-beta-5

Open
#325 3 comments 1 reaction 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
254
Forks
78
Avg merge
5h 26m
Merged PRs (30d)
2

Description

**[Juan Farré](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER308727)** opened **[MWRAPPER-160](https://issues.apache.org/jira/browse/MWRAPPER-160?redirect=false)** and commented

Wrapper types source, bin and script fail for Maven versions 4.0.0-beta-5 and 4.0.0-rc-2. I haven't tested the other versions in between, but I guess they fail too.

Fails both for mvnw and mvnw.cmd.

The failure is not reproduced when using type only-script, so I guess the problem is in the wrapper jar.

This is the failure:

!error.png!

This is working correctly for Maven 4.0.0-beta-4:

!correct.png!

This is working correctly for type only-script and Maven 4.0.0-beta-5.

!correctOnlyScript.PNG!

---

**Affects:** 3.3.2

**Attachments:**
- [correct.png](https://issues.apache.org/jira/secure/attachment/13074883/correct.png) (_13.65 kB_)
- [correctOnlyScript.PNG](https://issues.apache.org/jira/secure/attachment/13074882/correctOnlyScript.PNG) (_13.08 kB_)
- [error.png](https://issues.apache.org/jira/secure/attachment/13074844/error.png) (_22.51 kB_)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.