[ 
https://jira.codehaus.org/browse/MINSTALL-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318482#comment-318482
 ] 

Henning Gross commented on MINSTALL-94:
---------------------------------------

Someone at some point thought that the build should break on test failure as 
well. Someone did have a valid use-case and that when the option to not fail 
the build on test failure was added. Some time later (not long ago) surefire 
introduced another parameter to not fail if not tests werde found for a 
specified filter. Just to proof thath making behaviour configurable is not that 
uncommon.

What you say about package seems to be true. I thought so before, then did a 
test run which succeeded and I did not question why. Maybe I simply forgot to 
run clean (me idiot). I just set up a test project and it was as expected and 
stated by you.

The maven3-Feature you named does only work with direct dependencies I guess. I 
added a zip to demonstrate the issue. It will fail when running mvn clean test.

Anyway. I was mistaken and you may close this issue. We need to find another 
way. Either by making sure that there are only direct inner-module-dependencies 
or by making sure that those libs are built independently. 



                
> Optional: limit install to packaging x and or make install plugin not fail if 
> no artifacts were created for some modules.
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-94
>                 URL: https://jira.codehaus.org/browse/MINSTALL-94
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>            Reporter: Henning Gross
>         Attachments: MINSTALL-94.patch, MINSTALL-94.zip
>
>
> Background: I am working in a huge project with a lot of modules having a lot 
> of javascript-optimization and stuff happening in lifecycle-steps after 
> compile. This results in bad performance on jenkins. I would like to run
> mvn compile install:install as I only need the jars/libs to be installed and 
> not the wars (and more important I do not need them to be built).
> Please introduce Parameters like
> <doNotInstall>war</doNotInstall>
> or
> <failIfNoArtifact>false<...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to