Hi, I'm sorry for the inconvenience, for the -SNAPSHOT release versions one must also append the address of the repository to the command, like this:
$ mvn archetype:generate \ -DarchetypeGroupId=org.apache.flink \ -DarchetypeArtifactId=flink-quickstart-scala \ -DarchetypeVersion=1.1-SNAPSHOT \ -DarchetypeCatalog= https://repository.apache.org/content/repositories/snapshots/ or you could use the stable version: mvn archetype:generate \ -DarchetypeGroupId=org.apache.flink \ -DarchetypeArtifactId=flink-quickstart-java \ -DarchetypeVersion=1.0.2 Cheers, Aljoscha On Thu, 28 Apr 2016 at 19:02 nsengupta <sengupta.nirma...@gmail.com> wrote: > Hello all, > > I don't know if anyone else has faced his; I haven't so far. > > When I try to create a new project template following the instructions > here > < > https://ci.apache.org/projects/flink/flink-docs-master/quickstart/scala_api_quickstart.html#requirements > > > , it fails. > > This is what happens (along with the command I give): > > nirmalya@Cheetah:~/Workspace-Flink$ mvn archetype:generate > \ > > -DarchetypeGroupId=org.apache.flink \ > > -DarchetypeArtifactId=flink-quickstart-scala \ > > -DarchetypeVersion=1.1-SNAPSHOT > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Stub Project (No POM) 1 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-archetype-plugin:2.3:generate (default-cli) > > generate-sources @ standalone-pom >>> > [INFO] > [INFO] <<< maven-archetype-plugin:2.3:generate (default-cli) < > generate-sources @ standalone-pom <<< > [INFO] > [INFO] --- maven-archetype-plugin:2.3: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-scala:1.0.2] found in catalog remote > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 01:15 min > [INFO] Finished at: 2016-04-28T22:22:57+05:30 > [INFO] Final Memory: 14M/226M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) > on project standalone-pom: The desired archetype does not exist > (org.apache.flink:flink-quickstart-scala:1.1-SNAPSHOT) -> [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 > nirmalya@Cheetah:~/Workspace-Flink$ > > > Could someone please point out the mistake? > > -- Nirmalya > > > > -- > View this message in context: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Problem-in-creating-quickstart-project-using-archetype-Scala-tp6560.html > Sent from the Apache Flink User Mailing List archive. mailing list archive > at Nabble.com. >