Skip to content

Commit 841ca6c

Browse files
authored
Merge pull request #339 from beatngu13/patch-1
Add usage hint for multi-module version updates
2 parents c7f8def + 64d1722 commit 841ca6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ The plugin will automatically use Maven Wrapper for internal Maven goals if plug
7272

7373
The `versions-maven-plugin` and `tycho-versions-plugin` are used internally to update versions and properties of the project. To change versions of internal plugins use `versionsMavenPluginVersion` and `tychoVersionsPluginVersion` properties respectively.
7474

75+
### Handling multi-module projects
76+
77+
If your project consists of multiple modules with and without parent-child relationships, you have to supply additional arguments if you want to update all module versions. In case of the `versions-maven-plugin`, there is [`processAllModules`](https://www.mojohaus.org/versions-maven-plugin/set-mojo.html#processAllModules), which can be supplied as follows:
78+
79+
```
80+
mvn <goal> -DargLine='-DprocessAllModules'
81+
```
82+
7583

7684
# Eclipse Plugins build with Tycho
7785

0 commit comments

Comments
 (0)