includes and excludes should likely be a list of include/exclude
(respectively) elements.
Here's an example from a different plugin:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html

/Anders

PS. I guess it could also be a comma separated list in the includes element
as suggested by the docs.

On Tue, Jan 25, 2011 at 13:06, Christopher Schmidt
<fakod...@googlemail.com>wrote:

> Hi all,
>
> I have two different packages for class enhancement. I use the following
> pom.xml snippet
>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>openjpa-maven-plugin</artifactId>
>                 <version>1.2</version>
>                 <configuration>
>                     <includes>pf4mip/persistence/popo/*.class</includes>
>                     <excludes>pf4mip/persistence/popo/*Id.class</excludes>
>                     <includes>pf4mip/persistence/br/*.class</includes>
>                     <excludes>pf4mip/persistence/br/*PK.class</excludes>
>                 <configuration/>
>                 <executions>
>                     <execution>
>                         <id>enhancer</id>
>                         <phase>process-classes</phase>
>                         <goals>
>                             <goal>enhance</goal>
>                         </goals>
>                     </execution>
>                 </executions>
>             </plugin>
>
> But it seems that only one include and exclude is recognized. Is that true?
> What can I do?
>
> Thx in advance
>
> --
> Christopher
> twitter: @fakod
> blog: http://blog.fakod.eu
>
>

Reply via email to