From 458e57dbcce8dd05b7593bffc1c4349b3ecc2310 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 12:45:36 +0100 Subject: [PATCH 01/14] ci: setup --- .github/workflows/publish.yml | 49 +++++++++++++++++++++++++++++++++++ pom.xml | 23 +++++++++------- 2 files changed, 63 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..bf848810 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,49 @@ +name: Publish to Maven Central + +on: + release: + types: [created] + workflow_dispatch: + inputs: + version: + description: 'Version to publish' + required: false + +jobs: + publish: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up JDK 8 + uses: actions/setup-java@v4 + with: + java-version: '8' + distribution: 'zulu' + cache: 'maven' + server-id: central + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.SIGNING_KEY }} + gpg-passphrase: SIGNING_PASSWORD + + - name: Set version (if provided) + if: github.event.inputs.version != '' + run: | + mvn versions:set -DnewVersion=${{ github.event.inputs.version }} -DgenerateBackupPoms=false + + - name: Build and publish + env: + MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} + run: | + mvn clean deploy -P release \ + --no-transfer-progress \ + --batch-mode \ +# -DskipTests \ +# -Dgpg.keyname=${{ secrets.SIGNING_KEY_ID }} \ +# -Dgpg.passphrase=${{ secrets.SIGNING_PASSWORD }} \ +# -Dgpg.pinentry-mode=loopback \ \ No newline at end of file diff --git a/pom.xml b/pom.xml index 3d8fb065..45f48f5c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,12 @@ 4.0.0 - io.socket + io.github.robinpcrd socket.io-client 2.2.0-SNAPSHOT jar socket.io-client - Socket.IO Client Library for Java - https://github.com/socketio/socket.io-client-java + Socket.IO Client Library for Java (Fork) + https://github.com/RobinPcrd/socket.io-client-java org.sonatype.oss @@ -27,9 +27,9 @@ - https://github.com/socketio/socket.io-client-java - scm:git:https://github.com/socketio/socket.io-client-java.git - scm:git:https://github.com/socketio/socket.io-client-java.git + https://github.com/RobinPcrd/socket.io-client-java + scm:git:https://github.com/RobinPcrd/socket.io-client-java.git + scm:git:https://github.com/RobinPcrd/socket.io-client-java.git HEAD @@ -39,6 +39,11 @@ Naoyuki Kanezawa naoyuki.kanezawa@gmail.com + + robinpcrd + Robin Picard + robin.picard.dev@gmail.com + @@ -55,7 +60,7 @@ - 3.0.4 + 3.6.3 @@ -92,11 +97,11 @@ ossrh - https://oss.sonatype.org/content/repositories/snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ From 81bd555afa2668804cc07ffdd855233870c6b4d3 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 12:56:51 +0100 Subject: [PATCH 02/14] ci: setup --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bf848810..79693fd4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,9 @@ name: Publish to Maven Central on: + push: + branches: + - ci-setup release: types: [created] workflow_dispatch: From 9c36e7775b976e93f36099dbf6f13eab0f70d7b5 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 13:34:25 +0100 Subject: [PATCH 03/14] fix(ci): attempt to fix unit test --- .github/workflows/ci.yml | 2 +- src/test/resources/server.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8531e775..541a6728 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,4 +45,4 @@ jobs: node-version: 14.x - name: Run the Maven verify phase - run: mvn verify -Dgpg.skip=true + run: mvn verify -Dgpg.skip=true --no-transfer-progress diff --git a/src/test/resources/server.js b/src/test/resources/server.js index 333c5dfd..ec3eae5c 100644 --- a/src/test/resources/server.js +++ b/src/test/resources/server.js @@ -25,7 +25,8 @@ var slice = Array.prototype.slice; // Disable recovery on demand io.use((socket, next) => { if (socket.handshake.auth?.noRecovery === true) { - socket.handshake.auth._pid = 'invalid-' + Date.now(); + console.log(socket.handshake.auth); + socket.handshake.auth.pid = 'invalid-' + Date.now(); } next(); }); From ffa8be462463e443bb3267f2428ee2dd82bf8cf1 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 13:52:58 +0100 Subject: [PATCH 04/14] fix(ci): attempt to fix ci --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 45f48f5c..5cc405b8 100644 --- a/pom.xml +++ b/pom.xml @@ -243,8 +243,8 @@ - 1.8 - 1.8 + 1.7 + 1.7 -Xlint:unchecked From b68d5376539b2e44fdf0a983472b0da13f6c5672 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 13:55:27 +0100 Subject: [PATCH 05/14] fix(ci): attempt to fix ci --- .github/workflows/ci.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 541a6728..004293ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,19 +18,25 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Install Maven 3.8.x (instead of 3.9.x) - run: | - MAVEN_VERSION=3.8.9 - wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz - tar xzvf apache-maven-$MAVEN_VERSION-bin.tar.gz - sudo mv apache-maven-$MAVEN_VERSION /opt/maven - sudo rm -f /usr/bin/mvn # Remove existing symbolic link if it exists - sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn # Create new symbolic link - +# - name: Install Maven 3.8.x (instead of 3.9.x) +# run: | +# MAVEN_VERSION=3.8.9 +# wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz +# tar xzvf apache-maven-$MAVEN_VERSION-bin.tar.gz +# sudo mv apache-maven-$MAVEN_VERSION /opt/maven +# sudo rm -f /usr/bin/mvn # Remove existing symbolic link if it exists +# sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn # Create new symbolic link + +# - name: Setup java +# uses: actions/setup-java@v1 +# with: +# java-version: ${{ matrix.java }} - name: Setup java - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} + distribution: 'zulu' + cache: 'maven' - name: Cache Maven packages uses: actions/cache@v4 From ad70798e5ad4cc274e456f350337243f96495699 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 13:57:44 +0100 Subject: [PATCH 06/14] fix(ci): attempt to fix ci --- .github/workflows/ci.yml | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 004293ce..635594d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - java: [7, 8, 11] + java: [8, 11] steps: - uses: actions/checkout@v2 diff --git a/pom.xml b/pom.xml index 5cc405b8..45f48f5c 100644 --- a/pom.xml +++ b/pom.xml @@ -243,8 +243,8 @@ - 1.7 - 1.7 + 1.8 + 1.8 -Xlint:unchecked From 59e19f9debb56c922dd7f684a58d502a191ae3b7 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 14:14:45 +0100 Subject: [PATCH 07/14] fix(ci): attempt to fix ci --- src/test/resources/server.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/resources/server.js b/src/test/resources/server.js index ec3eae5c..1e78e3be 100644 --- a/src/test/resources/server.js +++ b/src/test/resources/server.js @@ -25,8 +25,9 @@ var slice = Array.prototype.slice; // Disable recovery on demand io.use((socket, next) => { if (socket.handshake.auth?.noRecovery === true) { - console.log(socket.handshake.auth); - socket.handshake.auth.pid = 'invalid-' + Date.now(); + console.log('Disabling recovery for socket', socket.id); + //socket.conn.id = 'no-recovery-' + Date.now(); + socket.conn.recovered = false; } next(); }); From ba0ef20bb1b87576a22fab3bf4ace466d1662a5d Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 15:27:14 +0100 Subject: [PATCH 08/14] fix(ci): attempt to fix ci --- .../java/io/socket/client/Connection.java | 111 ++++++++++++------ .../java/io/socket/client/SocketTest.java | 7 +- .../client/executions/ConnectionFailure.java | 3 +- src/test/resources/server.js | 10 -- src/test/resources/server_no_recovery.js | 31 +++++ 5 files changed, 106 insertions(+), 56 deletions(-) create mode 100644 src/test/resources/server_no_recovery.js diff --git a/src/test/java/io/socket/client/Connection.java b/src/test/java/io/socket/client/Connection.java index 7d7fd4ca..f270a31b 100644 --- a/src/test/java/io/socket/client/Connection.java +++ b/src/test/java/io/socket/client/Connection.java @@ -18,61 +18,88 @@ public abstract class Connection { final static int TIMEOUT = 7_000; final static int PORT = 3000; + final static int NO_RECOVERY_PORT = 3001; private Process serverProcess; + private Process noRecoveryServerProcess; private ExecutorService serverService; - private Future serverOutput; - private Future serverError; + private Future serverOutput; + private Future serverError; + private Future noRecoveryServerOutput; + private Future noRecoveryServerError; @Before public void startServer() throws IOException, InterruptedException { - logger.fine("Starting server ..."); + logger.fine("Starting servers..."); + // Start main server final CountDownLatch latch = new CountDownLatch(1); - serverProcess = Runtime.getRuntime().exec( - String.format("node src/test/resources/server.js %s", nsp()), createEnv()); + serverProcess = startServerProcess("node src/test/resources/server.js %s", PORT); serverService = Executors.newCachedThreadPool(); - serverOutput = serverService.submit(new Runnable() { - @Override - public void run() { - BufferedReader reader = new BufferedReader( - new InputStreamReader(serverProcess.getInputStream())); - String line; - try { - line = reader.readLine(); - latch.countDown(); - do { - logger.fine("SERVER OUT: " + line); - } while ((line = reader.readLine()) != null); - } catch (IOException e) { - logger.warning(e.getMessage()); - } + serverOutput = startServerOutput(serverProcess, "MAIN", latch); + serverError = startServerError(serverProcess, "MAIN"); + + // Start no-recovery server + final CountDownLatch noRecoveryLatch = new CountDownLatch(1); + noRecoveryServerProcess = startServerProcess("node src/test/resources/server_no_recovery.js %s", NO_RECOVERY_PORT); + noRecoveryServerOutput = startServerOutput(noRecoveryServerProcess, "NO_RECOVERY", noRecoveryLatch); + noRecoveryServerError = startServerError(noRecoveryServerProcess, "NO_RECOVERY"); + + // Wait for both servers to start + latch.await(3000, TimeUnit.MILLISECONDS); + noRecoveryLatch.await(3000, TimeUnit.MILLISECONDS); + } + + private Process startServerProcess(String script, int port) throws IOException { + return Runtime.getRuntime().exec(String.format(script, nsp()), createEnv(port)); + } + + private Future startServerOutput(Process process, String serverName, CountDownLatch latch) { + return serverService.submit(() -> { + BufferedReader reader = new BufferedReader( + new InputStreamReader(process.getInputStream())); + String line; + try { + line = reader.readLine(); + latch.countDown(); + do { + logger.fine(serverName + " SERVER OUT: " + line); + } while ((line = reader.readLine()) != null); + } catch (IOException e) { + logger.warning(e.getMessage()); } }); - serverError = serverService.submit(new Runnable() { - @Override - public void run() { - BufferedReader reader = new BufferedReader( - new InputStreamReader(serverProcess.getErrorStream())); - String line; - try { - while ((line = reader.readLine()) != null) { - logger.fine("SERVER ERR: " + line); - } - } catch (IOException e) { - logger.warning(e.getMessage()); + } + + private Future startServerError(Process process, String serverName) { + return serverService.submit(() -> { + BufferedReader reader = new BufferedReader( + new InputStreamReader(process.getErrorStream())); + String line; + try { + while ((line = reader.readLine()) != null) { + logger.fine(serverName + " SERVER ERR: " + line); } + } catch (IOException e) { + logger.warning(e.getMessage()); } }); - latch.await(3000, TimeUnit.MILLISECONDS); } @After public void stopServer() throws InterruptedException { - logger.fine("Stopping server ..."); + logger.fine("Stopping servers..."); + + // Stop main server serverProcess.destroy(); serverOutput.cancel(false); serverError.cancel(false); + + // Stop no-recovery server + noRecoveryServerProcess.destroy(); + noRecoveryServerOutput.cancel(false); + noRecoveryServerError.cancel(false); + serverService.shutdown(); serverService.awaitTermination(3000, TimeUnit.MILLISECONDS); } @@ -90,11 +117,16 @@ Socket client(IO.Options opts) { } Socket client(String path, IO.Options opts) { - return IO.socket(URI.create(uri() + path), opts); + int port = opts.port != -1 ? opts.port : PORT; + return IO.socket(URI.create(uri(port) + path), opts); } URI uri() { - return URI.create("http://localhost:" + PORT); + return uri(PORT); + } + + URI uri(int port) { + return URI.create("http://localhost:" + port); } String nsp() { @@ -108,9 +140,13 @@ IO.Options createOptions() { } String[] createEnv() { + return createEnv(PORT); + } + + String[] createEnv(int port) { Map env = new HashMap<>(System.getenv()); env.put("DEBUG", "socket.io:*"); - env.put("PORT", String.valueOf(PORT)); + env.put("PORT", String.valueOf(port)); String[] _env = new String[env.size()]; int i = 0; for (String key : env.keySet()) { @@ -118,6 +154,5 @@ String[] createEnv() { i++; } return _env; - } } diff --git a/src/test/java/io/socket/client/SocketTest.java b/src/test/java/io/socket/client/SocketTest.java index 210e5f81..88bd141f 100644 --- a/src/test/java/io/socket/client/SocketTest.java +++ b/src/test/java/io/socket/client/SocketTest.java @@ -117,12 +117,7 @@ public void shouldChangeSocketIdUponReconnection() throws InterruptedException { IO.Options opts = createOptions(); opts.forceNew = true; - try { - JSONObject auth = new JSONObject(); - auth.put("noRecovery", true); - opts.auth = auth; - } catch (JSONException ignored) { - } + opts.port = Connection.NO_RECOVERY_PORT; socket = client(opts); socket.once(Socket.EVENT_CONNECT, new Emitter.Listener() { diff --git a/src/test/java/io/socket/client/executions/ConnectionFailure.java b/src/test/java/io/socket/client/executions/ConnectionFailure.java index a4feb267..e818c3cf 100644 --- a/src/test/java/io/socket/client/executions/ConnectionFailure.java +++ b/src/test/java/io/socket/client/executions/ConnectionFailure.java @@ -10,8 +10,7 @@ public class ConnectionFailure { public static void main(String[] args) throws URISyntaxException { - int port = Integer.parseInt(System.getenv("PORT")); - port++; + int port = 60_000; IO.Options options = new IO.Options(); options.forceNew = true; options.reconnection = false; diff --git a/src/test/resources/server.js b/src/test/resources/server.js index 1e78e3be..cfad86fb 100644 --- a/src/test/resources/server.js +++ b/src/test/resources/server.js @@ -22,16 +22,6 @@ var port = process.env.PORT || 3000; var nsp = process.argv[2] || '/'; var slice = Array.prototype.slice; -// Disable recovery on demand -io.use((socket, next) => { - if (socket.handshake.auth?.noRecovery === true) { - console.log('Disabling recovery for socket', socket.id); - //socket.conn.id = 'no-recovery-' + Date.now(); - socket.conn.recovered = false; - } - next(); -}); - const fooNsp = io.of('/foo'); fooNsp.on('connection', (socket) => { diff --git a/src/test/resources/server_no_recovery.js b/src/test/resources/server_no_recovery.js new file mode 100644 index 00000000..4262eeb8 --- /dev/null +++ b/src/test/resources/server_no_recovery.js @@ -0,0 +1,31 @@ +var fs = require('fs'); + +var server; +if (process.env.SSL) { + server = require('https').createServer({ + key: fs.readFileSync(__dirname + '/key.pem'), + cert: fs.readFileSync(__dirname + '/cert.pem') + }); +} else { + server = require('http').createServer(); +} + +// Create server without connection state recovery +var io = require('socket.io')(server, { + pingInterval: 2000 +}); + +var port = process.env.PORT || 3001; // Different port to avoid conflicts +var nsp = process.argv[2] || '/'; + +server.listen(port, () => { + console.log(`Test server without recovery running on port ${port}`); +}); + +io.of(nsp).on('connection', (socket) => { + console.log(`New connection: ${socket.id}`); + + socket.on('disconnect', () => { + console.log(`Client disconnected: ${socket.id}`); + }); +}); \ No newline at end of file From f4ab34be5e5b551a434e0b3fd4373bdcaf383f5a Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 15:38:02 +0100 Subject: [PATCH 09/14] fix(ci): attempt to fix ci --- pom.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 45f48f5c..8870dc19 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,5 @@ - + 4.0.0 io.github.robinpcrd socket.io-client @@ -134,6 +135,12 @@ + + + --pinentry-mode + loopback + + org.apache.maven.plugins From 6ee57d9375ece68ef769ef8e5a8b459fb7888470 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 15:46:47 +0100 Subject: [PATCH 10/14] fix(ci): attempt to fix ci --- .github/workflows/publish.yml | 2 +- pom.xml | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 79693fd4..8c621dc4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,7 +43,7 @@ jobs: MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} run: | - mvn clean deploy -P release \ + mvn clean deploy \ --no-transfer-progress \ --batch-mode \ # -DskipTests \ diff --git a/pom.xml b/pom.xml index 8870dc19..9b377528 100644 --- a/pom.xml +++ b/pom.xml @@ -97,11 +97,11 @@ - ossrh + central https://s01.oss.sonatype.org/content/repositories/snapshots - ossrh + central https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ @@ -179,17 +179,19 @@ deploy + org.codehaus.mojo exec-maven-plugin From fbcf53e717d4bd367edbc96349a3d702a7807802 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 15:55:44 +0100 Subject: [PATCH 11/14] fix(ci): attempt to fix ci --- pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9b377528..e4034d2d 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.github.robinpcrd socket.io-client - 2.2.0-SNAPSHOT + 2.2.0 jar socket.io-client Socket.IO Client Library for Java (Fork) @@ -96,10 +96,12 @@ + central https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ From 44d3f3d4d8cb1a2796bd24a2ceb98d6d1ff2de66 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 16:03:59 +0100 Subject: [PATCH 12/14] fix(ci): attempt to fix ci --- pom.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e4034d2d..4f352a2b 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,7 @@ + + @@ -95,18 +99,18 @@ + central https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + --> From 44940989f35f727581fffbf3b01389d1354f3134 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 16:11:07 +0100 Subject: [PATCH 13/14] fix(ci): attempt to fix ci --- .github/workflows/publish.yml | 2 +- pom.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8c621dc4..4b5e2319 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,7 @@ jobs: mvn clean deploy \ --no-transfer-progress \ --batch-mode \ -# -DskipTests \ + -DskipTests \ # -Dgpg.keyname=${{ secrets.SIGNING_KEY_ID }} \ # -Dgpg.passphrase=${{ secrets.SIGNING_PASSWORD }} \ # -Dgpg.pinentry-mode=loopback \ \ No newline at end of file diff --git a/pom.xml b/pom.xml index 4f352a2b..26e722b4 100644 --- a/pom.xml +++ b/pom.xml @@ -9,11 +9,13 @@ Socket.IO Client Library for Java (Fork) https://github.com/RobinPcrd/socket.io-client-java + github @@ -267,6 +269,17 @@ true + + org.sonatype.central + central-publishing-maven-plugin + 0.6.0 + true + + central + true + uploaded + + From 6c5e396ddf6c0288dfb57357b7804026c430e139 Mon Sep 17 00:00:00 2001 From: RobinPcrd Date: Thu, 4 Dec 2025 16:20:10 +0100 Subject: [PATCH 14/14] ci: ok --- .github/workflows/publish.yml | 5 +---- pom.xml | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4b5e2319..0097e79a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,6 @@ name: Publish to Maven Central on: - push: - branches: - - ci-setup release: types: [created] workflow_dispatch: @@ -46,7 +43,7 @@ jobs: mvn clean deploy \ --no-transfer-progress \ --batch-mode \ - -DskipTests \ +# -DskipTests \ # -Dgpg.keyname=${{ secrets.SIGNING_KEY_ID }} \ # -Dgpg.passphrase=${{ secrets.SIGNING_PASSWORD }} \ # -Dgpg.pinentry-mode=loopback \ \ No newline at end of file diff --git a/pom.xml b/pom.xml index 26e722b4..3527a89d 100644 --- a/pom.xml +++ b/pom.xml @@ -64,11 +64,9 @@ --> -