Skip to content

Conversation

@MaxKless
Copy link
Collaborator

@MaxKless MaxKless commented Nov 7, 2025

Current Behavior

there is an install target calling ./mvnw directly

Expected Behavior

we use the @nx/maven plugin for generating maven targets

@MaxKless MaxKless requested review from a team, FrozenPandaz and vsavkin as code owners November 7, 2025 16:14
@vercel
Copy link

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Nov 26, 2025 9:36am

@netlify
Copy link

netlify bot commented Nov 7, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit a97e635
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/6926c8cd0bb2220008304625
😎 Deploy Preview https://deploy-preview-33412--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Contributor

nx-cloud bot commented Nov 7, 2025

View your CI Pipeline Execution ↗ for commit 4d25475

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ❌ Failed 33m 11s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 44s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 11s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-25 13:16:49 UTC

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

pnpm-lock.yaml Outdated
Comment on lines 595 to 597
'@nx/maven':
specifier: 22.1.0-rc.2
version: 22.1.0-rc.2([email protected](@swc-node/[email protected](@swc/[email protected](@swc/[email protected]))(@swc/[email protected])([email protected]))(@swc/[email protected](@swc/[email protected])))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version mismatch detected: package.json specifies @nx/maven: 22.1.0-rc.3 but pnpm-lock.yaml has locked version 22.1.0-rc.2. This mismatch will cause the wrong version to be installed.

# Fix by running:
pnpm install
# This will update the lockfile to match package.json

The lockfile must be regenerated to match the version specified in package.json to ensure consistent installations across environments.

Spotted by Graphite Agent

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

Comment on lines 95 to 97
- name: Show project graph
run: npx nx show project nx-maven-plugin | jq .targets.test

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for sure once debugging is done I'll remove it 👍

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

nx-cloud[bot]

This comment was marked as outdated.

Copy link
Contributor

@nx-cloud nx-cloud bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud is proposing a fix for your failed CI:

These changes fix the Maven plugin resolution error by enabling installation of the parent POM (dev.nx:nx-parent:pom:0.0.10) to the local Maven repository. When the e2e tests initialize @nx/maven, Maven needs to resolve the parent POM that the maven-plugin references, and with maven.install.skip=false, the parent POM will now be available in the local repository instead of failing with "artifact not found" errors.

diff --git a/pom.xml b/pom.xml
index 60d8dd088b..852bf6c8ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,7 +41,7 @@
   <properties>
     <!-- Skip deploying parent POM -->
     <maven.deploy.skip>true</maven.deploy.skip>
-    <maven.install.skip>true</maven.install.skip>
+    <maven.install.skip>false</maven.install.skip>
     <maven.gpg.skip>true</maven.gpg.skip>
 
     <!-- Build Properties -->

Apply fix via Nx Cloud  Reject fix via Nx Cloud


Or Apply changes locally with:

npx nx-cloud apply-locally 5cj7-BKeu

Apply fix locally with your editor ↗   View interactive diff ↗


🎓 Learn more about Self-Healing CI on nx.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants