Hi,
I'm writing a plugin report.
I would like to test it without generating all other reports.
My mojo has a goal defined with @goal.
When I generate all reports this works fine.
But when I use mojo:goal.

I have an output :
{\rtf1\ansi\ansicpg1252\deff0
{\fonttbl
{\f0\froman\fcharset0 Times;}
{\f1\fmodern\fcharset0 Courier;}
}
{\stylesheet
{\s1\outlinelevel1 Section Title 1;}
{\s2\outlinelevel2 Section Title 2;}
{\s3\outlinelevel3 Section Title 3;}
{\s4\outlinelevel4 Section Title 4;}
{\s5\outlinelevel5 Section Title 5;}
}

....

I have in my mojo :

    /**
     * 
     * @component
     */
    private Sink sink; (org.apache.maven.doxia.sink.Sink)

I use something like : 
private void generateReportPage( Locale locale, Sink sink )
{
...
}

Called with this.getSink(){return this.sink;}

I have dependencies on :
    <dependency>
      <groupId>org.apache.maven.doxia</groupId>
      <artifactId>doxia-sink-api</artifactId>
      <version>1.0-alpha-8</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.doxia</groupId>
      <artifactId>doxia-site-renderer</artifactId>
      <version>1.0-alpha-8</version>
    </dependency>



Any ideas,
Thanks,
--
Olivier



This e-mail, any attachments and the information contained therein ("this 
message") are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message electronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci apres "le message" ), sont confidentiels et 
destines exclusivement a l'usage de la  personne a laquelle ils sont adresses. 
Si vous avez recu ce message par erreur, merci  de le renvoyer a son emetteur 
et de le detruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressement autorisees de ce 
message, sont interdites.
********************************************************************** 


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

Reply via email to