You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jira-importer (via GitHub)" <gi...@apache.org> on 2025/04/02 07:16:42 UTC

Re: [I] [MDEPLOY-181] DeployAtEnd cannot be overwritten from command line using -DdeployAtEnd=false [maven-deploy-plugin]

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

   **[Karl Heinz Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)** commented
   
   A simple work a round at the moment is to define a property within your pom file:
   
   ```xml
   <properties>
     <deployAtEnd>true<deployAtEnd>
   </properties>
   ...
   <deployAtEnd>${deployAtEnd}</deployAtEnd>
   ```
   
   This should work to override this via command line:
   
   ```
   mvn clean deploy -DdeployAtEnd=false
   ```
   
   


-- 
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-unsubscribe@maven.apache.org

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