Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 34 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,43 +1,51 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<project xmlns="http://maven.apache.org/POM/4.0.0"
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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ibm.cloud</groupId>
<artifactId>sdk-core</artifactId>
<packaging>jar</packaging>
<name>sdk-core</name>
<version>99-SNAPSHOT</version>
<description>Core functionality required by code generated by the IBM OpenAPI SDK Generator</description>
<description>Core functionality required by code generated by the IBM
OpenAPI SDK Generator</description>
<url>https://github.com/IBM/java-sdk-core</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<testng-version>7.8.0</testng-version>
<testng-slf4j-version>2.0.9</testng-slf4j-version>
<!--
To check if newer versions of dependencies are available, run:
mvn versions:display-dependency-updates
-->
<testng-version>7.10.2</testng-version>
<testng-slf4j-version>2.0.16</testng-slf4j-version>
<surefire-version>3.1.2</surefire-version>
<checkstyle-plugin-version>3.3.0</checkstyle-plugin-version>
<checkstyle-version>10.12.3</checkstyle-version>
<checkstyle-version>10.17.0</checkstyle-version>
<jacoco-plugin-version>0.8.10</jacoco-plugin-version>
<compiler-plugin-version>3.11.0</compiler-plugin-version>
<okhttp3-version>4.12.0</okhttp3-version>
<gson-version>2.10.1</gson-version>
<commons-codec-version>1.16.0</commons-codec-version>
<commons-io-version>2.14.0</commons-io-version>
<commons-lang3-version>3.13.0</commons-lang3-version>
<gson-version>2.11.0</gson-version>
<commons-codec-version>1.17.1</commons-codec-version>
<commons-io-version>2.16.1</commons-io-version>
<commons-lang3-version>3.16.0</commons-lang3-version>
<rx-version>2.2.21</rx-version>
<mockito-version>5.2.0</mockito-version>
<mockito-version>5.12.0</mockito-version>
<maven-deploy-plugin-version>3.1.1</maven-deploy-plugin-version>
<nexus-staging-plugin-version>1.6.13</nexus-staging-plugin-version>
<maven-gpg-plugin-version>3.1.0</maven-gpg-plugin-version>

<maven-enforcer-version>3.4.1</maven-enforcer-version>
<min-jdk-version>11</min-jdk-version>
<min-maven-version>3.5.0</min-maven-version>

<java-source-version>1.8</java-source-version>
<java-target-version>1.8</java-target-version>

<!-- versions of transitive dependencies we need to override to avoid vulnerability alerts -->
<!-- versions of transitive dependencies we need to override to avoid
vulnerability alerts -->
<junit-version>4.13.2</junit-version>
<kotlin-version>1.9.10</kotlin-version>
<kotlin-version>1.9.25</kotlin-version>

<!-- This property should be empty by default. -->
<surefireJvmArgs></surefireJvmArgs>
Expand Down Expand Up @@ -156,20 +164,20 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito-version}</version>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin-version}</version>
</dependency>
<dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin-version}</version>
</dependency>
</dependencies>
</dependencies>

<build>
<plugins>
Expand All @@ -187,11 +195,13 @@
<rules>
<requireMavenVersion>
<version>${min-maven-version}</version>
<message>Apache Maven ${min-maven-version}+ is required to build this project.</message>
<message>Apache Maven ${min-maven-version}+
is required to build this project.</message>
</requireMavenVersion>
<requireJavaVersion>
<version>${min-jdk-version}</version>
<message>Java ${min-jdk-version}+ is required to build this project.</message>
<message>Java ${min-jdk-version}+ is
required to build this project.</message>
</requireJavaVersion>
</rules>
</configuration>
Expand Down Expand Up @@ -346,9 +356,11 @@
<!-- We don't deploy snapshot releases -->
</snapshotRepository>
<repository>
<!-- This is where the nexus staging plugin will publish artifacts -->
<!-- This is where the nexus staging plugin will publish
artifacts -->
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

Expand Down Expand Up @@ -390,7 +402,8 @@
</plugins>
</build>
<properties>
<!-- Configure the gpg plugin to use the env vars defined in the Travis build settings -->
<!-- Configure the gpg plugin to use the env vars defined in the
Travis build settings -->
<gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
Expand Down