Hi..

Also you cloud look at the configuration examples at :
http://mojo.codehaus.org/aspectj-maven-plugin/

spesially (well even if you have alredy come to the right conclution ;) ) :
http://mojo.codehaus.org/aspectj-maven-plugin/includeExclude.html


/Kaare
On 30/03/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
> Solved :
>
> <includes>
>             <include>**/*.aj</include>
>             <include>**/aspects/*.java</include>
> </includes>
>
> (Ant-like syntax)
>
> I may have read the "Guide to configure plugin"
> (http://maven.apache.org/guides/mini/guide-configuring-plugins.html)
> that is more explicit about this than the "developer guide"
> (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html)
>
>
>
> Nicolas De Loof a écrit :
> >
> > Hello,
> >
> > I'm trying to configure aspectJ plugin and want to configure the
> > "includes" property.
> >
> > According to
> > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
> > I've tried this :
> >
> >     <configuration>
> >          <includes>**/aspects/*.aj</includes>
> >          <includes>**/aspects/*.java</includes>
> >     </configuration>
> >
> > But I get an error :
> >
> > [INFO] Failed to configure plugin parameters for:
> > org.codehaus.mojo:aspectj-maven-plugin:1.0-beta-1
> >
> >    (found static expression: '**/aspects/*.java' which may act as a
> > default value).
> >
> > Cause: Cannot assign configuration entry 'includes' to 'class
> > [Ljava.lang.String;' from '**/aspects/*.java', which is of type class
> > java.la
> > g.String
> >
> >
> > Did I miss something ?
> >
> >
> >
> > This message contains information that may be privileged or
> > confidential and is the property of the Capgemini Group. It is
> > intended only for the person to whom it is addressed. If you are not
> > the intended recipient,  you are not authorized to read, print,
> > retain, copy, disseminate,  distribute, or use this message or any
> > part thereof. If you receive this  message in error, please notify the
> > sender immediately and delete all  copies of this message.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> This message contains information that may be privileged or confidential and 
> is the property of the Capgemini Group. It is intended only for the person to 
> whom it is addressed. If you are not the intended recipient,  you are not 
> authorized to read, print, retain, copy, disseminate,  distribute, or use 
> this message or any part thereof. If you receive this  message in error, 
> please notify the sender immediately and delete all  copies of this message.
>
>
> ---------------------------------------------------------------------
> 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