Link to home
Create AccountLog in
Avatar of technoparkcorp
technoparkcorpFlag for United States of America

asked on

How do I get a summary XML report about a project in Maven2?

I have a project in Maven2 and I would like to get a summary XML (not HTML) report from the project. Something similar to 'site:site', but with XML output. Any ideas/links?
Avatar of Ajay-Singh
Ajay-Singh

Is there any particular goal you are looking at to generate the report? The goal " <http://maven.apache.org/plugins/maven-changes-plugin/changes-report-mojo..html> changes:changes-report" can be generated in xml format.
Avatar of technoparkcorp

ASKER

I want to collection information about the project in automatic mode by my ERP system. I need to have the date of the latest build, amount of tests executed (passed, failed), amount of classes/files in the project, total size of all files, maybe something else.

Key purpose is to automate the building validation process. I have to be able to check the status of build automatically. Any suggestions?
mmm... well my suggestion would be to use something like teamcity to manage your builds.. people generally use teamcity for test builds before commiting to sourcesafe... but it is also very efficient to manage builds in general.. shows u the details about tests.. failed or otherwise...details of failure messages... files causing failures ... changes since the last successful build etc etc... attaching some jpegs to illustrate wat i mean..


tcity.JPG
tcity2.JPG
Visual reports are great, but the goal is to get automated XML report. Not for a human being, but for ERP system. Regular XML report.

TeamCity does this?
ASKER CERTIFIED SOLUTION
Avatar of shaz_
shaz_

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Thanks, EMMA will help