So both projects have attachClasses=true set, and you want to change one of
that config at command line?

-D


On Fri, May 23, 2014 at 2:40 AM, Jeff Hair <[email protected]> wrote:

> Hi,
>
> I have a case where a sibling POM (both POMs have the same parent) needs to
> have a different configuration plugin for the maven-war plugin.
> Specifically, I need to put the <attachClasses>true</attachClasses> element
> into the configuration. The problem is that I cannot override or modify
> this POM. Other acceptable solutions would be to build this particular
> project with a command-line property or through some kind of aggregated
> POM, as long as I can specify the option without modifying this POM itself.
>
> I've scoured the internet for a solution and the only thing I've really
> found is passing a property in via command line. But this apparently only
> works for properties which have an expression defined. attachClasses does
> not have this.
>

Reply via email to