Skip to content

Commit dc95c4b

Browse files
authored
Merge pull request #2596 from IBMa/java-fail
fix(java): Release build failured due to sonatype updates
2 parents 187e003 + 5733870 commit dc95c4b

3 files changed

Lines changed: 20 additions & 20 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
working-directory: accessibility-checker/test-act-w3
5454
- run: gitactions/publish/achecker-engine.sh
5555
env:
56-
NPM_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
56+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
5757

5858
accessibility-checker-publish:
5959
runs-on: ubuntu-22.04
@@ -82,7 +82,7 @@ jobs:
8282
working-directory: accessibility-checker
8383
- run: gitactions/publish/achecker.sh
8484
env:
85-
NPM_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
85+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
8686

8787
karma-accessibility-checker-publish:
8888
runs-on: ubuntu-22.04
@@ -111,7 +111,7 @@ jobs:
111111
working-directory: karma-accessibility-checker
112112
- run: gitactions/publish/karma-achecker.sh
113113
env:
114-
NPM_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
114+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
115115

116116
cypress-accessibility-checker-publish:
117117
runs-on: ubuntu-22.04
@@ -142,7 +142,7 @@ jobs:
142142
working-directory: cypress-accessibility-checker
143143
- run: gitactions/publish/cypress-achecker.sh
144144
env:
145-
NPM_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
145+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
146146

147147
vitest-accessibility-checker-publish:
148148
runs-on: ubuntu-22.04
@@ -173,7 +173,7 @@ jobs:
173173
working-directory: vitest-accessibility-checker
174174
- run: gitactions/publish/vitest-achecker.sh
175175
env:
176-
NPM_TOKEN: ${{ env.NODE_AUTH_TOKEN }}
176+
NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
177177

178178
extension-build:
179179
runs-on: ubuntu-22.04

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ jobs:
382382
with:
383383
distribution: 'semeru' # See 'Supported distributions' for available options
384384
java-version: '17'
385-
- name: Chrome 147 (stable with Selenium 4.23.0)
385+
- name: Chrome 138 (stable with Selenium 4.34.0)
386386
uses: browser-actions/setup-chrome@v1
387387
with:
388-
chrome-version: 147
388+
chrome-version: 138
389389
install-chromedriver: true
390390
id: setup-chrome
391391
- name: Setup and start rule server
@@ -413,10 +413,10 @@ jobs:
413413
with:
414414
distribution: 'semeru' # See 'Supported distributions' for available options
415415
java-version: '17'
416-
- name: Chrome 147 (stable with Selenium 4.23.0)
416+
- name: Chrome 138 (stable with Selenium 4.34.0)
417417
uses: browser-actions/setup-chrome@v1
418418
with:
419-
chrome-version: 147
419+
chrome-version: 138
420420
install-chromedriver: true
421421
id: setup-chrome
422422
- name: Setup and start rule server

java-accessibility-checker/pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<dependency>
4040
<groupId>org.junit</groupId>
4141
<artifactId>junit-bom</artifactId>
42-
<version>5.11.0</version>
42+
<version>5.13.0</version>
4343
<type>pom</type>
4444
<scope>import</scope>
4545
</dependency>
@@ -75,21 +75,21 @@
7575
<dependency>
7676
<groupId>org.mozilla</groupId>
7777
<artifactId>rhino</artifactId>
78-
<version>1.7.14.1</version>
78+
<version>1.7.15</version>
7979
</dependency>
80-
<!-- Selenium 4.23.0 has built-in CDP support up to Chrome 127, but works with Chrome up to 147.
81-
Chrome 149+ causes CDP errors. Keep chrome-version in .github/workflows/test.yml at 147.
82-
When upgrading Selenium, test and update chrome-version accordingly. -->
80+
<!-- Selenium 4.34.0 has built-in CDP support up to Chrome 138. Selenium Manager handles
81+
chromedriver resolution automatically. Keep chrome-version in .github/workflows/test.yml
82+
in sync. When upgrading Selenium, test and update chrome-version accordingly. -->
8383
<dependency>
8484
<groupId>org.seleniumhq.selenium</groupId>
8585
<artifactId>selenium-java</artifactId>
86-
<version>4.23.0</version>
86+
<version>4.34.0</version>
8787
<scope>provided</scope>
8888
</dependency>
8989
<dependency>
9090
<groupId>com.microsoft.playwright</groupId>
9191
<artifactId>playwright</artifactId>
92-
<version>1.46.0</version>
92+
<version>1.52.0</version>
9393
<scope>provided</scope>
9494
</dependency>
9595
</dependencies>
@@ -108,7 +108,7 @@
108108
<plugin>
109109
<groupId>org.apache.maven.plugins</groupId>
110110
<artifactId>maven-source-plugin</artifactId>
111-
<version>2.2.1</version>
111+
<version>3.3.1</version>
112112
<executions>
113113
<execution>
114114
<id>attach-sources</id>
@@ -121,7 +121,7 @@
121121
<plugin>
122122
<groupId>org.apache.maven.plugins</groupId>
123123
<artifactId>maven-gpg-plugin</artifactId>
124-
<version>1.5</version>
124+
<version>3.2.7</version>
125125
<executions>
126126
<execution>
127127
<id>sign-artifacts</id>
@@ -142,7 +142,7 @@
142142
<plugin>
143143
<groupId>org.apache.maven.plugins</groupId>
144144
<artifactId>maven-javadoc-plugin</artifactId>
145-
<version>2.9.1</version>
145+
<version>3.11.2</version>
146146
<executions>
147147
<execution>
148148
<id>attach-javadocs</id>
@@ -155,7 +155,7 @@
155155
<plugin>
156156
<groupId>org.sonatype.central</groupId>
157157
<artifactId>central-publishing-maven-plugin</artifactId>
158-
<version>0.5.0</version>
158+
<version>0.6.0</version>
159159
<extensions>true</extensions>
160160
<configuration>
161161
<publishingServerId>central</publishingServerId>

0 commit comments

Comments
 (0)