You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a multimodule project with parent, common and app modules. app depends on common. All versions are 1.2.3-SNAPSHOT.
Remove all 1.2.3-SNAPSHOT artifacts from the local repo or upgrade to a new snapshot that is not present in local maven repo yet: mvn versions:set -DnewVersion=1.2.4-SNAPSHOT (I see this happening after releases).
Kill the daemon mvnd --stop
Try to build app cd app; mvnd compile It should fail, because common is not present in local repo
Rebuild the whole hierarchy: cd ..; mvnd clean install - success
Try to build the app module again: cd app; mvnd compile
EXPECTED: It should pass, because common is present in local repo
ACTUAL: Failed to execute goal on project app: Could not resolve dependencies for project app:1.2.3-SNAPSHOT: The following artifacts could not be resolved: common:jar:1.2.3-SNAPSHOT
Observation: App build succeeds when the daemon is restarted: mvnd --stop; cd app; mvnd compile
The text was updated successfully, but these errors were encountered:
Have a multimodule project with parent, common and app modules. app depends on common. All versions are 1.2.3-SNAPSHOT.
mvn versions:set -DnewVersion=1.2.4-SNAPSHOT
(I see this happening after releases).mvnd --stop
cd app; mvnd compile
It should fail, because common is not present in local repocd ..; mvnd clean install
- successcd app; mvnd compile
EXPECTED: It should pass, because common is present in local repo
ACTUAL:
Failed to execute goal on project app: Could not resolve dependencies for project app:1.2.3-SNAPSHOT: The following artifacts could not be resolved: common:jar:1.2.3-SNAPSHOT
Observation: App build succeeds when the daemon is restarted:
mvnd --stop; cd app; mvnd compile
The text was updated successfully, but these errors were encountered: