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

Bernd Vogt commented on MINSTALL-73:
------------------------------------

Found a workaround: Add the profile below to your (parent) pom. After that you 
can use the property {{maven.install.skip}} (e.g. by passing 
{{-Dmaven.install.skip=true}}) to skip the install plugin.

{noformat}
  <profiles>
    <profile>
      <id>skipInstall</id>
      <activation>
        <property>
          <name>maven.install.skip</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-install-plugin</artifactId>
              <executions>
                <execution>
                  <id>default-install</id>
                  <phase>none</phase>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    </profile>
  </profiles>
{noformat}

> Add skip parameter
> ------------------
>
>                 Key: MINSTALL-73
>                 URL: https://jira.codehaus.org/browse/MINSTALL-73
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>          Components: install:install
>    Affects Versions: 2.4
>            Reporter: Ludwig Magnusson
>         Attachments: MINSTALL-73.patch, MINSTALL-73-test.patch
>
>
> Hello!
> The deploy plugin has a skip parameter that if set to true, skips the deploy 
> goal.
> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
> I was thinking that the install plugin could have the same feature. I have 
> created a patch (wasn't that hard). And I will submit it when i find out what 
> number this task gets =)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to