[
https://issues.apache.org/jira/browse/FLINK-7839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16207188#comment-16207188
]
Michael Fong commented on FLINK-7839:
-------------------------------------
I looked at the doc code, and there is an if-statement that only considers to
use 'archetypeCatalog' parameter when the project is still under development
(variable: site.is_stable). That is, when the project is released, the
parameter will not show up. Thus, I will put a note regarding to the recent
maven changes if-and-only-if the site is under development.
> Creating Quickstart project for SNAPSHOT version fails
> ------------------------------------------------------
>
> Key: FLINK-7839
> URL: https://issues.apache.org/jira/browse/FLINK-7839
> Project: Flink
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.4.0
> Reporter: Gary Yao
> Assignee: Michael Fong
> Priority: Blocker
> Labels: documentation
> Fix For: 1.4.0
>
>
> The documentation on creating quickstart projects is broken for SNAPSHOT
> releases. For example, the documentation suggests to use the following
> command to generate a Flink 1.4-SNAPSHOT project using maven archetypes:
> {code}
> mvn archetype:generate \
> -DarchetypeGroupId=org.apache.flink \
> -DarchetypeArtifactId=flink-quickstart-java \
>
> -DarchetypeCatalog=https://repository.apache.org/content/repositories/snapshots/
> \
> -DarchetypeVersion=1.4-SNAPSHOT
> {code}
> The command fails with the error:
> {code}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli)
> on project flink-training-exercises: archetypeCatalog
> 'https://repository.apache.org/content/repositories/snapshots/' is not
> supported anymore. Please read the plugin documentation for details. -> [Help
> 1]
> {code}
> This also affects the quickstart script.
> Since version 3.0.0, the archetype plugin does not allow to specify
> repositories as command line arguments. See
> http://maven.apache.org/archetype/maven-archetype-plugin/archetype-repository.html
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)