Commit e626d879 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-gitlab-maven-repo' into 'master'

Fix typos in GitLab Maven Repository docs

See merge request gitlab-org/gitlab!25610
parents dea8d7de 15695075
...@@ -60,7 +60,7 @@ published to the GitLab Package Registry. ...@@ -60,7 +60,7 @@ published to the GitLab Package Registry.
Start by opening your terminal and creating a directory where you would like to Start by opening your terminal and creating a directory where you would like to
store the project in your environment. From inside the directory, you can run store the project in your environment. From inside the directory, you can run
the following Maven command to initalize a new package: the following Maven command to initialize a new package:
```shell ```shell
mvn archetype:generate -DgroupId=com.mycompany.mydepartment -DartifactId=my-project -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false mvn archetype:generate -DgroupId=com.mycompany.mydepartment -DartifactId=my-project -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
...@@ -71,7 +71,7 @@ The arguments are as follows: ...@@ -71,7 +71,7 @@ The arguments are as follows:
- `DgroupId`: A unique string that identifies your package. You should follow - `DgroupId`: A unique string that identifies your package. You should follow
the [Maven naming conventions](https://maven.apache.org/guides/mini/guide-naming-conventions.html). the [Maven naming conventions](https://maven.apache.org/guides/mini/guide-naming-conventions.html).
- `DartifactId`: The name of the JAR, appended to the end of the `DgroupId`. - `DartifactId`: The name of the JAR, appended to the end of the `DgroupId`.
- `DarchetypeArtifactId`: The archetype used to create the intial structure of - `DarchetypeArtifactId`: The archetype used to create the initial structure of
the project. the project.
- `DinteractiveMode`: Create the project using batch mode (optional). - `DinteractiveMode`: Create the project using batch mode (optional).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment