jira-importer commented on issue #212:
URL: 
https://github.com/apache/maven-install-plugin/issues/212#issuecomment-2771850641

   **[Bernd 
Mathiske](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bernd)** 
commented
   
   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.
   
   ```
   <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>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to