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

Robert Scholte commented on MINSTALL-94:
----------------------------------------

What I don't like about the {{failIf}} option, is that when an artifact should 
have been available the build should break, but by defining this option these 
build-failures are ignored. So the best way would be to define it per module, 
making it equivalent to the skip-parameter.

AFAIK you need to run {{package}} in order to run {{install}} or {{deploy}}, 
because that's when the jar/war/ear is bound to the {{MavenProject}}, so the 
next goals know what to install or deploy.
If you want to confirm that the whole multimodule can be compiled, {{mvn 
compile}} is enough with Maven3. For inner-multimodule dependencies the 
classes-directory will be used instead of the jar.

Have you thought about the evil options {{maven.test.skip}} and {{skipTests}}?
                
> 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
>
>
> 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