summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Busatto <fabio@gitlab.com>2017-06-29 07:05:59 +0000
committerFabio Busatto <fabio@gitlab.com>2017-06-29 07:05:59 +0000
commit1697e2c485b8d1e85df8e5723793a6316272ec15 (patch)
treec3ae2b8002a9b365ee85832ad013c58c61c65b25
parent5474b4e0ce643f316d146dfa57f28a0dc874033e (diff)
downloadgitlab-ce-1697e2c485b8d1e85df8e5723793a6316272ec15.tar.gz
Update index.md
-rw-r--r--doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md b/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
index 5f326588372..afcce2dfe23 100644
--- a/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
+++ b/doc/articles/how_to_use_gitlab_ci_to_deploy_maven_projects_to_artifactory/index.md
@@ -34,7 +34,7 @@ We also assume that an Artifactory instance is available and reachable from the
First of all, we need an application to work with: in this specific case we're going to make it simple, but it could be any Maven application. This will be our dependency we want to package and deploy to Artifactory, in order to be available to other projects.
-For this article we'll use a Maven app that can be cloned at `https://gitlab.com/gitlab-examples/maven/simple-maven-dep.git`, so let's login into our GitLab account and create a new project
+For this article we'll use a Maven app that can be cloned from `https://gitlab.com/gitlab-examples/maven/simple-maven-dep.git`, so let's login into our GitLab account and create a new project
with **Import project from ➔ Repo by URL**. Let's make it `public` so anyone can contribute!
This application is nothing more than a basic class with a stub for a JUnit based test suite.
@@ -125,7 +125,7 @@ test:
deploy:
stage: deploy
script:
- - mvn deploy $fMAVEN_CLI_OPTS -DrepoUrl=$ARTIFACTORY_REPO_URL -DrepoUser=$ARTIFACTORY_REPO_USER -DrepoKey=$ARTIFACTORY_REPO_KEY
+ - mvn deploy $MAVEN_CLI_OPTS -DrepoUrl=$ARTIFACTORY_REPO_URL -DrepoUser=$ARTIFACTORY_REPO_USER -DrepoKey=$ARTIFACTORY_REPO_KEY
only:
- master
```
@@ -181,7 +181,7 @@ Here is how we can get the content of the file directly from Artifactory:
2. click on **Generate Maven Settings**
3. click on **Generate Settings**
3. copy to clipboard the configuration file
-4. save the file as `.m2/settings.xml` in your repo, removing the `servers` section entirely
+4. save the file as `.m2/settings.xml` in your repo
Now we're ready to use our Artifactory repository to resolve dependencies and use `simple-maven-dep` in our application!