[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using --ignore in Maven packaging



Le 07/06/2020 à 01:50, Olek Wojnar a écrit :

> But say there's a dummy root POM and I don't want to have a
> "dummy-build-only" directory added to the final package. So I add a
> --ignore for that POM (also tried --ignore-pom) but then I get
> complaints that required dependencies are not present. Specifically, the
> dependencies for the ignored POM that I have listed in the ignoreRules.
> It almost seems that if I --ignore a POM then the ignore-Rules for that
> POM are ignored as well, but the package build still tries to find those
> dependencies. Does that make sense?

I'm not sure to understand, but the root pom should not be ignored, it
has to be installed in the binary package. Otherwise there might be
missing information for other projects depending on this project.

Emmanuel Bourg


Reply to: