maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: maven-changelog-plugin not working...
Date Fri, 19 Jul 2013 20:33:11 GMT
Hi

This is probably a problem in the Jazz SCM implementation.
Could you try using the latest SNAPSHOT version of the plugin, 2.3-SNAPSHOT?
It uses an updated version of maven-scm.

On Fri, Jul 12, 2013 at 8:34 PM, Zanzerkia, Robert <Robert.Zanzerkia@fmr.com
> wrote:

> Hi Anders,
>  I have tried version 2.2 and I get same error.
>  I have attached the log file.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: anders.g.hammar@gmail.com [mailto:anders.g.hammar@gmail.com] On
> Behalf Of Anders Hammar
> Sent: Tuesday, July 09, 2013 1:45 PM
> To: Maven Users List
> Subject: RE: maven-changelog-plugin not working...
>
> Try the latest version v2.2 and see if it produces the same error.
>
> /Anders (mobile)
> Den 9 jul 2013 19:15 skrev "Zanzerkia, Robert" <Robert.Zanzerkia@fmr.com>:
>
> > Anyone from changelog developers have any suggestion?
> >
> > Thanks,
> > Robert
> >
> > -----Original Message-----
> > From: Zanzerkia, Robert
> > Sent: Tuesday, July 02, 2013 9:52 AM
> > To: users@maven.apache.org
> > Subject: maven-changelog-plugin not working...
> >
> > Hi,
> > I am trying to use the changelog plugin.
> > With maven3 it wasn't even getting executed but I got help and now it
> does
> > run.
> > However it crashes with NPE (See part of the log below).
> >
> > Thank you,
> > Robert
> > Also the changelong.xml it creates has lines like:
> > - <changelog>
> > - <changeset datePattern="yyyyMMdd HH:mm:ss z" start="20130617 09:30:11
> > EDT" end="20130703 09:30:11 EDT">
> > - <changelog-entry>
> > - <author>
> > - <![CDATA[
> >
> > null
> >   ]]>
> >   </author>
> > - <msg>
> > - <![CDATA[
> >   ]]>
> >   </msg>
> >   </changelog-entry>
> > - <changelog-entry>
> > - <author>
> > - <![CDATA[
> >
> > null
> >   ]]>
> >   </author>
> > - <msg>
> > - <![CDATA[
> >   ]]>
> >   </msg>
> >   </changelog-entry>
> >
> >
> >
> >
> > I see blow that indicates scm integration is working with jazz (RTC).
> > [DEBUG] Successfully parsed "Baseline:" line:
> > [DEBUG]   baselineAlias = 1042
> > [DEBUG]   baselineId    = 191
> > [DEBUG]   baseline      = uCMDB-PatternDev-9.05.44
> > [DEBUG] Consumed line :    Unresolved:
> > [DEBUG] Consumed line :      d-- /EI AS-ITAM uCMDB Pattern
> > DEV/pom.xml.releaseBackup
> > [DEBUG]  Line               : '      d-- /EI AS-ITAM uCMDB Pattern
> > DEV/pom.xml.releaseBackup'
> > [DEBUG]  Extracted filePath : '/EI AS-ITAM uCMDB Pattern
> > DEV/pom.xml.releaseBackup'
> > [DEBUG]  Extracted     flag : 'd-'
> > [DEBUG]  Extracted   status : 'deleted'
> > [DEBUG] Consumed line :      d-- /EI AS-ITAM uCMDB Pattern
> > DEV/release.properties
> > [DEBUG]  Line               : '      d-- /EI AS-ITAM uCMDB Pattern
> > DEV/release.properties'
> > [DEBUG]  Extracted filePath : '/EI AS-ITAM uCMDB Pattern
> > DEV/release.properties'
> > [DEBUG]  Extracted     flag : 'd-'
> > [DEBUG]  Extracted   status : 'deleted'
> > [DEBUG] Consumed line :    Outgoing:
> > [DEBUG] Consumed line :      Change sets:
> >
> > Here's the NPE>
> > [DEBUG] Consumed line :  (1040) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare release uCMDB-PatternDev-9..."
> 28-Jun-2013
> > 11:41 AM
> > [DEBUG] Consumed line :  (1039) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare for next development itera..."
> 28-Jun-2013
> > 11:41 AM
> > [DEBUG] Consumed line :  (1034) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare release uCMDB-PatternDev-9..."
> 28-Jun-2013
> > 11:19 AM
> > [DEBUG] Consumed line :  (1033) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare release uCMDB-PatternDev-9..."
> 28-Jun-2013
> > 11:19 AM
> > [DEBUG] Consumed line :  (1031) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare release uCMDB-PatternDev-9..."
> 28-Jun-2013
> > 11:19 AM
> > [DEBUG] Consumed line :  (1032) ---$ Zanzerkia, Robert "<No comment>"
> > 28-Jun-2013 11:19 AM
> > [DEBUG] Consumed line :  (1028) ---$ Zanzerkia, Robert
> > "[maven-release-plugin] prepare for next development itera..."
> 26-Jun-2013
> > 10:34 AM
> > [DEBUG] Consumed line :There are more items available. Use --maximum
> > option to return more number of items.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 48.777s
> > [INFO] Finished at: Tue Jul 02 09:30:38 EDT 2013
> > [INFO] Final Memory: 5M/15M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-changelog-plugin:2.1:changelog
> (default-cli)
> > on project uCMDB-PatternDev: An error has occurred in Change Log report
> > generation. NullPointerException -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.maven.plugins:maven-changelog-plugin:2.1:changelog
> > (default-cli) on project uCMDB-PatternDev: An error has occurred in
> Change
> > Log report generation.
> >                 at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> >                 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:601)
> >                 at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> >                 at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> >                 at
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> >                 at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> > Caused by: org.apache.maven.plugin.MojoExecutionException: An error has
> > occurred in Change Log report generation.
> >                 at
> >
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:79)
> >                 at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >                 at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >                 ... 19 more
> > Caused by: java.lang.NullPointerException
> >                 at
> >
> org.apache.maven.plugin.changelog.ChangeLogReport$1.compare(ChangeLogReport.java:1046)
> >                 at
> > java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)
> >                 at java.util.TimSort.sort(TimSort.java:203)
> >                 at java.util.TimSort.sort(TimSort.java:173)
> >                 at java.util.Arrays.sort(Arrays.java:659)
> >                 at java.util.Collections.sort(Collections.java:217)
> >                 at
> >
> org.apache.maven.plugin.changelog.ChangeLogReport.doChangedSetTable(ChangeLogReport.java:1040)
> >                 at
> >
> org.apache.maven.plugin.changelog.ChangeLogReport.doChangedSet(ChangeLogReport.java:889)
> >                 at
> >
> org.apache.maven.plugin.changelog.ChangeLogReport.doGenerateReport(ChangeLogReport.java:847)
> >                 at
> >
> org.apache.maven.plugin.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:340)
> >                 at
> >
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> >                 at
> >
> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)
> >                 ... 21 more
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
> --
> Dennis Lundberg <users-help@maven.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message