Skip to content

Commit a5daff5

Browse files
authored
Merge pull request #105 from contentstack/fix/DX-2237-maven-publish-workflow
fixes for spring framework version
2 parents a2d0cb6 + b827423 commit a5daff5

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/maven-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish package to the Maven Central Repository
22
on:
33
release:
4-
types: [ created ]
4+
types: [created]
55
jobs:
66
publish-maven:
77
runs-on: ubuntu-latest
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Maven Central Repository
1414
uses: actions/setup-java@v3
1515
with:
16-
java-version: '11'
16+
java-version: '17'
1717
distribution: 'adopt'
1818
server-id: ossrh
1919
server-username: MAVEN_USERNAME
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Java for publishing to GitHub Packages
3434
uses: actions/setup-java@v3
3535
with:
36-
java-version: '11'
36+
java-version: '17'
3737
distribution: 'adopt'
3838
server-id: github
3939
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

Changelog.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Changelog
22

33
A brief description of what changes project contains
4-
## Jan 20, 2025
4+
## Mar 17, 2025
55

6-
#### v1.2.13
6+
#### v1.2.15
77

88
- Fix: Snyk issues
9+
- Fix: Publish workflows
910

1011
## Oct 21, 2024
1112

pom.xml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.contentstack.sdk</groupId>
66
<artifactId>utils</artifactId>
7-
<version>1.2.13</version>
7+
<version>1.2.15</version>
88
<packaging>jar</packaging>
99
<name>Contentstack-utils</name>
1010
<description>Java Utils SDK for Contentstack Content Delivery API, Contentstack is a headless CMS</description>
@@ -28,7 +28,7 @@
2828
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
2929
<validation-version>2.0.1.Final</validation-version>
3030
<json-version>20250107</json-version>
31-
<spring-web-version>6.2.1</spring-web-version>
31+
<spring-web-version>6.2.2</spring-web-version>
3232
<org.apache.commons-text>1.13.0</org.apache.commons-text>
3333
</properties>
3434

@@ -125,7 +125,7 @@
125125
<plugin>
126126
<groupId>org.jacoco</groupId>
127127
<artifactId>jacoco-maven-plugin</artifactId>
128-
<version>0.8.5</version>
128+
<version>0.8.8</version>
129129
<executions>
130130
<execution>
131131
<goals>
@@ -193,7 +193,7 @@
193193
<additionalOptions>-Xdoclint:none</additionalOptions>
194194
<use>false</use>
195195
<use>false</use>
196-
<source>1.8</source>
196+
<source>17</source>
197197
<links>
198198
<link>http://docs.oracle.com/javase/8/docs/api/</link>
199199
<link>http://docs.oracle.com/javase/8/docs/api/</link>
@@ -242,9 +242,9 @@
242242
<plugin>
243243
<groupId>org.apache.maven.plugins</groupId>
244244
<artifactId>maven-compiler-plugin</artifactId>
245+
<version>3.10.1</version>
245246
<configuration>
246-
<source>1.8</source>
247-
<target>1.8</target>
247+
<release>17</release>
248248
<!-- <executable>${JAVA_HOME}/bin/javac</executable>-->
249249
</configuration>
250250
</plugin>

0 commit comments

Comments
 (0)