[ 
https://issues.apache.org/jira/browse/MINSTALL-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17966013#comment-17966013
 ] 

Olivier Lamy commented on MINSTALL-206:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#317|https://github.com/apache/maven-install-plugin/issues/317].
 Please visit the GitHub issue to view further activity, add comments, or 
subscribe to receive notifications.

> Ability to skip execution by setting phase to none
> --------------------------------------------------
>
>                 Key: MINSTALL-206
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-206
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: install:install
>    Affects Versions: 3.1.3
>            Reporter: Gili
>            Priority: Major
>
> Following up on MINSTALL-73, if a module does not contain a "src" directory 
> then:
>  
> {code:java}
> <plugin>
>   <groupId>org.apache.maven.plugins</groupId>
>   <artifactId>maven-install-plugin</artifactId>
>   <executions>
>    <execution>
>     <id>default-cli</id>
>     <goals>
>      <goal>install</goal>
>     </goals>
>     <phase>none</phase>
>     <configuration>
>      <skip>true</skip>
>     </configuration>
>    </execution>
>   </executions>
> </plugin>{code}
> Works fine but if you run skip=true, then you'll get this error:
> {quote}The packaging plugin for project deployment did not assign a file to 
> the build artifact
> {quote}
> Expected behavior: phase=none should be sufficient to skip execution of this 
> plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to