You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vishal Pahwa <vp...@sapient.com> on 2007/11/13 09:54:56 UTC
Aggregated maven reports
Hi
We are using maven2.0.6 for our multi module project. For reports we ae
using various plugins like javadoc plugin, Emma plugin, pmd plugin,
depend plugin and so on. But the problem we are facing is we got the
reports in each of the module individually but we have defined plugins
only at the root level but still the reports are being created
individually but obviously the best case would be if we couldget the
consolidated report at the root level like list of all the modules and
just by clicking any of the module if we could get the report for the
same. So could anyone please tell me how can I achieve this. Is their
any specific configuration required at the time of deployin this report
on Tomcat or there is some configuration required with the plugins
itself.
Regards
Vishal.
Re: Aggregated maven reports
Posted by Mick Knutson <mi...@gmail.com>.
The more I played with this, I am finding that it is a bug in yDoc when
adding the aggregate tag. I am sending an email to them.
On 11/13/07, Dennis Lundberg <de...@apache.org> wrote:
>
> This works only for plugins that support aggregated reports. These
> plugins usually have a configuration element
>
> <aggregate>true</aggregate>
>
> See the javadoc plugin docs for an example:
>
>
> http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
>
> Vishal Pahwa wrote:
> > Hi
> >
> > We are using maven2.0.6 for our multi module project. For reports we ae
> > using various plugins like javadoc plugin, Emma plugin, pmd plugin,
> > depend plugin and so on. But the problem we are facing is we got the
> > reports in each of the module individually but we have defined plugins
> > only at the root level but still the reports are being created
> > individually but obviously the best case would be if we couldget the
> > consolidated report at the root level like list of all the modules and
> > just by clicking any of the module if we could get the report for the
> > same. So could anyone please tell me how can I achieve this. Is their
> > any specific configuration required at the time of deployin this report
> > on Tomcat or there is some configuration required with the plugins
> > itself.
> >
> > Regards
> >
> > Vishal.
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Thanks,
Mick Knutson
http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/djmick_dot_com
http://www.myspace.com/sexybeotches
http://www.thumpradio.com
---
Re: Aggregated maven reports
Posted by Dennis Lundberg <de...@apache.org>.
This works only for plugins that support aggregated reports. These
plugins usually have a configuration element
<aggregate>true</aggregate>
See the javadoc plugin docs for an example:
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
Vishal Pahwa wrote:
> Hi
>
> We are using maven2.0.6 for our multi module project. For reports we ae
> using various plugins like javadoc plugin, Emma plugin, pmd plugin,
> depend plugin and so on. But the problem we are facing is we got the
> reports in each of the module individually but we have defined plugins
> only at the root level but still the reports are being created
> individually but obviously the best case would be if we couldget the
> consolidated report at the root level like list of all the modules and
> just by clicking any of the module if we could get the report for the
> same. So could anyone please tell me how can I achieve this. Is their
> any specific configuration required at the time of deployin this report
> on Tomcat or there is some configuration required with the plugins
> itself.
>
> Regards
>
> Vishal.
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Aggregated maven reports
Posted by dvicente <dv...@gmail.com>.
HI,
to do that, you must specify a <distributionManagement> in your pom and do a
"mvn site:deploy" to aggregate the whole site and to have the correct
navigation link
see the doc : http://maven.apache.org/plugins/maven-site-plugin/usage.html
site usage
and it's correct, the whole navigation hierarchy in Dashboard works fine
only if you do a site deploy
Best regards
David Vicente
Vishal Pahwa wrote:
>
>
> Hi
>
> We are already using this plugin what it does is creating the
> consolidated report from all the plugins like checkstyle plugin, emma
> plugin also but this report will agaian be separate separate for all the
> modules in their target directory but what the requirement is we need
> report only at one place from which we could navigate to any other
> module as well as their reports. This is definitely achievable coz I
> have seen in one of the project guys are doing the same they display the
> site on tomcat but donno how they have achieved the same.
>
> Regards
> Vishal.
>
> -----Original Message-----
> From: Erez Nahir [mailto:erez.nahir@gmail.com]
> Sent: Tuesday, November 13, 2007 3:25 PM
> To: Maven Users List
> Subject: Re: Aggregated maven reports
>
> Hi Vishal,
>
> Have a look at http://mojo.codehaus.org/dashboard-maven-plugin/.
>
> Erez.
>
> Vishal Pahwa wrote:
>> Hi
>>
>> We are using maven2.0.6 for our multi module project. For reports we
> ae
>> using various plugins like javadoc plugin, Emma plugin, pmd plugin,
>> depend plugin and so on. But the problem we are facing is we got the
>> reports in each of the module individually but we have defined
> plugins
>> only at the root level but still the reports are being created
>> individually but obviously the best case would be if we couldget the
>> consolidated report at the root level like list of all the modules and
>> just by clicking any of the module if we could get the report for the
>> same. So could anyone please tell me how can I achieve this. Is their
>> any specific configuration required at the time of deployin this
> report
>> on Tomcat or there is some configuration required with the plugins
>> itself.
>>
>> Regards
>>
>> Vishal.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Aggregated-maven-reports-tf4796528s177.html#a13731087
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Aggregated maven reports
Posted by "Sinduria,Anuradha" <An...@securecomputing.com>.
If you add the reports tag in our parent POM and don't add it in your child
POM then report will only be generated in parent.
You can use <inherited>false in your respective report plug-in of your
parent.
As far as the respective modules link requirement goes, it will
automatically be done if you follow parent child POM methodology.
Thanks and Regards,
Anuradha Sinduria
-----Original Message-----
From: Vishal Pahwa [mailto:vpahwa@sapient.com]
Sent: Tuesday, November 13, 2007 3:35 PM
To: Maven Users List; erez.nahir@gmail.com
Subject: RE: Aggregated maven reports
Hi
We are already using this plugin what it does is creating the
consolidated report from all the plugins like checkstyle plugin, emma
plugin also but this report will agaian be separate separate for all the
modules in their target directory but what the requirement is we need
report only at one place from which we could navigate to any other
module as well as their reports. This is definitely achievable coz I
have seen in one of the project guys are doing the same they display the
site on tomcat but donno how they have achieved the same.
Regards
Vishal.
-----Original Message-----
From: Erez Nahir [mailto:erez.nahir@gmail.com]
Sent: Tuesday, November 13, 2007 3:25 PM
To: Maven Users List
Subject: Re: Aggregated maven reports
Hi Vishal,
Have a look at http://mojo.codehaus.org/dashboard-maven-plugin/.
Erez.
Vishal Pahwa wrote:
> Hi
>
> We are using maven2.0.6 for our multi module project. For reports we
ae
> using various plugins like javadoc plugin, Emma plugin, pmd plugin,
> depend plugin and so on. But the problem we are facing is we got the
> reports in each of the module individually but we have defined
plugins
> only at the root level but still the reports are being created
> individually but obviously the best case would be if we couldget the
> consolidated report at the root level like list of all the modules and
> just by clicking any of the module if we could get the report for the
> same. So could anyone please tell me how can I achieve this. Is their
> any specific configuration required at the time of deployin this
report
> on Tomcat or there is some configuration required with the plugins
> itself.
>
> Regards
>
> Vishal.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Aggregated maven reports
Posted by Vishal Pahwa <vp...@sapient.com>.
Hi
We are already using this plugin what it does is creating the
consolidated report from all the plugins like checkstyle plugin, emma
plugin also but this report will agaian be separate separate for all the
modules in their target directory but what the requirement is we need
report only at one place from which we could navigate to any other
module as well as their reports. This is definitely achievable coz I
have seen in one of the project guys are doing the same they display the
site on tomcat but donno how they have achieved the same.
Regards
Vishal.
-----Original Message-----
From: Erez Nahir [mailto:erez.nahir@gmail.com]
Sent: Tuesday, November 13, 2007 3:25 PM
To: Maven Users List
Subject: Re: Aggregated maven reports
Hi Vishal,
Have a look at http://mojo.codehaus.org/dashboard-maven-plugin/.
Erez.
Vishal Pahwa wrote:
> Hi
>
> We are using maven2.0.6 for our multi module project. For reports we
ae
> using various plugins like javadoc plugin, Emma plugin, pmd plugin,
> depend plugin and so on. But the problem we are facing is we got the
> reports in each of the module individually but we have defined
plugins
> only at the root level but still the reports are being created
> individually but obviously the best case would be if we couldget the
> consolidated report at the root level like list of all the modules and
> just by clicking any of the module if we could get the report for the
> same. So could anyone please tell me how can I achieve this. Is their
> any specific configuration required at the time of deployin this
report
> on Tomcat or there is some configuration required with the plugins
> itself.
>
> Regards
>
> Vishal.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Aggregated maven reports
Posted by Erez Nahir <er...@gmail.com>.
Hi Vishal,
Have a look at http://mojo.codehaus.org/dashboard-maven-plugin/.
Erez.
Vishal Pahwa wrote:
> Hi
>
> We are using maven2.0.6 for our multi module project. For reports we ae
> using various plugins like javadoc plugin, Emma plugin, pmd plugin,
> depend plugin and so on. But the problem we are facing is we got the
> reports in each of the module individually but we have defined plugins
> only at the root level but still the reports are being created
> individually but obviously the best case would be if we couldget the
> consolidated report at the root level like list of all the modules and
> just by clicking any of the module if we could get the report for the
> same. So could anyone please tell me how can I achieve this. Is their
> any specific configuration required at the time of deployin this report
> on Tomcat or there is some configuration required with the plugins
> itself.
>
> Regards
>
> Vishal.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org