Wouldn't it make sense to fail the build in case of this instead? As I see
it, there's something wrong in the descriptor and it should be fixed.

Also, doing this change (intead of just altering the algorithm) would make
the plugin upgrade "better" (no suprises in the result). A failed build
with a good message instead.

/Anders

On Thu, Oct 30, 2014 at 12:57 PM, Kristian Rosenvold <
kristian.rosenv...@gmail.com> wrote:

> There's a truckload of jira issues related to the inclusion algorithm,
> and there just seems to be so many simpler ways of handling this ?
>
> filesets/dependencysets/files processed in descriptor order (or
> reverse descriptor) order, first file wins. Reversing descriptor order
> would make "last" file win.
>
> Within a single set, first file always wins.
>
> What is the use case being solved by the existing algorithm ?? And why
> does it try to block based on "input" rather than assembly-output name
> ?
>
> Kristian
>
>
>
> 2014-10-30 12:54 GMT+01:00 Kristian Rosenvold <
> kristian.rosenv...@gmail.com>:
> > Reading the instructions on
> >
> http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html
> > makes me wonder, why on earth has this precedence been chosen for the
> > assembly plugin ??? Especially case 2 is odd.
> >
> > There'
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to