-1
The plugin doesn't work properly in its current state. There is a
problem in the dependency chain that I haven't been able to fully track
down the cause of.
Steps to reproduce:
- Install maven-changes-plugin 2.0-beta-3 into your local repository
- Check out the trunk of maven-changes-plugin
- Alter the reporting section of the pom to use maven-changes-plugin,
version 2.0-beta-3.
- Run "mvn site" using Maven 2.0.7, 2.0.6, 2.0.5 or 2.0.4
(those are the ones I tried)
Results:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error getting reports from the plugin
'org.apache.maven.plugins:maven-changes-plugin': Unable to find the mojo
'org.apache.maven.plugins:maven-changes-plugin:2.0-beta-3:changes-report'
in the plugin 'org.apache.maven.plugins:maven-changes-plugin'
org/codehaus/plexus/util/xml/XmlStreamReader
Solution:
By adding this dependency to the pom I was able to get the site build again:
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4.5</version>
</dependency>
However, that only works in 2.0.6 and 2.0.7, which has a shaded version
of plexus-utils.
I haven't been able to find out which dependency is using
org/codehaus/plexus/util/xml/XmlStreamReader, if that is the cause of
the problem.
Stephane Nicoll wrote:
Hi,
I'd like to release maven-changes-plugin 2.0-beta-3. Significant fixes
are available in trunk and the latest release is almost one year old.
Release Notes - Maven 2.x Changes Plugin - Version 2.0-beta-3
** Bug
* [MCHANGES-1] - Annoucement generates announcement for wrong type
of package
* [MCHANGES-9] - HTML inside <action/> is swallowed
* [MCHANGES-11] - improve error reporting when changes.xml not found
* [MCHANGES-13] - Exception thrown when running
changes:announcement-generate
* [MCHANGES-16] - release history hyperlinks don't work
* [MCHANGES-19] - bad URL/404 on JIRA report results in exception
* [MCHANGES-23] - docs should use short goal names
* [MCHANGES-50] - Handle JIRA authentication failure
* [MCHANGES-51] - Table not correctly closed in
ChangesReportGenerator#constructActions()
* [MCHANGES-54] - jira-report with filter specified gives 500 error
* [MCHANGES-56] - Default announcement.vm doesn't check issue type
correctly.
* [MCHANGES-57] - How does the plugin know what issues were fixed
in this version?
* [MCHANGES-63] - Custom filters can not be added to a JIRA query.
* [MCHANGES-64] - The changes plugin should not push an "external
link" image into the output renderer
* [MCHANGES-68] - The changes plugin uses anchors and links that
don't match.
* [MCHANGES-70] - NPE if the version attribute is not set properly
in the changes.xml file
** Improvement
* [MCHANGES-49] - javax.mail dependency should be optional
* [MCHANGES-55] - Add ability to turn off download URL in email
* [MCHANGES-77] - Document the variables available to the
announcement template.
* [MCHANGES-81] - Use a less noisy version of plexus-velocity
* [MCHANGES-87] - Ability to specify the mail sender explicitely
** New Feature
* [MCHANGES-25] - I'd like to have changes:announcement-mail be
able to support authentication
* [MCHANGES-26] - Allow user to create custom velocity template
for announcement
* [MCHANGES-27] - Add 'disable jira' flag
* [MCHANGES-28] - Renderer html code provided in an action record
* [MCHANGES-79] - Allow for overriding the announcement email from address
The staging bits are available here:
http://people.apache.org/~snicoll/maven-staging/repo/org/apache/maven/plugins/
Votes open for 72 hours.
My +1
Thanks,
Stéphane
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]