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

   **[Brett 
Porter](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=brettporter)**
 commented
   
   you mean the same as "mvn clean" ? You would be better to bind this to the 
install phase in a profile:
   
   ```xml
   <profile>
    <id>cleaning-profile</id>
    <plugins>
     <plugin>
      <artifactId>maven-clean-plugin</artifactId>
      <executions>
       <execution>
        <goals>
         <goal>clean</goal>
        </goals>
       </execution>
      </executions>
     </plugin>
    </plugins>
   </profile>
   ```
   
   and run
   
   ```
   mvn -P clean-profile install
   ```
   
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to