jira-importer commented on issue #158:
URL: 
https://github.com/apache/maven-deploy-plugin/issues/158#issuecomment-2771511188

   **[Robert 
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
 commented
   
   Although I can't think of a usecase to only deploy a selection, here's a 
solution: Add something like the following to your pom:
   
   ```xml
   <project>
     <properties>
       <module1.deploy.skip>false</module1.deploy.skip> <!-- default -->
     </properties>
   
     <build>
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-deploy-plugin</artifactId>
           <version>2.7</version>
           <configuration>
             <skip>${module1.deploy.skip}</skip>
           </configuration>
         </plugin>
       </plugins>
     </build>
   </project>
   ```
   
   If you want to skip this module, add `-Dmodule1.deploy.skip=true`
   


-- 
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