You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2021/04/05 13:11:00 UTC

[jira] [Closed] (MWRAPPER-6) Wrapper not working: apache-maven-wrapper missing on central

     [ https://issues.apache.org/jira/browse/MWRAPPER-6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MWRAPPER-6.
---------------------------------
      Assignee: Robert Scholte
    Resolution: Won't Fix

This plugin can only be used with Maven 4 and above because it depends a new artifact introduced in Maven 4.
With MWRAPPER-8 you'll get a message if you want to use it with Maven 3.
Maven 3 users need to use https://github.com/takari/takari-maven-plugin

If you want your wrapper to use Maven 3.8.1, simply run {{mvn -N io.takari:maven:0.7.7:wrapper -Dmaven=3.8.1}}

> Wrapper not working: apache-maven-wrapper missing on central
> ------------------------------------------------------------
>
>                 Key: MWRAPPER-6
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-6
>             Project: Maven Wrapper
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>         Environment: OSX / Windows 10 (with Git bash)
>            Reporter: Gerd Aschemann
>            Assignee: Robert Scholte
>            Priority: Blocker
>         Attachments: pom.xml, simple-settings.xml
>
>
> The incorporated Maven wrapper does not yet work since the download artifacts are missing on Maven central.
> Calling the current Maven wrapper plugin leads to a download error:
> {code:java}
> mvn  -s ~/.m2/simple-settings.xml wrapper:wrapper
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------< net.aschemann:dummy >-------------------------
> [INFO] Building dummy 1.0-SNAPSHOT
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --- maven-wrapper-plugin:3.0.1:wrapper (default-cli) @ dummy ---
> [WARNING] The POM for org.apache.maven:apache-maven-wrapper:zip:script:3.6.3 is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  0.689 s
> [INFO] Finished at: 2020-08-08T17:36:18+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-wrapper-plugin:3.0.1:wrapper (default-cli) on project dummy: Failure to find org.apache.maven:apache-maven-wrapper:zip:script:3.6.3 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
> {code}
> Arbitrary combinations of {{-DmavenVersion}}, {{-DwrapperVersion}}, {{-Dtype}}, {{-U}} do not resolve the problem: Looks like the download scripts or jars simply do not exist?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)