pom file scala plugin error [flink-examples-batch project]

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

pom file scala plugin error [flink-examples-batch project]

subashbasnet
Hello all,

I am trying to maven build the flink-examples-batch project I imported from here but it gives me build failure exception as shown in the attached image.

Eclipse shows the below explanation on pointing to <execution> node in pom file.

Plugin execution not covered by lifecycle configuration: net.alchim31.maven:scala-maven-plugin:3.1.4:compile (execution: scala-compile-
 first, phase: process-resources)

I have attached screenshot of the my installed plugins in eclipse.
As suggested in web, scala maven plugin was installed from http://alchim31.free.fr/m2e-scala/update-site
What could be the issue?

Best Regards,
Subash Basnet

pom_error.png (252K) Download Attachment
scalaplugin.png (118K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: pom file scala plugin error [flink-examples-batch project]

rmetzger0
Hi Subash,

I think the two errors are unrelated. Maven is failing because of the checkstyle plugin. It checks if the code follows our coding guidelines.

If you are experienced with IntelliJ, I would suggest to use that IDE. Most Flink committers are using it because its difficult to get Eclipse set up for Flink.


On Mon, Feb 8, 2016 at 2:52 PM, subash basnet <[hidden email]> wrote:
Hello all,

I am trying to maven build the flink-examples-batch project I imported from here but it gives me build failure exception as shown in the attached image.

Eclipse shows the below explanation on pointing to <execution> node in pom file.

Plugin execution not covered by lifecycle configuration: net.alchim31.maven:scala-maven-plugin:3.1.4:compile (execution: scala-compile-
 first, phase: process-resources)

I have attached screenshot of the my installed plugins in eclipse.
As suggested in web, scala maven plugin was installed from http://alchim31.free.fr/m2e-scala/update-site
What could be the issue?

Best Regards,
Subash Basnet

Reply | Threaded
Open this post in threaded view
|

Re: pom file scala plugin error [flink-examples-batch project]

Stephan Ewen
Hi!

The Eclipse Setup is quite tricky, because Eclipse's Maven and Scala support is not very good.


Stephan


On Tue, Feb 9, 2016 at 10:20 AM, Robert Metzger <[hidden email]> wrote:
Hi Subash,

I think the two errors are unrelated. Maven is failing because of the checkstyle plugin. It checks if the code follows our coding guidelines.

If you are experienced with IntelliJ, I would suggest to use that IDE. Most Flink committers are using it because its difficult to get Eclipse set up for Flink.


On Mon, Feb 8, 2016 at 2:52 PM, subash basnet <[hidden email]> wrote:
Hello all,

I am trying to maven build the flink-examples-batch project I imported from here but it gives me build failure exception as shown in the attached image.

Eclipse shows the below explanation on pointing to <execution> node in pom file.

Plugin execution not covered by lifecycle configuration: net.alchim31.maven:scala-maven-plugin:3.1.4:compile (execution: scala-compile-
 first, phase: process-resources)

I have attached screenshot of the my installed plugins in eclipse.
As suggested in web, scala maven plugin was installed from http://alchim31.free.fr/m2e-scala/update-site
What could be the issue?

Best Regards,
Subash Basnet