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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Michael Fong
Hi, all,

While trying out the examples from here and create maven project w/ Maven Archetype Plugin. I've got a error complaining about 


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 

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

Regards,

Michael

Reply | Threaded
Open this post in threaded view
|

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

Ted Yu
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 <[hidden email]> 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
>
>
Reply | Threaded
Open this post in threaded view
|

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

Michael Fong
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 <[hidden email]> 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 <[hidden email]>
> 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
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

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

Eron Wright-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > 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
> > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

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

Michael Fong
Hi, Eron,


That would definitely do.  Thanks.


Regards,



On Mon, Sep 11, 2017 at 11:12 PM, Eron Wright <[hidden email]> 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 <[hidden email]>
> 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 <[hidden email]> 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 <[hidden email]>
> > > 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
> > > >
> > > >
> > >
> >
>