This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push: new 0faed800 Java doesn't statically link (#663) 0faed800 is described below commit 0faed800c440bc807c028d5ba3d0f7f92bb394bd Author: Elliotte Rusty Harold <elh...@users.noreply.github.com> AuthorDate: Fri Feb 7 11:57:06 2025 +0000 Java doesn't statically link (#663) * Java doesn't statically link So there's no link phase --- content/apt/pom.apt.vm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/apt/pom.apt.vm b/content/apt/pom.apt.vm index 7364523e..8eada3c5 100644 --- a/content/apt/pom.apt.vm +++ b/content/apt/pom.apt.vm @@ -196,8 +196,8 @@ POM Reference The cornerstone of the POM is its {{{/ref/current/maven-model/maven.html#class_dependency}dependency}} list. Most projects depend on others to build - and run correctly. If all Maven does for you is manage this list, you have gained a lot. - Maven downloads and links the dependencies on compilation, as well as on other goals that require them. + and run correctly. + Maven downloads the dependencies on compilation, as well as on other goals that require them. As an added bonus, Maven brings in the dependencies of those dependencies (transitive dependencies), allowing your list to focus solely on the dependencies your project requires. @@ -309,8 +309,8 @@ mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -Dartifa * <<optional>>:\ Marks a dependency optional when this project itself is a dependency. For example, imagine a project <<<A>>> that depends upon project <<<B>>> to - compile a portion of code that may not be used at runtime, then we may have no need for project <<<B>>> - for all project. So if project <<<X>>> adds project <<<A>>> as its own dependency, then Maven does + compile a portion of code that may not be used at runtime. In that case, if project <<<X>>> adds + project <<<A>>> as its own dependency, project <<<X>>> does not need project <<<B>>> on the classpath and Maven does not need to install project <<<B>>> at all. Symbolically, if <<<=\>>>> represents a required dependency, and <<<--\>>>> represents optional, although <<<A=\>B>>> may be the case when building A <<<X=\>A--\>B>>> would be the case when building <<<X>>>.