Skip to content

Conversation

@marmoure
Copy link
Collaborator

@marmoure marmoure commented Jan 26, 2026

This PR adds some maven plugin to to prepare the build and release it

  1. Maven buildversion-plugin
  2. maven-depdendency-plugin
  3. maven-jar-plugin
  4. maven-source-plugin
  5. maven-javadoc-plugin
  6. maven-release-plugin
  7. maven-gpg-plugin
  8. maven-compiler-plugin
  9. central-publishing-maven-plugin

Copy link
Member

@adamretter adamretter left a 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 -->
Copy link
Member

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>
Copy link
Member

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>
Copy link
Member

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
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>bbl-validator-@{project.version}</tagNameFormat>
<releaseProfiles>bbl-validator</releaseProfiles>
Copy link
Member

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>
Copy link
Member

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

@adamretter adamretter merged commit d4ac9b2 into main Jan 30, 2026
2 checks passed
@adamretter adamretter deleted the maven/plugin branch January 30, 2026 10:34
marmoure added a commit that referenced this pull request Jan 30, 2026
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