You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/site/markdown/index.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,22 @@ of `1.0.0-SNAPSHOT` will result in `1.0.0-0.201604250101` (depending on the actu
38
38
The result of these rules are SNAPSHOT releases which is always lower than the final release.
39
39
Unless you override using `forceRelease` or `snapshotBuildId`.
40
40
41
+
### Version Modification
42
+
43
+
Beyond the above version specification, there is a facility to modify the version _within_ the RPM. This does not affect the file name of the produced RPM. This is useful if the Maven version is non-compliant with RPM versioning. For example if the Maven version is 1.1.rebuild-00001, the `-` could be replaced by `_` (See https://fedoraproject.org/wiki/PackagingDrafts/TildeVersioning#Basic_versioning_rules)
44
+
45
+
~~~xml
46
+
<modifyVersion>true</modifyVersion>
47
+
<versionReplacements>
48
+
<versionReplacement>
49
+
<search>-</search>
50
+
<replace>_</replace>
51
+
</versionReplacement>
52
+
</versionReplacements>
53
+
~~~
54
+
55
+
Multiple version replacements may be specified and they will be applied in sequence.
0 commit comments