Gili created MINSTALL-206:
-----------------------------
Summary: 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
Issue Type: Bug
Components: install:install
Affects Versions: 3.1.3
Reporter: Gili
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)