Skip to content

Commit

Permalink
Merge pull request #70 from FasterXML/tatu/2.18/generate_project_vers…
Browse files Browse the repository at this point in the history
…ion_underscore

Add generation of `project.version.underscore`
  • Loading branch information
cowtowncoder committed May 4, 2024
2 parents ed1b496 + beffe25 commit ec7a38f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,23 @@ of Jackson: application code should only rely on `jackson-bom`
</resources>
</configuration>
</execution>
<!-- 04-May-2024, tatu: For [core#1264] need "cleansed" version
-->
<execution>
<id>regex-property</id>
<!-- default phase is "validate" as per https://www.mojohaus.org/build-helper-maven-plugin/usage.html
-->
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>project.version.underscore</name>
<value>${project.version}</value>
<regex>\.</regex>
<replacement>_</replacement>
<failIfNoMatch>true</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<!-- 27-Nov-2022, tatu: [bom#56] Configure Felix-bundle and maven-jar plugins to
Expand Down
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Jackson components (core, modules)

#68: Remove `junit` 4.x dependency from `jackson-base` 2.18.x to help
junit5 migration
- `base/pom.xml` now creates '${project.version.underscore}` for "cleansed"
version of `${project.version}`
2.17.0 (12-Mar-2024)
Expand Down

0 comments on commit ec7a38f

Please sign in to comment.