OK I think I found out how to do this.  I wouldn't be using different
scopes, but I would be using different assemblies.  Correct or not?

On 1/5/07, Thierry Lach <[EMAIL PROTECTED]> wrote:

I'm putting together a build process in which I want to be able to
customize the war build to optionally exclude certain jars under certain
profiles.  Specifically, I want to exclude the junit jar from WEB-INF/lib if
(and only if) I'm building using the profile jboss, triggered by
-Djboss-build on the command line.

So I want <scope>provided</scope> when building for jboss, but
<scope>compile</scope> when not.  Is there any way that I can accomplish
this?



Reply via email to