[ http://jira.codehaus.org/browse/MCLIRR-1?page=comments#action_65116 ]
Vincent Massol commented on MCLIRR-1: ------------------------------------- I've just tested it with maven 2.0.4 on cargo in trunk/core/api/container and the clirr report is no longer generated. Projects with no previous versions do not fail anymore though so that seems to be fixed. > Better error handling when module has no previous version > --------------------------------------------------------- > > Key: MCLIRR-1 > URL: http://jira.codehaus.org/browse/MCLIRR-1 > Project: Maven 2.x Clirr Plugin > Type: Bug > Reporter: Vincent Massol > Assignee: Brett Porter > Fix For: 2.0 > > > Also, there should be an option not to fail the build if one module hasn't > had a previous release. > {noformat} > [INFO] Generate "Clirr" report. > [INFO] artifact org.codehaus.cargo:cargo-core-container-geronimo: checking > for updates from central > [INFO] > ---------------------------------------------------------------------------- > [ERROR] FATAL ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] null > [INFO] > ---------------------------------------------------------------------------- > [INFO] Trace > java.lang.NullPointerException > at > org.codehaus.mojo.clirr.AbstractClirrMojo.resolvePreviousReleaseClasses(AbstractClirrMojo > .java:260) > at > org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(AbstractClirrMojo.java:171) > at org.codehaus.mojo.clirr.ClirrReport.doReport(ClirrReport.java:157) > at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:133) > at > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:1055) > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:397) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor > .java:534) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec > ycleExecutor.java:475) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor. > java:454) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL > ifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE > xecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java > :140) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
