From de828c398fb2ed085ca4943353c53a5208581dd9 Mon Sep 17 00:00:00 2001 From: emcanearney Date: Tue, 23 Jan 2024 15:50:35 +0000 Subject: [PATCH] IAS-11362: Fix dependencies --- pom.xml | 74 ++++++++++++++----- .../InsightAppSecRuntimeDataProvider.java | 5 -- 2 files changed, 57 insertions(+), 22 deletions(-) diff --git a/pom.xml b/pom.xml index 84a8c69..6808c4a 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ 9.0.4 9.0.4 - 6.3.21 + 8.10.1 2.0.1 1.2.13 @@ -41,7 +41,6 @@ 1.8.0 2.8.9 1.2.17-atlassian-18 - 3.12.0 2.21.1 20231013 4.0.0 @@ -130,19 +129,34 @@ org.apache.maven maven-core + + org.apache.maven + maven-model + org.tmatesoft.sqljet sqljet + + + com.google.code.findbugs + jsr305 + + + com.google.guava + guava + + + commons-io + commons-io + + + org.slf4j + slf4j-api + - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - - net.minidev json-smart @@ -165,12 +179,40 @@ org.apache.maven maven-embedder ${maven-core.version} + + + org.apache.commons + commons-lang3 + + + com.google.guava + guava + + + org.slf4j + slf4j-api + + + commons-io + commons-io + + org.apache.maven maven-core ${maven-core.version} + + + org.apache.commons + commons-lang3 + + + org.slf4j + slf4j-api + + @@ -233,6 +275,12 @@ atlassian-plugins-osgi-testrunner ${plugin.testrunner.version} test + + + commons-io + commons-io + + @@ -242,13 +290,6 @@ provided - - - - - - - joda-time joda-time @@ -300,14 +341,13 @@ com.atlassian.maven.plugins - maven-bamboo-plugin + bamboo-maven-plugin ${amps.version} true ${bamboo.version} ${bamboo.data.version} true - false diff --git a/src/main/java/com/rapid7/ias/bamboo/impl/InsightAppSecRuntimeDataProvider.java b/src/main/java/com/rapid7/ias/bamboo/impl/InsightAppSecRuntimeDataProvider.java index 35810c9..b7d078d 100644 --- a/src/main/java/com/rapid7/ias/bamboo/impl/InsightAppSecRuntimeDataProvider.java +++ b/src/main/java/com/rapid7/ias/bamboo/impl/InsightAppSecRuntimeDataProvider.java @@ -1,16 +1,11 @@ package com.rapid7.ias.bamboo.impl; -import com.atlassian.bamboo.ResultKey; import com.atlassian.bamboo.credentials.CredentialsAccessor; import com.atlassian.bamboo.credentials.CredentialsData; -import com.atlassian.bamboo.security.SecureToken; -import com.atlassian.bamboo.security.SecureTokenService; -import com.atlassian.bamboo.serialization.WhitelistedSerializable; import com.atlassian.bamboo.task.RuntimeTaskDataProvider; import com.atlassian.bamboo.task.TaskDefinition; import com.atlassian.bamboo.task.runtime.RuntimeTaskDefinition; import com.atlassian.bamboo.v2.build.CommonContext; -import com.atlassian.bamboo.v2.build.agent.messages.AuthenticableMessage; import org.apache.commons.lang3.StringUtils; import org.jetbrains.annotations.NotNull;