maven-wrapper icon indicating copy to clipboard operation
maven-wrapper copied to clipboard

[MWRAPPER-45] Migrate/Sync startup scripts with Maven 4

Open jira-importer opened this issue 3 years ago • 7 comments

Unassigned Developer opened MWRAPPER-45 and commented

The scripts are Maven 3 based. Maven 4 has simplified the scripts and introduced consistency improvements. We should port those over for version 4?!


Affects: 3.1.0

Issue Links:

  • MNG-7193 Introduce MAVEN_ARGS environment variable

  • MWRAPPER-99 Support MAVEN_ARGS environment variable

  • MWRAPPER-61 let mvnw call mvn directly, without maven-wrapper.jar

Remote Links:

jira-importer avatar Dec 22 '21 09:12 jira-importer

Michael Osipov commented

Robert Scholte, here is the ticket to track that.

jira-importer avatar Dec 22 '21 09:12 jira-importer

Michael Osipov commented

Please note that improvements to the scripts are not complete in Maven 4.

jira-importer avatar Dec 22 '21 09:12 jira-importer

Slawomir Jaranowski commented

Maybe better is call mvn script from distribution. There is a proposition for it - MWRAPPER-61

jira-importer avatar Mar 19 '22 21:03 jira-importer

Jimisola Laursen commented

Just to confirm, Maven 4 has not been released yet to my knowledge. What is Maven 4 referring to?

jira-importer avatar Sep 07 '22 09:09 jira-importer

Slawomir Jaranowski commented

I would like to promote script-only - direct calling mvn executable from target distribution.

jira-importer avatar Oct 04 '22 20:10 jira-importer

Michael Osipov commented

sjaranowski, I support that because the scripts right now are an ancient fork.

jira-importer avatar Oct 08 '22 08:10 jira-importer

Slawomir Jaranowski commented

Yes we should have and use only one scripts from distribution, in other case it will be difficult to provide proper script according to used Maven versions.

jira-importer avatar Oct 08 '22 11:10 jira-importer