From df7e2f07d656346eeb7767c2303e1a20658183f8 Mon Sep 17 00:00:00 2001 From: Sufiyan Date: Fri, 19 Jul 2024 21:25:30 +0530 Subject: [PATCH] Upgrade Specmatic version to 2.0.0 - Update Specmatic Executable to 2.0.0 - Change maven URL to `io/specmatic`. --- package.json | 2 +- src/downloadSpecmaticJar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1b7c955..e2e2027 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "specmatic", "version": "0.0.1", - "specmaticVersion": "1.3.38", + "specmaticVersion": "2.0.0", "description": "Node wrapper for Specmatic", "main": "dist/index.js", "scripts": { diff --git a/src/downloadSpecmaticJar.js b/src/downloadSpecmaticJar.js index c5e6dc3..c830ce5 100644 --- a/src/downloadSpecmaticJar.js +++ b/src/downloadSpecmaticJar.js @@ -4,7 +4,7 @@ const path = require('path'); const packageJson = require('../package.json'); // Import the package.json file const specmaticVersion = packageJson.specmaticVersion; -const jarUrl = `https://repo1.maven.org/maven2/in/specmatic/specmatic-executable/${specmaticVersion}/specmatic-executable-${specmaticVersion}-all.jar`; +const jarUrl = `https://repo1.maven.org/maven2/io/specmatic/specmatic-executable/${specmaticVersion}/specmatic-executable-${specmaticVersion}-all.jar`; const jarFilename = 'specmatic.jar'; // Specify the desired filename for the JAR const downloadPath = path.resolve(__dirname, '..', jarFilename);