jira-importer commented on issue #153: URL: https://github.com/apache/maven-install-plugin/issues/153#issuecomment-2771841646
**[Henning Gross](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gaffa)** commented Hi Robert! I think you did not get my use-case. Its in the nature of a multi-module-project that there are dependencies between modules. For instance lets say you have 3 or 4 libraries, a core-lib and maybe like 10 to 20 consumers. You cannot run "mvn test" on the parent as the dependencies will be missing (or old if already deployed before). You would have to run mvn install to make sure those artifacts are deployed. When running the install-goal there are some other phases in the default lifecycle that are passed before. As we have a rather large amount of war-files with overlays and a lot of javascript and less-foo configured those phases like packaging take forever. With no benefit at all. I think the test-install jar thing that I have in mind is a pretty valid requirement and a lot of projects do need it. In huge projects it is essential to save as much time as possible in the basic jenkins-Jobs to allow feedback early. The approach of running two jenkins-jobs (one that installs the libs and the other one that runs the tests on the consumers) brings a lot of configuration overhead. Modules need to be wrapped in profiles and a build-pipeline on Jenkins is necessary to make sure you are getting exactly the jars that were just build and not something deployed from anywhere. To your last question ("what is wrong with the skip-parameter?"): Of course we could configure the skip-parameter in every single consumer-module wrapped in a profile but that feels like a hack to me and is a lot of overhead compared to just one line in the parent. Dont you think so? Thank you anyway for that idea. I will probably implement it as fast is more important than nice. But fast and nice would be even better ;) Can I ask you the other way around? What is wrong with making this behaviour configurable? Other plugins also expose switches for fail-behaviour. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org