Nicolas,
Specify the configuration as:
   <configuration>
       <includes>
           <include>**/aspects/*.aj</include>
           <include>**/aspects/*.java</include>
       </includes>
   </configuration>

Martin

Nicolas De Loof wrote:

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]



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

Reply via email to