Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a6abe86

Browse files
author
Jacek Gębal
committed
Update of libraries used by api
Update of java version Removal of test libraries from released artifact of utPLSQL-java-api
1 parent 3b745ed commit a6abe86

4 files changed

Lines changed: 30 additions & 23 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
7878

7979
- name: Publish unit test results
80-
uses: EnricoMi/publish-unit-test-result-action@v1.24
80+
uses: EnricoMi/publish-unit-test-result-action@v3.3.0
8181
if: always()
8282
with:
8383
files: target/**/TEST**.xml

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
- name: Install demo project
3939
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh
4040

41-
- name: Set up JDK 11
41+
- name: Set up JDK 21
4242
uses: actions/setup-java@v5
4343
with:
44-
java-version: '11'
45-
distribution: 'adopt'
44+
java-version: '21'
45+
distribution: 'temurin'
4646
server-id: central
4747
server-username: MAVEN_USERNAME
4848
server-password: MAVEN_PASSWORD
@@ -65,7 +65,7 @@ jobs:
6565
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
6666

6767
- name: Publish unit test results
68-
uses: EnricoMi/publish-unit-test-result-action@v1.24
68+
uses: EnricoMi/publish-unit-test-result-action@v3.3.0
6969
if: always()
7070
with:
7171
files: target/**/TEST**.xml

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
1818
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

pom.xml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
<groupId>org.utplsql</groupId>
66
<artifactId>utplsql-java-api</artifactId>
7-
<version>3.1.17-SNAPSHOT</version>
7+
<version>3.2.01-SNAPSHOT</version>
88

99
<name>utPLSQL Java API</name>
1010
<description>Java API for running Unit Tests with utPLSQL v3+.</description>
1111
<url>https://github.com/utPLSQL/utPLSQL-java-api</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<maven.compiler.source>1.8</maven.compiler.source>
16-
<maven.compiler.target>1.8</maven.compiler.target>
17-
<junit.jupiter.version>5.5.2</junit.jupiter.version>
18-
<oracle.jdbc.version>19.3.0.0</oracle.jdbc.version>
15+
<maven.compiler.source>11</maven.compiler.source>
16+
<maven.compiler.target>11</maven.compiler.target>
17+
<junit.jupiter.version>5.12.2</junit.jupiter.version>
18+
<oracle.jdbc.version>23.7.0.25.01</oracle.jdbc.version>
1919

2020
<sonar.organization>utplsql</sonar.organization>
2121
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
@@ -48,17 +48,17 @@
4848
<dependency>
4949
<groupId>org.slf4j</groupId>
5050
<artifactId>slf4j-api</artifactId>
51-
<version>1.7.36</version>
51+
<version>2.0.17</version>
5252
</dependency>
5353
<dependency>
5454
<groupId>com.oracle.database.jdbc</groupId>
55-
<artifactId>ojdbc8</artifactId>
56-
<version>19.3.0.0</version>
55+
<artifactId>ojdbc11</artifactId>
56+
<version>${oracle.jdbc.version}</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>com.oracle.database.nls</groupId>
6060
<artifactId>orai18n</artifactId>
61-
<version>19.3.0.0</version>
61+
<version>${oracle.jdbc.version}</version>
6262
</dependency>
6363
<dependency>
6464
<groupId>com.google.code.findbugs</groupId>
@@ -75,12 +75,14 @@
7575
<dependency>
7676
<groupId>org.hamcrest</groupId>
7777
<artifactId>hamcrest</artifactId>
78-
<version>2.1</version>
78+
<version>2.2</version>
79+
<scope>test</scope>
7980
</dependency>
8081
<dependency>
8182
<groupId>org.mockito</groupId>
8283
<artifactId>mockito-core</artifactId>
83-
<version>3.0.0</version>
84+
<version>5.17.0</version>
85+
<scope>test</scope>
8486
</dependency>
8587
</dependencies>
8688

@@ -92,10 +94,15 @@
9294
</resource>
9395
</resources>
9496
<plugins>
97+
<plugin>
98+
<groupId>org.apache.maven.plugins</groupId>
99+
<artifactId>maven-compiler-plugin</artifactId>
100+
<version>3.14.0</version>
101+
</plugin>
95102
<plugin>
96103
<groupId>org.apache.maven.plugins</groupId>
97104
<artifactId>maven-surefire-plugin</artifactId>
98-
<version>3.1.2</version>
105+
<version>3.5.3</version>
99106
</plugin>
100107
<plugin>
101108
<groupId>org.apache.maven.plugins</groupId>
@@ -112,7 +119,7 @@
112119
<plugin>
113120
<groupId>com.amashchenko.maven.plugin</groupId>
114121
<artifactId>gitflow-maven-plugin</artifactId>
115-
<version>1.18.0</version>
122+
<version>1.21.0</version>
116123
<configuration>
117124
<verbose>true</verbose>
118125
<gitFlowConfig>
@@ -131,7 +138,7 @@
131138
<plugin>
132139
<groupId>org.jacoco</groupId>
133140
<artifactId>jacoco-maven-plugin</artifactId>
134-
<version>0.8.7</version>
141+
<version>0.8.13</version>
135142
<executions>
136143
<execution>
137144
<id>prepare-agent</id>
@@ -162,7 +169,7 @@
162169
<plugin>
163170
<groupId>org.apache.maven.plugins</groupId>
164171
<artifactId>maven-javadoc-plugin</artifactId>
165-
<version>3.3.1</version>
172+
<version>3.11.2</version>
166173
<executions>
167174
<execution>
168175
<id>attach-javadocs</id>
@@ -175,7 +182,7 @@
175182
<plugin>
176183
<groupId>org.apache.maven.plugins</groupId>
177184
<artifactId>maven-source-plugin</artifactId>
178-
<version>3.2.1</version>
185+
<version>3.3.1</version>
179186
<executions>
180187
<execution>
181188
<id>attach-sources</id>
@@ -189,7 +196,7 @@
189196
<plugin>
190197
<groupId>org.apache.maven.plugins</groupId>
191198
<artifactId>maven-gpg-plugin</artifactId>
192-
<version>3.0.1</version>
199+
<version>3.2.7</version>
193200
<executions>
194201
<execution>
195202
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)