Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support system property for defining the deployments property file #19

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

sparty02
Copy link
Contributor

@sparty02 sparty02 commented Aug 3, 2017

This PR introduces support for defining the deploymentsPropertyFile as a system property (vs requiring it to be defined in the section of the plugin in the pom. As a result, this will allow a consumer to invoke this plugin purely from the command line, removing the need to define it in a pom at all (which can be useful in lots of cases, including CI/CD). Note that the 'was.' prefix is used to namespace the property.

mvn clean package com.orctom.mojo:was-maven-plugin:1.1.3.2:deploy -Dwas.deploymentsPropertyFile=src/main/configwas-maven-plugin.properties

@orctom orctom merged commit 1740b2a into orctom:master Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants