Oh yeah I never actually ran mvn:idea, I just open it directly in intellj,
most importantly by submodules. Not sure if that is still valid though

On Thu, Dec 19, 2019, 17:20 Omar Al-Safi <o...@oalsafi.com> wrote:

> Which camel version are you referring to? Also, I hope you are not opening
> the full project in intellj as that may cause problems. You can try only
> opening the submodules of the project, e.g: only one component to open in
> intellj.
>
> Regards,
> Omar
>
> On Thu, Dec 19, 2019, 17:05 Robin Vanderhallen <
> robinvanderhal...@gmail.com> wrote:
>
>> Hello,
>>
>> I’m having trouble building Camel from source in IntelliJ. I followed the
>> instructions on https://camel.apache.org/manual/latest/building.html
>> However, mvn idea:idea is throwing an exception:
>>
>> Failed to execute goal
>> org.apache.maven.plugins:maven-idea-plugin:2.3-atlassian-10:idea
>> (default-cli) on project camel-parent: Execution default-cli of goal
>> org.apache.maven.plugins:maven-idea-plugin:2.3-atlassian-10:idea failed.:
>> NullPointerException
>>
>> Caused by: java.lang.NullPointerException
>>     at org.apache.maven.plugin.idea.IdeaModuleMojo.getLibraryUrl
>> (IdeaModuleMojo.java:1141)
>>     at org.apache.maven.plugin.idea.IdeaModuleMojo.rewriteDependencies
>> (IdeaModuleMojo.java:531)
>>     at org.apache.maven.plugin.idea.IdeaModuleMojo.rewriteModule
>> (IdeaModuleMojo.java:423)
>>     at org.apache.maven.plugin.idea.IdeaMojo.rewriteModule
>> (IdeaMojo.java:236)
>>     at org.apache.maven.plugin.idea.IdeaMojo.execute (IdeaMojo.java:216)
>>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
>> (DefaultBuildPluginManager.java:137)
>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:210)
>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:156)
>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:148)
>>     at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:117)
>>     at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:81)
>>     at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>> (SingleThreadedBuilder.java:56)
>>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
>> (LifecycleStarter.java:128)
>>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
>>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>     at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>     at java.lang.reflect.Method.invoke (Method.java:498)
>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:289)
>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:229)
>>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:415)
>>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:356)
>>
>> It looks like the Maven IDEA plugin is no longer maintained.
>>
>> I’m sure there must be other IntelliJ users building Camel. How are you
>> handling this?
>>
>> Best regards,
>>
>> Robin
>>
>>

Reply via email to