You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by aefox <al...@gmail.com> on 2016/12/05 05:35:42 UTC

Maven idea:idea fails

Hello,

I did a clean clone of camel locally and tried running "mvn idea:idea" as
suggested here: http://camel.apache.org/building.html.

The problem is that the action fails with the following error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea (default-cli) on
project camel-parent: Execution default-cli of goal
org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea failed.
NullPointerException -> [Help 1]

I looked at maven-idea-plugin and the project is retired
(http://maven.apache.org/plugins/maven-idea-plugin/). I think the
building.html page should be updated with this detail (to suggest not to use
mvn idea:idea because it crashes) and instead suggest that when using
IntelliJ IDEA's IDE one should import the root POM.

Thanks,
Fox



--
View this message in context: http://camel.465427.n5.nabble.com/Maven-idea-idea-fails-tp5791000.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Maven idea:idea fails

Posted by fox <al...@cegeka.com>.
@Claus I'm aware that I should not be using maven idea plugin, but instead
load the POM in intellij. That is what I am doing.

The reason I raised this issue was that the
http://camel.apache.org/building.html page suggests using the maven idea
plugin, which is obsolete now. And my suggestion was to update that page
with what you just said.

Also, I didn't think of loading only the POM for the component that I need
to work on. Awesome suggestion +1. Maybe this should be mentioned as well on
the building page?

Thanks,
Fox



--
View this message in context: http://camel.465427.n5.nabble.com/Maven-idea-idea-fails-tp5791000p5791003.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Maven idea:idea fails

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Do not use this old maven idea:idea plugin, but just open the pom.xml
file in IDEA and it has maven support out of the box and loads the
project nicely.

This is how I open any Maven project in IDEA.

Also mind that loading all the Camel source code into IDEA is not a
good idea, there is a lot of code. I usually open the component I need
to work on instead.



On Mon, Dec 5, 2016 at 6:35 AM, aefox <al...@gmail.com> wrote:
> Hello,
>
> I did a clean clone of camel locally and tried running "mvn idea:idea" as
> suggested here: http://camel.apache.org/building.html.
>
> The problem is that the action fails with the following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea (default-cli) on
> project camel-parent: Execution default-cli of goal
> org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea failed.
> NullPointerException -> [Help 1]
>
> I looked at maven-idea-plugin and the project is retired
> (http://maven.apache.org/plugins/maven-idea-plugin/). I think the
> building.html page should be updated with this detail (to suggest not to use
> mvn idea:idea because it crashes) and instead suggest that when using
> IntelliJ IDEA's IDE one should import the root POM.
>
> Thanks,
> Fox
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Maven-idea-idea-fails-tp5791000.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2