title: Apache Quickstart not working: "The defined artifact is not an archetype"
body: <p>I'm trying to get started with the basic Flink quickstart examples.</p>
  
  <p><a href="https://ci.apache.org/projects/flink/flink-docs-release-1.2/quickstart/java_api_quickstart.html" rel="nofollow noreferrer">https://ci.apache.org/projects/flink/flink-docs-release-1.2/quickstart/java_api_quickstart.html</a></p>
  
  <p>I'm getting an error at the very first step with Maven. Regardless of whether I try to install using Maven or the "curl" command, I get the same error "The defined artifact is not an archetype":</p>
  
  <p>Command:</p>
  
  <pre><code>mvn archetype:generate                               \
  &gt;       -DarchetypeGroupId=org.apache.flink              \
  &gt;       -DarchetypeArtifactId=flink-quickstart-java      \
  &gt;       -DarchetypeVersion=1.2.0
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Maven Stub Project (No POM) 1
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] &gt;&gt;&gt; maven-archetype-plugin:3.0.1:generate (default-cli) &gt; generate-sources @ standalone-pom &gt;&gt;&gt;
  [INFO] 
  [INFO] &lt;&lt;&lt; maven-archetype-plugin:3.0.1:generate (default-cli) &lt; generate-sources @ standalone-pom &lt;&lt;&lt;
  [INFO] 
  [INFO] --- maven-archetype-plugin:3.0.1:generate (default-cli) @ standalone-pom ---
  [INFO] Generating project in Interactive mode
  [INFO] Archetype repository not defined. Using the one from [org.apache.flink:flink-quickstart-java:1.2.1] found in catalog remote
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 3.916 s
  [INFO] Finished at: 2017-05-03T18:16:55+02:00
  [INFO] Final Memory: 18M/280M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: The defined artifact is not an archetype -&gt; [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
  </code></pre>
  
  <p>I'm very confused as I was able to execute these quickstarts last week without problem, and I'm completely new to Maven/Flink so I'm having trouble pinpointing what could have changed since then. Any ideas?</p>