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

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

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

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

Re: maven packaging

2012-02-12 Thread ribal...@gmail.com
sorry for so many questions, but I've found everything I need: DEB_MAVEN_ARGS and maven.properties. Thanks. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. ribal...@gmail.com ribal...@gmail.com wrote: Thank you, my bad. One more question: What is the right way of adding

Re: maven packaging

2012-02-08 Thread Boris Ribalkin
Thanks, that helped. Still have more questions :) Is it possible to override default behavior and run maven with specific profile like mvn -P profile ? On Sun, Jan 29, 2012 at 9:06 AM, Ludovic Claude ludovic.cla...@laposte.netwrote: To add jars to maven repo when the build system is not Maven,

Re: maven packaging

2012-01-29 Thread Ludovic Claude
To add jars to maven repo when the build system is not Maven, use the tools provided by maven-repo-helper. There is a tutorial here: file:///usr/share/doc/maven-repo-helper/tutorial.html Ludovic On 28/01/2012 01:20, ribal...@gmail.com wrote: Thank you, my bad. One more question: What is the

Re: maven packaging

2012-01-27 Thread ribal...@gmail.com
Thank you, my bad. One more question: What is the right way of adding jar to maven repo for existing ant based package? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Ludovic Claude ludovic.cla...@laposte.net wrote: Hello Boris, You should not try to package only a

Re: maven packaging

2012-01-24 Thread Ludovic Claude
Hello Boris, You should not try to package only a module of this project (google-http-client) but the whole project, then select which modules you want to include and maybe split the final binaries into several packages. So in short do the following: hg clone

Re: maven packaging

2012-01-20 Thread Boris Ribalkin
Hi, One more question on mh_make. I am trying to package google-http-client ( https://google-http-java-client.googlecode.com/hg/google-http-client/pom.xml) which depends on com.google.code.gson ( http://google-gson.googlecode.com/svn/tags/gson-2.1/). So I packaged gson first and it was fine, but