Re: Using --ignore in Maven packaging

2020-06-16 Thread Olek Wojnar
Hi Emmanuel, On Sun, Jun 7, 2020 at 5:00 AM Emmanuel Bourg wrote: > 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. > In general, I ag

Re: Using --ignore in Maven packaging

2020-06-07 Thread Emmanuel Bourg
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.

Re: Using --ignore in Maven packaging

2020-06-06 Thread Olek Wojnar
Hi Emmanuel, On Sat, Jun 6, 2020 at 2:25 PM Emmanuel Bourg wrote: > > The --ignore option in the .poms files means the module won't be built. > maven.ignoreRules specifies the dependencies that are ignored. It's two > different things. > > If you have a multi module project with a test module th

Re: Using --ignore in Maven packaging

2020-06-06 Thread Emmanuel Bourg
Hi Olek, Le 03/06/2020 à 19:10, Olek Wojnar a écrit : > I have now tried using the "--ignore" parameter a few times in the > d/package_name.poms file for Maven packages. What seems to happen is > that packages I have listed in d/maven.ignoreRules produce errors > because they cannot be found for

Using --ignore in Maven packaging

2020-06-03 Thread Olek Wojnar
Debian Java Maintainers, I have now tried using the "--ignore" parameter a few times in the d/package_name.poms file for Maven packages. What seems to happen is that packages I have listed in d/maven.ignoreRules produce errors because they cannot be found for the "ignored" POM. Based on my underst