[
http://jira.codehaus.org/browse/MOJO-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_91655
]
Roland Asmann commented on MOJO-723:
------------------------------------
The first change I made, because the plugin stopped running and threw an
Exception when no previous artifact could be found to compare with.
The reason for adding this kind of behaviour, is that we have a company-wide
POM, that includes the clirr-plugin, but it made us unable to build new sites
and release new projects, because the initial release of a project has no
previous version.
So, the change ignores the fact there is no previous artifact and reports
everything that has been programmed as being new (on INFO-level I believe).
Small testcase-example:
Create a new project and add the clirr-plugin right away. Now try to build a
site or release the project: clirr throws a MojoExecutionException (or the
MojoFailure, I keep forgetting which one -- am at home atm) and the build
fails. It doesn't make a difference if you set the comparisonVersion or not,
because there really is no previous version yet!
> Clirr-plugin previousaartifact resolving
> ----------------------------------------
>
> Key: MOJO-723
> URL: http://jira.codehaus.org/browse/MOJO-723
> Project: Mojo
> Issue Type: Improvement
> Components: clirr
> Reporter: Roland Asmann
> Assigned To: Jochen Wiedmann
> Attachments: clirr-maven-plugin-2.0-CFC-20070330.patch
>
>
> Changes for 'no artifact found' and problems with snapshot-artifacts:
> - If no previous artifact is found, it continues (instead of quiting with an
> exception) and sees everything as new.
> - In case of releasing, a local or remote snapshot of the release was seen as
> the previous version -> Snapshot-versions are removed from the list of
> version to select.
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email