I've found the solution. As in java code you can escape characters in javadoc 
too. In my example it must looks like this:

     /**
      * Pattern to lookup jar files.
      * @parameter expression="${jarLookupPattern}" default-value="**\/*.jar"
      * @required
      */
     protected String m_jarLookupPattern;

Cheers,
Martin

> -----Original Message-----
> From: Zeltner Martin [mailto:[EMAIL PROTECTED]
> Sent: Donnerstag, 15. Juni 2006 16:36
> To: users@maven.apache.org
> Subject: Problem with */ in parameter's default-value
> 
> 
> Hello,
> 
> I'd like to define **/*.jar as default-value for a mojo 
> parameter (see example).
> 
>     /**
>      * Pattern to lookup jar files.
>      * @parameter expression="${jarLookupPattern}" 
> default-value="**/*.jar"
>      * @required
>      */
>     protected String m_jarLookupPattern;
> 
> The problem is that */ is interpreted as the end of the 
> javadoc. Is there a nice way to circumvent this problem?
> 
> Best regards,
> Martin Zeltner
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to