talios / googleformatter-maven-plugin

Plugin for the Apache Maven build system to reformat source files.
Apache License 2.0
48 stars 11 forks source link

filterUnchangedFiles() still broken for multi-module projects #10

Open jakub-bochenski opened 6 years ago

jakub-bochenski commented 6 years ago

9 will work if you actually include you root project in the build.

E.g. if child inherits from parent and you run: mvn -pl :child -am the paths match.

If you run just mvn -pl :child however, then child will be the sessions top-level project and the paths are still broken

talios commented 6 years ago

Is this something where you just need to run mvn -am -pl :child to also include any parent/upstream dependent modules? I find I have to do that for a lot of my builds where I'm only building subsets.