You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Michael Fong <mc...@gmail.com> on 2017/09/10 13:57:01 UTC

Using Maven Archetype Plugin 3.0+ to create flink-quickstart-java project

Hi, all,

While trying out the examples from here
<https://ci.apache.org/projects/flink/flink-docs-release-1.4/quickstart/java_api_quickstart.html>
and create maven project w/ Maven Archetype Plugin. I've got a error
complaining about

[image: Inline image 1]

This seems has something to do with Maven Archetype Plugin is not possible
anymore to specify the repository via the commandline since v3.0. Instead,
dev could choose to specify repository information in settings.xml, as
official doc suggested
<http://maven.apache.org/archetype/maven-archetype-plugin/archetype-repository.html>


I am just wondering if such information is noted somewhere in the document?
Thanks in advance!

Regards,

Michael

Re: Using Maven Archetype Plugin 3.0+ to create flink-quickstart-java project

Posted by Michael Fong <mc...@gmail.com>.
Hi, Eron,


That would definitely do.  Thanks.


Regards,



On Mon, Sep 11, 2017 at 11:12 PM, Eron Wright <er...@gmail.com> wrote:

> Michael, an alternative is to start your project with the released version
> of Flink (1.3) rather than 1.4-SNAPSHOT:
> https://ci.apache.org/projects/flink/flink-docs-
> release-1.3/quickstart/java_api_quickstart.html#create-project
>
> Afterwards you could update your dependencies (and add the Apache snapshot
> repository) if you truly need the latest.
>
> Hope this helps!
>
>
> On Sun, Sep 10, 2017 at 8:49 AM, Michael Fong <mc...@gmail.com>
> wrote:
>
> > Sorry about that.
> >
> > Here is the pastebin link <https://pastebin.com/raw/SWmea6uC>:
> >
> >
> > Regards,
> >
> > Michael
> >
> > On Sun, Sep 10, 2017 at 10:38 PM, Ted Yu <yu...@gmail.com> wrote:
> >
> > > The error was in an image which didn't come thru.
> > >
> > > Please use pastebin to convey the error.
> > >
> > > Cheers
> > >
> > > On Sun, Sep 10, 2017 at 6:57 AM, Michael Fong <mc...@gmail.com>
> > > wrote:
> > >
> > > > Hi, all,
> > > >
> > > > While trying out the examples from here
> > > > <https://ci.apache.org/projects/flink/flink-docs-
> > > release-1.4/quickstart/java_api_quickstart.html>
> > > > and create maven project w/ Maven Archetype Plugin. I've got a error
> > > > complaining about
> > > >
> > > > [image: Inline image 1]
> > > >
> > > > This seems has something to do with Maven Archetype Plugin is not
> > > > possible anymore to specify the repository via the commandline since
> > > v3.0.
> > > > Instead, dev could choose to specify repository information in
> > > > settings.xml, as official doc suggested
> > > > <http://maven.apache.org/archetype/maven-archetype-
> > > plugin/archetype-repository.html>
> > > >
> > > >
> > > > I am just wondering if such information is noted somewhere in the
> > > > document? Thanks in advance!
> > > >
> > > > Regards,
> > > >
> > > > Michael
> > > >
> > > >
> > >
> >
>

Re: Using Maven Archetype Plugin 3.0+ to create flink-quickstart-java project

Posted by Eron Wright <er...@gmail.com>.
Michael, an alternative is to start your project with the released version
of Flink (1.3) rather than 1.4-SNAPSHOT:
https://ci.apache.org/projects/flink/flink-docs-release-1.3/quickstart/java_api_quickstart.html#create-project

Afterwards you could update your dependencies (and add the Apache snapshot
repository) if you truly need the latest.

Hope this helps!


On Sun, Sep 10, 2017 at 8:49 AM, Michael Fong <mc...@gmail.com> wrote:

> Sorry about that.
>
> Here is the pastebin link <https://pastebin.com/raw/SWmea6uC>:
>
>
> Regards,
>
> Michael
>
> On Sun, Sep 10, 2017 at 10:38 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > The error was in an image which didn't come thru.
> >
> > Please use pastebin to convey the error.
> >
> > Cheers
> >
> > On Sun, Sep 10, 2017 at 6:57 AM, Michael Fong <mc...@gmail.com>
> > wrote:
> >
> > > Hi, all,
> > >
> > > While trying out the examples from here
> > > <https://ci.apache.org/projects/flink/flink-docs-
> > release-1.4/quickstart/java_api_quickstart.html>
> > > and create maven project w/ Maven Archetype Plugin. I've got a error
> > > complaining about
> > >
> > > [image: Inline image 1]
> > >
> > > This seems has something to do with Maven Archetype Plugin is not
> > > possible anymore to specify the repository via the commandline since
> > v3.0.
> > > Instead, dev could choose to specify repository information in
> > > settings.xml, as official doc suggested
> > > <http://maven.apache.org/archetype/maven-archetype-
> > plugin/archetype-repository.html>
> > >
> > >
> > > I am just wondering if such information is noted somewhere in the
> > > document? Thanks in advance!
> > >
> > > Regards,
> > >
> > > Michael
> > >
> > >
> >
>

Re: Using Maven Archetype Plugin 3.0+ to create flink-quickstart-java project

Posted by Michael Fong <mc...@gmail.com>.
Sorry about that.

Here is the pastebin link <https://pastebin.com/raw/SWmea6uC>:


Regards,

Michael

On Sun, Sep 10, 2017 at 10:38 PM, Ted Yu <yu...@gmail.com> wrote:

> The error was in an image which didn't come thru.
>
> Please use pastebin to convey the error.
>
> Cheers
>
> On Sun, Sep 10, 2017 at 6:57 AM, Michael Fong <mc...@gmail.com>
> wrote:
>
> > Hi, all,
> >
> > While trying out the examples from here
> > <https://ci.apache.org/projects/flink/flink-docs-
> release-1.4/quickstart/java_api_quickstart.html>
> > and create maven project w/ Maven Archetype Plugin. I've got a error
> > complaining about
> >
> > [image: Inline image 1]
> >
> > This seems has something to do with Maven Archetype Plugin is not
> > possible anymore to specify the repository via the commandline since
> v3.0.
> > Instead, dev could choose to specify repository information in
> > settings.xml, as official doc suggested
> > <http://maven.apache.org/archetype/maven-archetype-
> plugin/archetype-repository.html>
> >
> >
> > I am just wondering if such information is noted somewhere in the
> > document? Thanks in advance!
> >
> > Regards,
> >
> > Michael
> >
> >
>

Re: Using Maven Archetype Plugin 3.0+ to create flink-quickstart-java project

Posted by Ted Yu <yu...@gmail.com>.
The error was in an image which didn't come thru.

Please use pastebin to convey the error.

Cheers

On Sun, Sep 10, 2017 at 6:57 AM, Michael Fong <mc...@gmail.com> wrote:

> Hi, all,
>
> While trying out the examples from here
> <https://ci.apache.org/projects/flink/flink-docs-release-1.4/quickstart/java_api_quickstart.html>
> and create maven project w/ Maven Archetype Plugin. I've got a error
> complaining about
>
> [image: Inline image 1]
>
> This seems has something to do with Maven Archetype Plugin is not
> possible anymore to specify the repository via the commandline since v3.0.
> Instead, dev could choose to specify repository information in
> settings.xml, as official doc suggested
> <http://maven.apache.org/archetype/maven-archetype-plugin/archetype-repository.html>
>
>
> I am just wondering if such information is noted somewhere in the
> document? Thanks in advance!
>
> Regards,
>
> Michael
>
>