Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 412C8200ACC for ; Mon, 2 May 2016 10:14:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 353441609B0; Mon, 2 May 2016 10:14:45 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 555551609A1 for ; Mon, 2 May 2016 10:14:44 +0200 (CEST) Received: (qmail 12197 invoked by uid 500); 2 May 2016 08:14:43 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 12188 invoked by uid 99); 2 May 2016 08:14:43 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2016 08:14:43 +0000 Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 993C31A023C for ; Mon, 2 May 2016 08:14:42 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id y84so179697444lfc.0 for ; Mon, 02 May 2016 01:14:42 -0700 (PDT) X-Gm-Message-State: AOPr4FXGxkWQLR1xNr/p64CMIq/aZbqDAfkJJjl2ON7qAHkOP5r9S6ukGiz7sFBlP+u/gPgU2ZRSks1UJvwJCg== X-Received: by 10.25.145.136 with SMTP id t130mr14334501lfd.4.1462176881107; Mon, 02 May 2016 01:14:41 -0700 (PDT) MIME-Version: 1.0 References: <1461860939713-6560.post@n4.nabble.com> In-Reply-To: <1461860939713-6560.post@n4.nabble.com> From: Aljoscha Krettek Date: Mon, 02 May 2016 08:14:31 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Problem in creating quickstart project using archetype (Scala) To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a114026d69a679e0531d79570 archived-at: Mon, 02 May 2016 08:14:45 -0000 --001a114026d69a679e0531d79570 Content-Type: text/plain; charset=UTF-8 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 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. > --001a114026d69a679e0531d79570 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I'm sorry for the inconvenience, for the -SNAP= SHOT release versions one must also append the address of the repository to= the command, like this:

$ mvn archetype:generate \=C2=A0 =C2=A0-DarchetypeGroupId=3Dorg.apache.flink \
=C2=A0 =C2= =A0-DarchetypeArtifactId=3Dflink-quickstart-scala \=C2=A0
=C2=A0 = =C2=A0-DarchetypeVersion=3D1.1-SNAPSHOT \

or you co= uld use the stable version:

mvn arc= hetype:generate \=C2=A0
=C2=A0 -DarchetypeGroupId=3Dorg.apache.flink \<= /div>
=C2=A0 -DarchetypeArtifactId=3Dflink-quickstart-java \
= =C2=A0 -DarchetypeVersion=3D1.0.2

Cheers,
Aljoscha

On Th= u, 28 Apr 2016 at 19:02 nsengupta <sengupta.nirmalya@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=C2= =A0 here
<https://ci.apache.org/projects/flink/flink-docs-master/quickstart/s= cala_api_quickstart.html#requirements>
, it fails.

This is what happens (along with the command I give):

nirmalya@Cheetah:~/Workspace-Flink$ mvn archetype:generate
\
>=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeGroupId=3Dorg.apache.flink=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
>=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeArtifactId=3Dflink-quickstart-sca= la=C2=A0 =C2=A0 =C2=A0\
>=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeVersion=3D1.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) ><= br> generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.3:generate (default-cli) <<= br> 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)<= br> 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, pleas= e
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/conflue= nce/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-c= reating-quickstart-project-using-archetype-Scala-tp6560.html
Sent from the Apache Flink User Mailing List archive. mailing list archive = at Nabble.com.
--001a114026d69a679e0531d79570--