Thanks for the quick response.

I've tried the following:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.0</version>
        <configuration>
                        <excludes>
                                <exclude>**/com/ideal/**/*.java</exclude>
                        </excludes>
                        <webResources>...</webResources>
         </configuration>
       </plugin>
    </plugins>

And some other exclude masks like **/com/ideal/**, or **/com/ideal/*
but it seems that they still are compiled.
What is the mask I need to use?

2008/7/10 Geoffrey Wiseman <[EMAIL PROTECTED]>:
> On Thu, Jul 10, 2008 at 10:51 AM, Jörg Schaible <
> [EMAIL PROTECTED]> wrote:
>
>> You can do this in the same POM. Simply execute the jar plugin (also with
>> includes), attach it to the package phase, but configure the resulting
>> artifact with a classifier.
>>
>
> Although it wouldn't hurt to note that this would typically be accomplished
> using a multi-module buld in Maven.
>
>  - Geoffrey
> --
> Geoffrey Wiseman
>

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

Reply via email to