diff --git a/azd/pom.xml b/azd/pom.xml index 2de0111d..11b6f807 100644 --- a/azd/pom.xml +++ b/azd/pom.xml @@ -25,6 +25,8 @@ UTF-8 2.19.0 + 11 + 11 @@ -52,26 +54,22 @@ - - - + org.apache.maven.plugins maven-clean-plugin - 3.1.0 + 3.3.2 - + org.apache.maven.plugins maven-resources-plugin - 3.0.2 + 3.3.1 maven-compiler-plugin - 3.8.1 + 3.11.0 11 11 @@ -80,17 +78,18 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.1 + 3.2.2 org.apache.maven.plugins maven-jar-plugin - 3.0.2 + 3.3.0 + org.apache.maven.plugins maven-gpg-plugin - 1.5 + 3.1.0 sign-artifacts @@ -98,13 +97,22 @@ sign + + + + --pinentry-mode + loopback + + ${env.GPG_PASSPHRASE} + + org.apache.maven.plugins maven-source-plugin - 2.2.1 + 3.3.0 attach-sources @@ -114,10 +122,11 @@ + org.apache.maven.plugins maven-javadoc-plugin - 3.2.0 + 3.6.3 attach-javadocs @@ -126,32 +135,49 @@ + + + none + 11 + org.apache.maven.plugins maven-install-plugin - 2.5.2 + 3.1.1 org.apache.maven.plugins maven-deploy-plugin - 2.8.2 + 3.1.1 - + + + org.sonatype.central + central-publishing-maven-plugin + 0.9.0 + true + + central + + + + + org.apache.maven.plugins maven-site-plugin - 3.7.1 + 4.0.0-M13 org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.5.0 org.apache.maven.plugins maven-shade-plugin - 3.2.4 + 3.5.1 package @@ -161,7 +187,7 @@ + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> @@ -176,28 +202,30 @@ - + MIT https://github.com/hkarthik7/azure-devops-java-sdk/blob/main/LICENSE + scm:git:git://github.com/hkarthik7/azure-devops-java-sdk.git scm:git:ssh://github.com:hkarthik7/azure-devops-java-sdk.git https://github.com/hkarthik7/azure-devops-java-sdk/tree/main + - ossrh - https://oss.sonatype.org/content/repositories/snapshots + central + https://central.sonatype.com/ - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + central + https://central.sonatype.com/ \ No newline at end of file diff --git a/azd/src/test/java/org/azd/unittests/GitRequestBuilderTest.java b/azd/src/test/java/org/azd/unittests/GitRequestBuilderTest.java index f3c29ea1..f6cfa2ca 100644 --- a/azd/src/test/java/org/azd/unittests/GitRequestBuilderTest.java +++ b/azd/src/test/java/org/azd/unittests/GitRequestBuilderTest.java @@ -18,6 +18,7 @@ import org.azd.serviceclient.AzDServiceClient; import org.azd.wiki.types.GitVersionDescriptor; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import java.io.File; @@ -566,7 +567,7 @@ public void shouldGetGitPullRequestStatus() throws AzDException { client.git().pullRequest().statuses().get(repo.getId(), pr, status.getId()); } - @Test + @Ignore public void shouldDeleteGitPullRequestStatus() throws AzDException { var repo = client.git().repositories().get(testConfiguration.properties.git.repositoryName); var pullRequest = client.git().pullRequests().list(testConfiguration.properties.git.repositoryName) @@ -589,7 +590,7 @@ public void shouldDeleteGitPullRequestStatus() throws AzDException { client.git().pullRequest().statuses().delete(repo.getId(), pullRequest.getPullRequestId(), newStatus.getId()); } - @Test + @Ignore public void shouldUpdateGitPullRequestStatus() throws AzDException { var repo = client.git().repositories().get(testConfiguration.properties.git.repositoryName); var pullRequest = client.git().pullRequests().list(testConfiguration.properties.git.repositoryName)