From 169f878d4e1d88751b10c92a9b18dd6303ad0288 Mon Sep 17 00:00:00 2001 From: Jeremiah Zucker Date: Mon, 11 Jul 2022 19:14:59 -0400 Subject: [PATCH] fix: change old references in maven instructions --- plugins/maven/README.md | 8 +++++--- plugins/maven/__tests__/maven.test.ts | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/plugins/maven/README.md b/plugins/maven/README.md index d01aa211c..6597b9044 100644 --- a/plugins/maven/README.md +++ b/plugins/maven/README.md @@ -107,14 +107,16 @@ You will need all the following configuration blocks for all parts of `auto` to ```xml scm:git:https://${env.GH_USER}:${env.GH_TOKEN}@github.com/Fuego-Tools/java-test-project.git + >scm:git:https://${env.GH_USER}:${env.GH_TOKEN}@github.com/${owner}/${repo}.git scm:git:https://${env.GH_USER}:${env.GH_TOKEN}@github.com/Fuego-Tools/java-test-project.git - https://github.com/Fuego-Tools/java-test-project + >scm:git:https://${env.GH_USER}:${env.GH_TOKEN}@github.com/${owner}/${repo}.git + https://github.com/${owner}/${repo} HEAD ``` +> :warning: Either replace `${owner}/${repo}` with the corresponding GitHub owner and repository for your project or ensure those are configured as properties within the `pom.xml` + 3. Versions Maven Plugin **RECOMMENDED** (Optional) ```xml diff --git a/plugins/maven/__tests__/maven.test.ts b/plugins/maven/__tests__/maven.test.ts index ef947e5c7..a338e9e76 100644 --- a/plugins/maven/__tests__/maven.test.ts +++ b/plugins/maven/__tests__/maven.test.ts @@ -147,8 +147,8 @@ describe("maven", () => { xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - scm:git:https://github.com/Fuego-Tools/java-test-project.git - https://github.com/Fuego-Tools/java-test-project + scm:git:https://github.com/intuit/auto.git + https://github.com/intuit/auto HEAD @@ -158,8 +158,8 @@ describe("maven", () => { expect(await hooks.getRepository.promise()).toStrictEqual( expect.objectContaining({ - owner: "Fuego-Tools", - repo: "java-test-project", + owner: "intuit", + repo: "auto", }) ); });