Skip to content

Instantly share code, notes, and snippets.

Created July 23, 2015 12:22
Show Gist options
  • Save anonymous/38fc0972d6c39de231c0 to your computer and use it in GitHub Desktop.
Save anonymous/38fc0972d6c39de231c0 to your computer and use it in GitHub Desktop.
We have a root pom and four pom files under it: a, b, c and d, but c isn't including in the "modules" block of the root pom. That means that maven will never build c when running mvn clean install from the root.
root
|- pom.xml
| <modules>
| <module>a</module>
| <module>b</module>
| <module>d</module>
| </modules>
|- a
| \- pom.xml
|- b
| \- pom.xml
|- c
| \- pom.xml # we wouldn't look here
\- d
\- pom.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment