Hi Alexander,

thanks for your input. I created a JIRA issue:
http://jira.codehaus.org/browse/MOJO-2080

Already fixed on trunk.

Unfortunately I process the mails in wrong order and just started a vote
for release beta4 that does not include the fix.
We can either drop the vote or otherwise have the next release beta5
right after that.

Regards
  Jörg

Am 18.04.2015 um 20:37 schrieb Alexander Kjäll:
> Hi
>
> I read on your webpage that i should report bugs here:
> http://jira.codehaus.org/browse/MOJO
>
> But the was no was to add issues if I wasn't logged in, and the when i
> pressed log in it asked me to contact the jira administrators in order
> to get an account.
>
> So i will just send the bug here instead, and hope that it will be
> fixed anyway :)
>
> When i run the any maven target that executes the plugin i get this NPE:
>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:flatten-maven-plugin:1.0.0-beta-3:flatten (flatten)
> on project di-config: Execution flatten of goal
> org.codehaus.mojo:flatten-maven-plugin:1.0.0-beta-3:flatten failed.
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.codehaus.mojo:flatten-maven-plugin:1.0.0-beta-3:flatten
> (flatten) on project di-config: Execution flatten of goal
> org.codehaus.mojo:flatten-maven-plugin:1.0.0-beta-3:flatten failed.
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     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)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> flatten of goal
> org.codehaus.mojo:flatten-maven-plugin:1.0.0-beta-3:flatten failed.
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>     ... 19 more
> Caused by: java.lang.NullPointerException
>     at 
> org.codehaus.mojo.flatten.FlattenMojo.isCentralRepositoryFromSuperPom(FlattenMojo.java:641)
>     at 
> org.codehaus.mojo.flatten.FlattenMojo.handleAdditionalPomElements(FlattenMojo.java:613)
>     at 
> org.codehaus.mojo.flatten.FlattenMojo.createFlattenedPom(FlattenMojo.java:498)
>     at org.codehaus.mojo.flatten.FlattenMojo.execute(FlattenMojo.java:260)
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>     ... 20 more
>
>
> This is a multimodule project with a repositories section in the top
> level pom file, if i comment out the repositories section it works.
>
> best regards
> Alexander Kjäll
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to