-
Notifications
You must be signed in to change notification settings - Fork 54.5k
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
[prop-mvn-plugin] properties-maven-plugin #18005
base: master
Are you sure you want to change the base?
Conversation
retest this please |
the verification maven plugin is configured in the parent pom... ..fixed |
<plugin> | ||
<artifactId>maven-verifier-plugin</artifactId> | ||
<version>${maven.verifier.version}</version> | ||
<configuration> | ||
<verificationFile>../input-resources/verifications.xml</verificationFile> | ||
<failOnError>false</failOnError> | ||
</configuration> | ||
</plugin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can disable it instead like this:
<plugin> | |
<artifactId>maven-verifier-plugin</artifactId> | |
<version>${maven.verifier.version}</version> | |
<configuration> | |
<verificationFile>../input-resources/verifications.xml</verificationFile> | |
<failOnError>false</failOnError> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-verifier-plugin</artifactId> | |
<version>${maven.verifier.version}</version> | |
<executions> | |
<execution> | |
<id>default</id> | |
<phase>none</phase> | |
</execution> | |
</executions> | |
</plugin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
<file>props/user.properties</file> | ||
<!-- we can also pass in the file through mvn command line: | ||
<file>${user.properties.file}</file> | ||
--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about achieving both simultaneously by <file>${user.properties.file}</file>
+ specify a default value for the property in the <properties>
section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
No description provided.