This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit f7e00807589b1d7043a517c001f1e22fa41407af Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Tue Nov 3 21:50:24 2026 +0100 Fix three in-page anchors in the getting-started guide The links to the SNAPSHOT section, to the JAR install section and to the POM reference's Dependencies section used ids that the rendered pages do not have. --- content/markdown/guides/getting-started/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/markdown/guides/getting-started/index.md b/content/markdown/guides/getting-started/index.md index 91bbcbd4..50508f8b 100644 --- a/content/markdown/guides/getting-started/index.md +++ b/content/markdown/guides/getting-started/index.md @@ -123,11 +123,11 @@ This is a very simple POM but still displays the key elements every POM contains - **modelVersion** This element indicates what version of the object model this POM is using. The version of the model itself changes very infrequently but it is mandatory in order to ensure stability of use if and when the Maven developers deem it necessary to change the model. - **groupId** This element indicates the unique identifier of the organization or group that created the project. The groupId is one of the key identifiers of a project and is typically based on the fully qualified domain name of your organization. For example `org.apache.maven.plugins` is the designated groupId for all Maven plugins. - **artifactId** This element indicates the unique base name of the primary artifact being generated by this project. The primary artifact for a project is typically a JAR file. Secondary artifacts like source bundles also use the artifactId as part of their final name. A typical artifact produced by Maven would have the form <artifactId>-<version>.<extension> (for example, `myapp-1.0.jar`). -- **version** This element indicates the version of the artifact generated by the project. Maven goes a long way to help you with version management and you will often see the `SNAPSHOT` designator in a version, which indicates that a project is in a state of development. We will discuss the use of [snapshots](./index.html#what-is-a-snapshot-version) and how they work further on in this guide. +- **version** This element indicates the version of the artifact generated by the project. Maven goes a long way to help you with version management and you will often see the `SNAPSHOT` designator in a version, which indicates that a project is in a state of development. We will discuss the use of [snapshots](#What_is_a_SNAPSHOT_version.3F) and how they work further on in this guide. - **name** This element indicates the display name used for the project. This is often used in Maven's generated documentation. - **url** This element indicates where the project's site can be found. This is often used in Maven's generated documentation. - **properties** This element contains value placeholders accessible anywhere within a POM. -- **dependencies** This element's children list [dependencies](/pom.html#dependencies). The cornerstone of the POM. +- **dependencies** This element's children list [dependencies](/pom.html#Dependencies). The cornerstone of the POM. - **build** This element handles things like declaring your project's directory structure and managing plugins. For a complete reference of what elements are available for use in the POM please refer to our [POM Reference](/ref/current/maven-model/maven.html). Now let's get back to the project at hand. @@ -722,7 +722,7 @@ For each external dependency, you'll need to define at least 4 things: groupId, For more information about the dependency mechanism as a whole, see [Introduction to Dependency Mechanism](../introduction/introduction-to-dependency-mechanism.html). -With this information about a dependency, Maven will be able to reference the dependency when it builds the project. Where does Maven reference the dependency from? Maven looks in your local repository (`${user.home}/.m2/repository` is the default location) to find all dependencies. In a [previous section](#How_do_I_create_a_JAR_and_install_it_in_my_local_repository), we installed the artifact from our project (my-app-1.0-SNAPSHOT.jar) into the local repository. Once it's installed there [...] +With this information about a dependency, Maven will be able to reference the dependency when it builds the project. Where does Maven reference the dependency from? Maven looks in your local repository (`${user.home}/.m2/repository` is the default location) to find all dependencies. In a [previous section](#How_do_I_create_a_JAR_and_install_it_in_my_local_repository.3F), we installed the artifact from our project (my-app-1.0-SNAPSHOT.jar) into the local repository. Once it's installed th [...] ```xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
