[
https://issues.apache.org/jira/browse/FLINK-7839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16207807#comment-16207807
]
ASF GitHub Bot commented on FLINK-7839:
---------------------------------------
GitHub user mcfongtw opened a pull request:
https://github.com/apache/flink/pull/4848
[FLINK-7839] [doc] Add a note on possible maven failure for creating
quickstart project
## What is the purpose of the change
This only applies before project release; {%site.is_stable == false %}.
Add an warning note on recent Maven change (3.0+) for -DarchetypeCatalog
while creating quickstart project.
## Verifying this change
Only doc change
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcfongtw/flink FLINK-7839
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4848.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4848
----
commit 499724706ac72ea2d5e4e2c1fa5655385b91a3c6
Author: Michael Fong <[email protected]>
Date: 2017-10-17T15:32:18Z
[FLINK-7839] [doc] Add a note on possible maven failure for creating
quickstart project.
This only applies before project release; {%site.is_stable == false %}.
Add an warning note on recent Maven change (3.0+) for -DarchetypeCatalog
while creating quickstart project.
----
> 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)