Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.1
-
None
Description
On my ancient project seems that scripts (mvnw and mvnw.cmd) were not updated after I ran wrapper:wrapper while the rest was okay.
To test my assumption, moved them to mvnw.old and mvnw.cmd.old and re-run wrapper:wrapper. This time the scripts were written out just fine.
But, they were totally different. This also means that scrpts, once written out, will never we updated?
End result I had:
-rwxr-xr-x. 1 cstamas cstamas 9781 máj 8 09.15 mvnw -rw-r--r--. 1 cstamas cstamas 6889 máj 8 09.15 mvnw.cmd -rw-r--r--. 1 cstamas cstamas 6607 szept 1 15.55 mvnw.cmd.old -rwxr-xr-x. 1 cstamas cstamas 10069 szept 1 15.55 mvnw.old
Attachments
Issue Links
- is blocked by
-
MWRAPPER-33 Use java 8 in maven-wrapper
- Closed
- is duplicated by
-
MWRAPPER-98 distributionType=script does not overwrite files
- Closed
- is related to
-
MWRAPPER-102 Self upgrading with a custom repository url fails
- Open
- links to
(1 links to)