Open
Description
Plugin Name
@nxrocks/nx-spring-boot
Nx Report
NX Report complete - copy this into the issue template
Node : 18.17.0
OS : darwin-arm64
pnpm : 8.15.3
nx : 18.0.4
@nx/js : 18.0.4
@nx/jest : 18.0.4
@nx/linter : 18.0.4
@nx/eslint : 18.0.4
@nx/workspace : 18.0.4
@nx/cypress : 18.0.4
@nx/devkit : 18.0.4
@nx/eslint-plugin : 18.0.4
@nx/react : 18.0.4
@nx/storybook : 18.0.4
@nrwl/tao : 18.0.4
@nx/vite : 18.0.4
@nx/web : 18.0.4
typescript : 5.1.6
Community plugins:
@koliveira15/nx-sonarqube : 3.5.1
@nx-tools/nx-container : 5.2.0
@nxrocks/nx-spring-boot : 9.2.2
Expected Behaviour
Cached projects should be restored to both "target" folder and the ~/.m2/repository folder
Actual Behaviour
when building the project for the first time or with --skip-nx-cache
it all works fine, mvn install
works, and both the target and the ~/.m2/repository folder has the artifacts.
but when the project is restored from the cache, only the "target" folder is restored making other project that depend on this one to not find the jar and fail
Steps to reproduce the behaviour
nx run back-ends-infra-infra.core:install
rm -rf ~/.m2/repository/...
rm -rf .target
nx run back-ends-infra-infra.core:install
Metadata
Metadata
Assignees
Labels
No labels