On 14 January 2015 at 10:12, James Green <[email protected]> wrote:

> What am I supposed to do with dependency-reduced-pom.xml? Add it to
> revision control or ignore it?
>

I say ignore it.

For technical reasons a dependency reduced pom needs to land in the same
directory as the pom it is "replacing"

It is generated from the pom.xml, so you should not add it to SCM


>
> Not entirely clear why I need it, but it's added by default so assume it's
> important.
>
> Also, the documentation for it is incorrect. The file is by default written
> to the base dir and not the same dir as the shaded artifact (target).
>

Correct because IIUC the rector model is changed to point to this
dependency reduced pom and consequently other code will break if the
relative path from the depenency-reduced-pom.xml to the target/classes
directory is changed.


>
> Thanks,
>
> James
>

Reply via email to