@nx/maven 22.1.0-rc.2 → 22.1.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import { Tree } from '@nx/devkit';
2
+ /**
3
+ * Migration for @nx/maven v0.0.10
4
+ * Updates the Maven plugin version to 0.0.10 in pom.xml files
5
+ */
6
+ export default function update(tree: Tree): Promise<void>;
7
+ //# sourceMappingURL=update-pom-xml-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-pom-xml-version.d.ts","sourceRoot":"","sources":["../../../src/migrations/0-0-10/update-pom-xml-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC;;;GAGG;AACH,wBAA8B,MAAM,CAAC,IAAI,EAAE,IAAI,iBAG9C"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = update;
4
+ const pom_xml_updater_1 = require("../../utils/pom-xml-updater");
5
+ /**
6
+ * Migration for @nx/maven v0.0.10
7
+ * Updates the Maven plugin version to 0.0.10 in pom.xml files
8
+ */
9
+ async function update(tree) {
10
+ // Update user pom.xml files
11
+ (0, pom_xml_updater_1.updateNxMavenPluginVersion)(tree, '0.0.10');
12
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/plugins/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAa,MAAM,YAAY,CAAC;AAE3E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAU9D;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,kBAAkB,CAiEzD,CAAC"}
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/plugins/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAa,MAAM,YAAY,CAAC;AAE3E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAU9D;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,kBAAkB,CAiFzD,CAAC"}
@@ -28,6 +28,16 @@ exports.createNodes = [
28
28
  if (!rootPomExists) {
29
29
  return [];
30
30
  }
31
+ // Vercel does not allow JAVA_VERSION to be set, skip on Vercel
32
+ if (process.env.VERCEL) {
33
+ console.error(`VERCEL environment detected, skipping maven plugin computation.`);
34
+ return [];
35
+ }
36
+ // Netlify only supports Java 8, skip on Netlify
37
+ if (process.env.NETLIFY) {
38
+ console.error(`NETLIFY environment detected, skipping maven plugin computation.`);
39
+ return [];
40
+ }
31
41
  // Get cache path based on options
32
42
  const optionsHash = (0, devkit_internals_1.hashObject)(opts);
33
43
  const cachePath = (0, maven_data_cache_1.getCachePath)(context.workspaceRoot, optionsHash);
@@ -1,3 +1,3 @@
1
1
  export declare const nxVersion: any;
2
- export declare const mavenPluginVersion = "0.0.9";
2
+ export declare const mavenPluginVersion = "0.0.10";
3
3
  //# sourceMappingURL=versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAC/D,eAAO,MAAM,kBAAkB,UAAU,CAAC"}
1
+ {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../src/utils/versions.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,KAAwC,CAAC;AAC/D,eAAO,MAAM,kBAAkB,WAAW,CAAC"}
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mavenPluginVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
- exports.mavenPluginVersion = '0.0.9';
5
+ exports.mavenPluginVersion = '0.0.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/maven",
3
- "version": "22.1.0-rc.2",
3
+ "version": "22.1.0-rc.4",
4
4
  "private": false,
5
5
  "description": "Nx plugin for Maven integration",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "author": "Victor Savkin",
46
46
  "license": "MIT",
47
47
  "dependencies": {
48
- "@nx/devkit": "22.1.0-rc.2",
48
+ "@nx/devkit": "22.1.0-rc.4",
49
49
  "@xmldom/xmldom": "^0.8.10",
50
50
  "tslib": "^2.3.0"
51
51
  },
@@ -55,7 +55,7 @@
55
55
  "@types/xmldom": "^0.1.34",
56
56
  "jest": "^30.0.2",
57
57
  "memfs": "^4.9.2",
58
- "nx": "22.1.0-rc.2",
58
+ "nx": "22.1.0-rc.4",
59
59
  "ts-jest": "^29.4.0",
60
60
  "typescript": "~5.9.2"
61
61
  },