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

update-properties page was using use-releases goal instead #245

Merged
merged 1 commit into from Oct 27, 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
4 changes: 2 additions & 2 deletions src/site/apt/examples/update-properties.apt.vm
Expand Up @@ -380,15 +380,15 @@ Update Properties
To update the property for only the "com.foo.bar" dependencies, you can run:

+---+
mvn versions:use-releases -Dincludes=com.foo.bar:*
mvn versions:update-properties -Dincludes=com.foo.bar:*
+---+

Would result in the property for the manchu.version being updated, but not the blarg.version property.

In the above example, you could achieve the same result using:

+---+
mvn versions:use-releases -Dexcludes=org.blarg:*
mvn versions:update-properties -Dexcludes=org.blarg:*
+---+

If a property is used by artifacts that are not allowed by the set of specified <<includes>> and <<excludes>> then the property
Expand Down