On Fri, Jan 2, 2009 at 11:30 PM, Scott Heaberlin <[email protected]> wrote:

> Hello all,
>
>
>
> I am unable get earSourceExcludes to work.  Here is my build section
> from pom.xml:


Mmm, it should work. Please create an issue in Jira.

Thanks,
Stéphane



>
>
> <build>
>    <plugins>
>        <plugin>
>            <artifactId>maven-ear-plugin</artifactId>
>            <configuration>
>                <!-- this places all jar modules into a "lib" dir -->
>                <defaultJavaBundleDir>lib/</defaultJavaBundleDir>
>                <earSourceExcludes>lib/commons-logging*</earSourceExcludes>
>                <modules>
>                    <webModule>
>                        <groupId>my-groupid</groupId>
>                        <artifactId>one-of-my-webmodules</artifactId>
>
> <bundleFileName>one-of-my-webmodules.war</bundleFileName>
>                    </webModule>
>                    <!-- ... -->
>                </modules>
>            </configuration>
>        </plugin>
>    </plugins>
> </build>
>
> Yet, no matter what, commons-logging keeps showing up in my packaged
> ear file under the lib/ path.  I've tried other patterns as well;
> **/commons-logging* does not work either.
>
> http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html#earSourceExcludes
>
>
> Thoughts?
>
> Thanks in advance,
>
>
> Scott Heaberlin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Large Systems Suck: This rule is 100% transitive. If you build one, you
suck" -- S.Yegge

Reply via email to