[ 
https://issues.apache.org/jira/browse/MWRAPPER-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695311#comment-17695311
 ] 

Slawomir Jaranowski commented on MWRAPPER-98:
---------------------------------------------

Is it not duplicate of MWRAPPER-77 ?

Can you test with the latest snapshot version 3.2.0-SNAPSHOT?
https://maven.apache.org/guides/development/guide-testing-development-plugins.html

> distributionType=script does not overwrite files
> ------------------------------------------------
>
>                 Key: MWRAPPER-98
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-98
>             Project: Maven Wrapper
>          Issue Type: Bug
>          Components: Maven Wrapper Scripts
>    Affects Versions: 3.1.1
>            Reporter: Wolfgang Knauf
>            Priority: Major
>
> Not sure whether this is a bug or a misunderstanding: This project 
> [https://github.com/arquillian/arquillian-extension-warp] contains a rather 
> old version of Maven Wrapper. So I tried to update it.
>  
> When using this command...
> {code:java}
> mvn wrapper:wrapper -Dtype=script{code}
> ...I would expect it to overwrite "mvnw.cmd" and "mvnw" with newer versions, 
> but the files are not modified. When deleting them before, it works. They are 
> not write protected.
>  
> This command...
> {noformat}
> mvn wrapper:wrapper -Dtype=bin{noformat}
> ...overwrites ".mvn/wrapper/maven-wrapper.jar" and 
> ".mvn/wrapper/maven-wrapper.properties", as expected.
> Also, I wonder how the old project managed to combine the distribution types 
> "bin", "source" and "script" in one package. I assume it is not possible to 
> combine all three types?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to