-
Notifications
You must be signed in to change notification settings - Fork 0
Add Maven plugins to the project #10
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
Conversation
f6c59c5 to
787fcd2
Compare
787fcd2 to
e1283a6
Compare
adamretter
left a comment
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 seem to be missing the release profile configuration for the release plugin - please see the example I provided (https://github.com/evolvedbinary/expath-package-repository-plugin/blob/main/pom.xml)
pom.xml
Outdated
| </dependency> | ||
|
|
||
| <!-- https://mvnrepository.com/artifact/com.fasterxml.uuid/java-uuid-generator --> | ||
| <!-- https://mvnrepository.com/artifact/com.fasterxml.uuid/java-uuid-generator --> |
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.
Please remove this comment.
pom.xml
Outdated
| <Git-Commit>${build-commit}</Git-Commit> | ||
| <Git-Commit-Abbrev>${build-commit-abbrev}</Git-Commit-Abbrev> | ||
| <Build-Version>${build-version}</Build-Version> | ||
| <Build-Timestamp>${build-tstamp}</Build-Timestamp> |
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.
Use of <Build-Timestamp> This is wrong! See the maven-jar-plugin config above
pom.xml
Outdated
| <Git-Commit>${build-commit}</Git-Commit> | ||
| <Git-Commit-Abbrev>${build-commit-abbrev}</Git-Commit-Abbrev> | ||
| <Build-Version>${build-version}</Build-Version> | ||
| <Build-Timestamp>${build-tstamp}</Build-Timestamp> |
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.
Use of <Build-Timestamp> This is wrong! See the maven-jar-plugin config above
2e2d2fe to
8737415
Compare
pom.xml
Outdated
| <configuration> | ||
| <autoVersionSubmodules>true</autoVersionSubmodules> | ||
| <tagNameFormat>bbl-validator-@{project.version}</tagNameFormat> | ||
| <releaseProfiles>bbl-validator</releaseProfiles> |
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.
Rename to bbl-validator-release please
pom.xml
Outdated
| <artifactId>maven-release-plugin</artifactId> | ||
| <version>3.2.0</version> | ||
| <configuration> | ||
| <autoVersionSubmodules>true</autoVersionSubmodules> |
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.
This line can be removed - as we don't have any Maven sub-modules
This PR adds some maven plugin to to prepare the build and release it