Hi,

i try what you write below but it doesn't work but i have missed something.

I have my first class like this :

/**
 * A small tutorial that shows how to create a report.
 * @goal generate
 * @phase post-site
 */
public class DashBoardMojo extends AbstractMojo

after, i have my mojo report like this :

/**
 * A small tutorial that shows how to create a report.
 * @goal dashboard
 */
public class DashBoardReportMojo extends DashBoardMojo implements
MavenReport

and at the end, i configure my report in my POM : 

<reporting>
<plugins>
...
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-dashboard-report-plugin1</artifactId>
                        <version>1.0</version>
      </plugin>
...
<plugins>
</reporting>

i must do another thing ?

thanks for your help

David

Vincent Siveton wrote:
> 
> Hi,
> 
> Try instead of the following:
> public class DashBoardReportMojo
>     extends DashBoardMojo
>     implements MavenReport
> 
> DashBoardMojo uses post-site
> 
> Cheers,
> 
> Vincent
> 
> 2006/10/9, dvicente <[EMAIL PROTECTED]>:
>>
>> nobody can help me ?
>>
>> http://www.nabble.com/-M2--dashboard-report-plugin-tf2342819.html
>> http://www.nabble.com/-M2--dashboard-report-plugin-tf2342819.html
>>
>> dvicente wrote:
>> >
>> > Hi,
>> >
>> > How to develop a maven report plugin which can be excuted as single
>> plugin
>> > with a specific goal and which can participate of site lifecycle during
>> > post-site phase ?
>> >
>> > As my old messages about my dashboard report plugin, i want my report
>> to
>> > be generated as the last one or during the post-site phase if it's
>> > impossible to order the report generation.
>> >
>> > Thanks for your help
>> >
>> > David
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-m2--lifecycle-design-tf2350045.html#a6715330
>> Sent from the Maven Developers mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-m2--lifecycle-design-tf2350045.html#a6832018
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to