Scope Direct Dependency ("A" ► "B") |
Related Phases | Comment |
---|---|---|
compile |
"compile" "test-compile" "package" |
If any of the phases "compile", "test-compile", or "package" has to be executed for the project "A", the build will fail if Maven cannot find the dependency "B" in the repository. |
test | "test-compile" |
If the phase "test-compile" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "B" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "B". |
provided |
"compile" "test-compile" |
If any of the phases "compile" or "test-compile" has to be executed for the project "A", the build will fail if Maven cannot find the dependency "B" in the repository. |
runtime |
"test-compile" "package" |
If any of the phases "test-compile" or "package" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "B" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "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 the phases "compile", "test-compile", or "package" has to be executed for the project "A", the build will fail if Maven cannot find the dependency "C" in the repository. |
compile | test | test | "test-compile" |
If the phase "test-compile" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "C" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "C". |
compile | provided | provided |
"compile" "test-compile" |
If any of the phases "compile" or "test-compile" has to be executed for the project "A", the build will fail if Maven cannot find the dependency "C" in the repository. |
compile | runtime | runtime |
"test-compile" "package" |
If any of the phases "test-compile" or "package" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "C" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "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 the phases "test-compile" or "package" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "C" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "C". |
runtime | test | test | "test-compile" |
If the phase "test-compile" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "C" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "C". |
runtime | provided | provided |
"compile" "test-compile" |
If any of the phases "compile" or "test-compile" has to be executed for the project "A", the build will fail if Maven cannot find the dependency "C" in the repository. |
runtime | runtime | runtime |
"test-compile" "package" |
If any of the phases "test-compile" or "package" has to be executed for the project "A",
the build will fail if Maven cannot find the dependency "C" in the repository. Note that if the phase "compile" has to be executed for the project "A", the build will fail if the code (not test code) of the project "A" refers the code of the project "C". |