Scope Direct Dependency ("A" ► "B") |
Related Phases | Comment |
---|---|---|
compile |
"compile" "test-compile" "package" |
If any of these phases ("compile", "test-compile", "package") has to be executed, the build will fail if Maven cannot find "B" in the repository. |
test | "test-compile" |
If the phase "test-compile" has to be executed, the build will fail if Maven cannot find "B" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "B". |
provided |
"compile" "test-compile" |
If any of these phases ("compile", "test-compile") has to be executed, the build will fail if Maven cannot find "B" in the repository. |
runtime |
"test-compile" "package" |
If any of these phases ("test-compile", "package") has to be executed, the build will fail if Maven cannot find "B" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "B". |
Scope Direct Dependency ("B" ► "C") |
Scope Direct Dependency ("A" ► "B") |
Scope Transitive Dependency ("A" ► "C") |
Related Phases | Comment |
---|---|---|---|---|
compile | compile | compile |
"compile" "test-compile" "package" |
If any of these phases ("compile", "test-compile", "package") has to be executed, the build will fail if Maven cannot find "C" in the repository. |
compile | test | test | "test-compile" |
If the phase "test-compile" has to be executed, the build will fail if Maven cannot find "C" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "C". |
compile | provided | provided |
"compile" "test-compile" |
If any of these phases ("compile", "test-compile") has to be executed, the build will fail if Maven cannot find "C" in the repository. |
compile | runtime | runtime |
"test-compile" "package" |
If any of these phases ("test-compile", "package") has to be executed, the build will fail if Maven cannot find "C" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "C". |
Scope Direct Dependency ("B" ► "C") |
Scope Direct Dependency ("A" ► "B") |
Scope Transitive Dependency ("A" ► "C") |
Related Phases | Comment |
---|---|---|---|---|
runtime | compile | runtime |
"test-compile" "package" |
If any of these phases ("test-compile", "package") has to be executed, the build will fail if Maven cannot find "C" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "C". |
runtime | test | test | "test-compile" |
If the phase "test-compile" has to be executed, the build will fail if Maven cannot find "C" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "C". |
runtime | provided | provided |
"compile" "test-compile" |
If any of these phases ("compile", "test-compile") has to be executed, the build will fail if Maven cannot find "C" in the repository. |
runtime | runtime | runtime |
"test-compile" "package" |
If any of these phases ("test-compile", "package") has to be executed, the build will fail if Maven cannot find "C" in the repository. If the phase "compile" has to be executed, the build will fail if the code (not test code) of "A" refers the code of "C". |