From 5939e3f04e331a44177aa6046fa7596bdf4cf374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Duarte?= Date: Mon, 29 Aug 2022 22:24:58 +0100 Subject: [PATCH 1/5] Upgrade to Latest Bitbucket --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1104c42..6033721 100644 --- a/pom.xml +++ b/pom.xml @@ -29,9 +29,9 @@ 1.8 1.8 - 7.3.0 + 8.2.1 ${bitbucket.version} - 8.1.1 + 8.4.1 From b82c46fcc9e92222dece948ac745bf5cc43602e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Duarte?= Date: Mon, 29 Aug 2022 22:25:10 +0100 Subject: [PATCH 2/5] Add Bitbucket Data Center Compatibility --- src/main/resources/atlassian-plugin.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/atlassian-plugin.xml b/src/main/resources/atlassian-plugin.xml index dee3f5b..47acc88 100644 --- a/src/main/resources/atlassian-plugin.xml +++ b/src/main/resources/atlassian-plugin.xml @@ -4,6 +4,7 @@ ${project.description} ${project.version} + compatible true execute_java From 19d71f7d2458746d439eadcb949ff84c79feb96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Duarte?= Date: Tue, 30 Aug 2022 13:52:46 +0000 Subject: [PATCH 3/5] Upgrade to Java 11 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 6033721..15d4239 100644 --- a/pom.xml +++ b/pom.xml @@ -26,8 +26,8 @@ UTF-8 - 1.8 - 1.8 + 11 + 11 8.2.1 ${bitbucket.version} From 7ac0f8406c9cc9f4bcb7cd0ac787936915a36a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Duarte?= Date: Tue, 30 Aug 2022 13:52:58 +0000 Subject: [PATCH 4/5] Upgrade AMPS Version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 15d4239..0061e4e 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ 8.2.1 ${bitbucket.version} - 8.4.1 + 8.6.0 From 9424a65edd47c5aa51e366d1a608eb07e9e775bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Duarte?= Date: Tue, 30 Aug 2022 13:53:11 +0000 Subject: [PATCH 5/5] Fix compilation issues --- .../java/com/englishtown/bitbucket/hook/PasswordHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/englishtown/bitbucket/hook/PasswordHandler.java b/src/main/java/com/englishtown/bitbucket/hook/PasswordHandler.java index 99ae952..fbd2d2c 100644 --- a/src/main/java/com/englishtown/bitbucket/hook/PasswordHandler.java +++ b/src/main/java/com/englishtown/bitbucket/hook/PasswordHandler.java @@ -3,7 +3,7 @@ import com.atlassian.bitbucket.scm.CommandErrorHandler; import com.atlassian.bitbucket.scm.CommandExitHandler; import com.atlassian.bitbucket.scm.CommandOutputHandler; -import com.atlassian.utils.process.StringOutputHandler; +import com.atlassian.bitbucket.io.StringOutputHandler; import javax.annotation.Nonnull; import javax.annotation.Nullable;