[ http://jira.codehaus.org/browse/MCHANGELOG-38?page=all ]
Baerrach bonDierne closed MCHANGELOG-38.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0
Download the latest code for this plugin.
Modified the pom to include an scm section (as
org.apache.maven.plugins:maven-plugins) doesn't point to the sandbox (where
this plugin is currently located)
{noformat}
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/sandbox/plugins/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/plugins/</developerConnection>
<url>http://svn.apache.org/viewcvs.cgi/maven/sandbox/plugins/</url>
</scm>
{noformat}
Added in the reporting section as suggested bu Dennis
{noformat}
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.0-SNAPSHOT</version>
<reportSets>
<reportSet>
<id>triple-report</id>
<reports>
<report>changelog</report>
<report>dev-activity</report>
<report>file-activity</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
{noformat}
and commented out Jason's id (since his is one that appears in the reports and
is also in the developer section:
{noformat}
<!--
<id>jvanzyl</id>
-->
{noformat}
After installing the plugin and then running mvn site, I now get no npe's.
> NPE when developer section does not include an id
> -------------------------------------------------
>
> Key: MCHANGELOG-38
> URL: http://jira.codehaus.org/browse/MCHANGELOG-38
> Project: Maven 2.x Changelog Plugin
> Issue Type: Bug
> Reporter: Baerrach bonDierne
> Assigned To: Dennis Lundberg
> Priority: Critical
> Fix For: 2.0
>
>
> [DEBUG] Trace
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:398)
> at
> org.apache.maven.changelog.ChangeLog.getUserList(ChangeLog.java:530)
> at
> org.apache.maven.changelog.ChangeLog.replaceAuthorIdWithName(ChangeLog.java:541)
> at org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:370)
> at
> org.apache.maven.changelog.ChangeLogReport.getChangeLog(ChangeLogReport.java:263)
> at
> org.apache.maven.changelog.ChangeLogReport.generateChangeSetsFromSCM(ChangeLogReport.java:218)
> at
> org.apache.maven.changelog.ChangeLogReport.getChangedSets(ChangeLogReport.java:198)
> at
> org.apache.maven.changelog.ChangeLogReport.executeReport(ChangeLogReport.java:173)
> at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:117)
> at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> This is easy to replicate, find a working "mvn site" and then remove an id
> from a developer.
> This is for plugin
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-changelog-plugin</artifactId>
> I'd like to provide version details but this plugin isn't in my repository!
> So I am not sure how it is actually working.
> The website does't point to a repository, and I accidentally found it at
> http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-changelog-plugins
> but this code doesn't match up with the error message.
> I couldn't find the code base from the the old codehaus repository either.
--
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