Skip to content

Commit

Permalink
Merge pull request #19 from jglick/changelist.format
Browse files Browse the repository at this point in the history
Prefer -Dchangelist.format=%d.v%s
  • Loading branch information
jglick authored Mar 1, 2021
2 parents cf00f6d + ec91e12 commit b4782e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ For a regular component whose version number is not intrinsically meaningful:
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
+-Dchangelist.format=%d.%s
+-Dchangelist.format=%d.v%s
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
Expand All @@ -301,7 +301,7 @@ For a regular component whose version number is not intrinsically meaningful:
</properties>
```

Here a CI/release build (`-Dset.changelist` specified) will be of the form `123.abcdef456789`.
Here a CI/release build (`-Dset.changelist` specified) will be of the form `123.vabcdef456789`.
A snapshot build will be `999999-SNAPSHOT`: arbitrary but treated as a snapshot by Maven and newer than any release.

For a component whose version number ought to reflect a release version of some wrapped component:
Expand All @@ -322,7 +322,7 @@ For a component whose version number ought to reflect a release version of some
@@ -1,2 +1,3 @@
-Pconsume-incrementals
-Pmight-produce-incrementals
+-Dchangelist.format=%d.%s
+-Dchangelist.format=%d.v%s
--- a/pom.xml
+++ b/pom.xml
@@ -10,12 +10,12 @@
Expand All @@ -339,7 +339,7 @@ For a component whose version number ought to reflect a release version of some
<java.level>8</java.level>
```

Here the version numbers will look like `4.0.0-123.abcdef456789` or `4.0.0-999999-SNAPSHOT`, respectively.
Here the version numbers will look like `4.0.0-123.vabcdef456789` or `4.0.0-999999-SNAPSHOT`, respectively.
When you pick up a new third-party component like `4.0.1`, your version numbers will match;
to refer to the third-party component, just use

Expand Down

0 comments on commit b4782e0

Please sign in to comment.