You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Svein (JIRA)" <ji...@apache.org> on 2017/04/25 09:26:04 UTC

[jira] [Commented] (TAP5-2579) Quickstart project does not work with maven-archetype-plugin 3.0.1

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

Svein commented on TAP5-2579:
-----------------------------

For testing it's possible to fake the central to https://repository.apache.org/content/repositories/staging/.
settings.xml:
<settings>
  <mirrors>
      <mirror>
        <id>central</id>
        <name>Apache Staging as Central </name>
        <url>https://repository.apache.org/content/repositories/staging/</url>
        <mirrorOf>*</mirrorOf>
      </mirror>
  </mirrors>
</settings>

It seems that this does not work:
  <repository>
    <id>archetype</id>
    <url>https://repository.apache.org/content/repositories/staging/</url>
  </repository>


> Quickstart project does not work with maven-archetype-plugin 3.0.1
> ------------------------------------------------------------------
>
>                 Key: TAP5-2579
>                 URL: https://issues.apache.org/jira/browse/TAP5-2579
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: quickstart
>    Affects Versions: 5.4.2
>            Reporter: Svein
>
> Tried maven 3.0.4 and 3.5.0
> mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<<
> [INFO]
> [INFO]
> [INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---
> [INFO] Generating project in Interactive mode
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.965 s
> [INFO] Finished at: 2017-04-20T16:03:51+02:00
> [INFO] Final Memory: 15M/368M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: archetypeCatalog 'http://tapestry.apache.org' is not supported anymore. Please read the plugin documentation for details. -> [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/MojoFailureException
> Need to use:
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog= http://tapestry.apache.org
> Ref: http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-Quickstart-problems-td5733428.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)