maven-download-plugin: 1.7.0 is broken
- if .cache/download-maven-plugin exists and artifact is deleted from there, plugin fails to work with 1.7.0. Whereas 1.6.8 will redownload when missing.
[ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.7.0:wget (default) on project apache-ant: General error: : java.nio.file.NoSuchFileException:...\.m2\repository\.cache\download-maven-plugin\apache-ant-1.10.13-bin.tar.gz_c5f78007b556836b518ca981366e5928
-
if cache folder is deleted, plugin continually states its downloading and never creates cache. Dropping back to 1.6.8 will re-create.
-
Have another example not shown here that doesn’t even attempt to download, gets 2 0 byte attempts and creates a 0 byte entry. Using wget, not sure if because tar.gz requested or if from github or not. Dropping to 1.6.8 just works.
Configuration, none, out of the box setup. Simply using ‘wget’ option and location to download in this case. On windows.
You can use https://github.com/hazendaz/ant to reproduce. Its on 1.7.0 now and broken. Drop to 1.6.8 and it works.
Maven version in use 3.9.1 Java version in use 17.0.6
Reviewed release notes on this project, nothing mentioned about having to make any changes.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (12 by maintainers)
Commits related to this issue
- Resolves #246 — committed to ajarmoniuk/maven-download-plugin by ajarmoniuk a year ago
- Resolves #246 - protected against the case when the user removes a file from cache - flipped the default value of followRedirects - removed the cached file size limit - successful responses were retri... — committed to ajarmoniuk/maven-download-plugin by ajarmoniuk a year ago
- Resolves #246 - protected against the case when the user removes a file from cache - flipped the default value of followRedirects - removed the cached file size limit - successful responses were retri... — committed to ajarmoniuk/maven-download-plugin by ajarmoniuk a year ago
- Resolves #246 - protected against the case when the user removes a file from cache - flipped the default value of followRedirects - removed the cached file size limit - successful responses were retri... — committed to ajarmoniuk/maven-download-plugin by ajarmoniuk a year ago
- Resolves #246 - protected against the case when the user removes a file from cache - flipped the default value of followRedirects - removed the cached file size limit - successful responses were retri... — committed to ajarmoniuk/maven-download-plugin by ajarmoniuk a year ago
I can check tomorrow evening and let you know thanks.
Sent from my Verizon, Samsung Galaxy smartphone Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Paul Polishchuk @.> Sent: Monday, May 1, 2023 3:05:59 PM To: maven-download-plugin/maven-download-plugin @.> Cc: Jeremy Landis @.>; Mention @.> Subject: Re: [maven-download-plugin/maven-download-plugin] 1.7.0 is broken (Issue #246)
@hazendazhttps://github.com/hazendaz thanks for reporting! 👍 would you like to check again snapshot version before we cut a patch release?
— Reply to this email directly, view it on GitHubhttps://github.com/maven-download-plugin/maven-download-plugin/issues/246#issuecomment-1530087261, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHODIZU224O3T6IMLSDLFTXEACRPANCNFSM6AAAAAAXRCKD6A. You are receiving this because you were mentioned.Message ID: @.***>