Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
651801c
Minor tweaks to rectify scraping tables and definitions
hkarthik7 Jun 3, 2025
96d9c14
Updated URL
hkarthik7 Jun 3, 2025
e6f1ec0
Initial commit
hkarthik7 Jun 3, 2025
9b6e494
Minor updates
hkarthik7 Jun 3, 2025
e25029d
Initial commit
hkarthik7 Jun 3, 2025
d02e5a1
Updated CHANGELOG
hkarthik7 Sep 24, 2025
58c36aa
Merge branch 'main' of https://github.com/hkarthik7/azure-devops-java…
hkarthik7 Sep 24, 2025
bdb3674
Merge branch 'main' into feature/v6.1.3
hkarthik7 Sep 24, 2025
e6dd7ec
Bumped to version `6.0.4`
hkarthik7 Sep 24, 2025
23eb539
Fixed null point exception for TFS
hkarthik7 Sep 24, 2025
ee48efb
Added check for resource id
hkarthik7 Sep 24, 2025
d5e273f
Negotiate Api version for on-prem
hkarthik7 Sep 24, 2025
6519364
Modularised pipelines as templates
hkarthik7 Sep 24, 2025
7486a2d
Updated README.md
hkarthik7 Sep 24, 2025
2fcddfb
Bumped version to `6.1.3`
hkarthik7 Sep 24, 2025
e947e3e
Fixed pull request status tests
hkarthik7 Sep 24, 2025
821c030
Fixed location id
hkarthik7 Sep 24, 2025
6bf9420
Updated azure-pipelines.yml
hkarthik7 Sep 24, 2025
c413607
Updated tests
hkarthik7 Oct 3, 2025
763ce80
Updated pom.xml
hkarthik7 Oct 3, 2025
91a31c3
Updated pom.xml
hkarthik7 Oct 3, 2025
303843f
Merge branch 'main' of https://github.com/hkarthik7/azure-devops-java…
hkarthik7 Oct 3, 2025
2737d79
Merged changes
hkarthik7 Oct 3, 2025
9f4afd7
Merge branch 'main' into feature/v6.1.3
hkarthik7 Oct 3, 2025
6b05ea7
Merged changes
hkarthik7 Oct 3, 2025
8dba29e
Updated CHANGELOG.md
hkarthik7 Oct 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 54 additions & 26 deletions azd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson.version>2.19.0</jackson.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -52,26 +54,22 @@
</dependencies>

<build>
<!-- <finalName>azd-${project.version}</finalName>-->
<!-- <pluginManagement>-->
<plugins>
<!-- clean lifecycle, see
https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<!-- clean lifecycle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<version>3.3.2</version>
</plugin>
<!-- default lifecycle, jar packaging: see
https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<!-- default lifecycle, jar packaging -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<configuration>
<source>11</source>
<target>11</target>
Expand All @@ -80,31 +78,41 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<version>3.2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<version>3.3.0</version>
</plugin>
<!-- GPG plugin for signing artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
</configuration>
</execution>
</executions>
</plugin>
<!-- Source plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -114,10 +122,11 @@
</execution>
</executions>
</plugin>
<!-- Javadoc plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand All @@ -126,32 +135,49 @@
</goals>
</execution>
</executions>
<configuration>
<!-- Ignore missing @param, @return, etc. -->
<doclint>none</doclint>
<source>11</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<version>3.1.1</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<!-- Nexus Staging Plugin for Maven Central -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.9.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- <tokenAuth>true</tokenAuth>-->
<!-- <autoPublish>true</autoPublish>-->
</configuration>
</plugin>
<!-- site lifecycle -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
<version>4.0.0-M13</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -161,7 +187,7 @@
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
</transformer>
</transformers>
<artifactSet>
Expand All @@ -176,28 +202,30 @@
</executions>
</plugin>
</plugins>
<!-- </pluginManagement>-->
</build>

<licenses>
<license>
<name>MIT</name>
<url>https://github.com/hkarthik7/azure-devops-java-sdk/blob/main/LICENSE</url>
</license>
</licenses>

<scm>
<connection>scm:git:git://github.com/hkarthik7/azure-devops-java-sdk.git</connection>
<developerConnection>scm:git:ssh://github.com:hkarthik7/azure-devops-java-sdk.git</developerConnection>
<url>https://github.com/hkarthik7/azure-devops-java-sdk/tree/main</url>
</scm>

<!-- Updated for new Maven Central publishing -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<id>central</id>
<url>https://central.sonatype.com/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<id>central</id>
<url>https://central.sonatype.com/</url>
</repository>
</distributionManagement>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down
Loading