Build a special module in a multi-module project

I have a multi-module project.

I thought I could only compile one module from this project with several modules with this line:

mvn -amd -pl "module-name"

This does not work, but only creates a specific module. Its dependencies have not yet been compiled, so it fails.

Any ideas how to solve this?

+3
source share
1 answer

Try instead mvn -am -pl "module-name"(replace -amdwith -am).

-amd , , -am , . , - , , .

+4

Source: https://habr.com/ru/post/1740630/


All Articles