Skip to content
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

Prefer -Dchangelist.format=%d.v%s #19

Merged
merged 1 commit into from Mar 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
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