Hi !! Im new in maven.
I'm Exlicpse user... I have installed a pugin-for metrics,
net.sourceforge.metrics (Sauer Franc)
I can run an ant task (from Eclipse) to generate project metrics and export
this metrics into xml file.
Now I wont to add this ant task to maven so that every time a generate the
site, the metrics generate too.
This is the ant task
<?xml version="1.0" encoding="UTF-8"?>
<project name="metrics" default="build" basedir=".">
<target name="init">
<tstamp/>
</target>
<target name="build" depends="init">
<eclipse.refreshLocal resource="Gastos" depth="infinite"/>
<metrics.enable projectName="Gastos"/>
<eclipse.build
ProjectName="Gastos"
BuildType="full"
errorOut="errors.xml"
errorFormat="xml"
failOnError="true"/>
<metrics.export
projectName="Gastos"
file="Gastos-metrics-${DSTAMP}-${TSTAMP}.xml"/>
</target>
</project>
The questions are:
What I have to do to add this ant task to maven ?
How I add to the main menu a link to the metrics's xml file ?
Thanks a lot ....
Pablo Rodriguez
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]