Issue Details (XML | Word | Printable)

Key: MPCHANGES-14
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Gary Gregory
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Changes Plugin

Allow entries to be sorted by action type.

Created: 22/Jun/04 02:30 AM   Updated: 11/Nov/04 08:51 AM   Resolved: 11/Nov/04 08:51 AM
Return to search
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.6

Time Tracking:
Not Specified

Environment:
>maven -i
 __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc3

#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.2_04
file.encoding=Cp1252
java.ext.dirs=C:\java\sun\1.4.2_04\jre\lib\ext
java.class.path=C:\Program Files\Apache Software Foundation\Maven 1.0-rc3\lib\forehead-1.0-beta-5.jar
os.name=Windows XP
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=C:\Program Files\Apache Software Foundation\Maven 1.0-rc3\lib\endorsed\xerces-2.4.0.jar;C:\Program Files\Apache Software Foundation\Maven 1.
0-rc3\lib\endorsed\xml-apis-1.0.b2.jar;C:\java\sun\1.4.2_04\jre\lib\rt.jar;C:\java\sun\1.4.2_04\jre\lib\i18n.jar;C:\java\sun\1.4.2_04\jre\lib\sunrsasign.jar;C:\
java\sun\1.4.2_04\jre\lib\jsse.jar;C:\java\sun\1.4.2_04\jre\lib\jce.jar;C:\java\sun\1.4.2_04\jre\lib\charsets.jar;C:\java\sun\1.4.2_04\jre\classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#---- END: Which report

Installed plugins:
  maven-castor-plugin-1.2
  maven-site-plugin-1.5
  maven-multiproject-plugin-1.3
  maven-jdepend-plugin-1.5
  maven-clover-plugin-1.5
  maven-genapp-plugin-2.2
  maven-jbuilder-plugin-1.5
  maven-jboss-plugin-1.5
  maven-dashboard-plugin-1.3
  maven-artifact-plugin-1.2
  maven-developer-activity-plugin-1.5
  maven-war-plugin-1.6
  maven-native-plugin-1.1
  maven-cruisecontrol-plugin-1.2
  maven-webserver-plugin-2.0
  maven-docbook-plugin-1.2
  maven-deploy-plugin-1.3
  maven-ear-plugin-1.5
  maven-repository-plugin-1.2
  maven-j2ee-plugin-1.5
  maven-jnlp-plugin-1.3
  maven-linkcheck-plugin-1.2
  maven-javadoc-plugin-1.5
  maven-vdoclet-plugin-1.2
  maven-hibernate-plugin-1.1
  maven-appserver-plugin-2.0
  maven-antlr-plugin-1.2
  maven-jira-plugin-1.1
  maven-ant-plugin-1.7
  maven-gump-plugin-1.3
  maven-tasklist-plugin-2.3
  maven-xdoc-plugin-1.7.1
  maven-ashkelon-plugin-1.2
  maven-tjdo-plugin-1.0.0
  maven-html2xdoc-plugin-1.3
  maven-announcement-plugin-1.1
  maven-pmd-plugin-1.4
  maven-jxr-plugin-1.4
  maven-struts-plugin-1.3
  maven-latka-plugin-1.4
  maven-junit-doclet-plugin-1.2
  maven-pom-plugin-1.4
  maven-changelog-plugin-1.5
  maven-clean-plugin-1.2
  maven-license-plugin-1.2
  maven-jetty-plugin-1.1
  maven-jdee-plugin-1.1
  maven-file-activity-plugin-1.5
  maven-jcoverage-plugin-1.0.4
  maven-jdiff-plugin-1.4
  maven-jar-plugin-1.5
  maven-scm-plugin-1.3
  maven-aspectwerkz-plugin-1.2
  maven-faq-plugin-1.3
  maven-plugin-plugin-1.3
  maven-dist-plugin-1.5
  maven-jellydoc-plugin-1.3
  maven-javacc-plugin-1.1
  maven-shell-plugin-1.1
  maven-simian-plugin-1.4
  maven-ejb-plugin-1.4
  maven-java-plugin-1.4
  maven-console-plugin-1.1
  maven-pdf-plugin-2.1
  maven-release-plugin-1.3
  maven-changes-plugin-1.4
  maven-nsis-plugin-1.0
  maven-checkstyle-plugin-2.4.1
  maven-wizard-plugin-1.1
  maven-uberjar-plugin-1.2
  maven-caller-plugin-1.1
  maven-junit-report-plugin-1.5
  maven-eclipse-plugin-1.7
  maven-latex-plugin-1.2
  maven-jdeveloper-plugin-1.4
  maven-aspectj-plugin-3.0
  maven-idea-plugin-1.4
  maven-jalopy-plugin-1.2
  maven-test-plugin-1.6.1
  maven-multichanges-plugin-1.1
Home Build properties: {jaxp.xslt.jar=C:/java/apache/xalan-2_5_D1//bin/xalan.jar, servlet.jar=C:/java/sun/jwsdp-1.1/common/lib/servlet.jar, jaxp.jaxp.jar=C:/jav
a/apache/xalan-2_5_D1//bin/xml-apis.jar, junit.jar=C:/java/junit3.8.1/junit.jar}


 Description  « Hide

Allow entries to be sorted by action type.

Today, I must sort (and keep sorted the action entries in changes.xml. It would be nice to be able to specify - perhaps in the properties file - that the generated XML and text file be sorted by action. Maybe something like:

maven.changes.action.sort = add, fix, update, remove



Vincent Massol added a comment - 10/Jul/04 12:23 PM

Hi Gary,

Could you please provide more information as to why this is required?

Also, you mention some generated XML/text but AFAIK there's no generation of any file (apart from the HTML one) in the changes plugin. Could you please explain more?

Thanks


Gary Gregory added a comment - 10/Jul/04 01:29 PM

Correct, changes.xml produces HTML. I was also thinking of the annoucement plugin.

Here is what I have in mind: when I read the (very nice BTW) HTML history report, I'd like to read things in groups. Here are all of the new features for this release first (the most important IMO). Then maybe I want to know what all of the bug fixes are, then all of the updated pieces and last all of the pieces that have been deprecated.

Today I have to do all of this by hand in changes.xml, which is a pain. It is also possible that someday, we'll have a clever plugin that can create a changes.xml from Bugzilla or Jira, and who knows what the order of things in the file will be.

It would be nice to be able to specify some UI view parameters separately from what I think of as the data model in changes.xml. Which is why I proposed to parameterize this in the proerties file.

Now that I think of it, another tweak would be the option to have a header that says "New Features" and "Bug Fixes" just like there is a header today for the Release number and date.


Vincent Massol added a comment - 11/Nov/04 08:51 AM

ok, I understand now. I have implemented a first version of it.