Skip to content

Commit

Permalink
update-properties page was using use-releases goal instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Lotz authored and slachiewicz committed Oct 27, 2021
1 parent 79e30e2 commit 78198d2
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 78198d2

Please sign in to comment.