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
My project is setup in the following way (simplifying a bit):
A (Super/Aggregator POM)
-- B (Aggregator POM)
---- D (eclipe-plugin)
---- E (eclipe-plugin)
---- F (eclipe-plugin)
-- C (Aggregator POM)
---- G (eclipe-plugin)
---- H (eclipe-plugin)
I have a plugin goal bound to the initialize phase, which goes through dependencies and copy some files using the Dependencies Plugin.
Now, invoking mvn clean compile at the root (A), I see that everything runs fine. The reactor summary is ok.
However, invoking mvn clean initialize, as I don't really need compilation, fails with
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:09 min
[INFO] Finished at: 2022-08-31T09:58:14+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project E: Could not resolve dependencies for project E:eclipse-plugin:15.1.0-SNAPSHOT: Failure to find D:jar:15.1.0-SNAPSHOT in https://my-nexus-repo/zeus was cached in the local repository, resolution will not be reattempted until the update interval of zeus has elapsed or updates are forced -> [Help 1]
Both E (which depends on D) and D are correctly shown in the Reactor summary
[INFO] Reactor Summary:
[INFO]
[INFO] A 15.1.0-SNAPSHOT SUCCESS [ 2.012 s]
[INFO] B 15.1.0-SNAPSHOT SUCCESS [ 0.033 s]
[INFO] D 15.1.0-SNAPSHOT SUCCESS [ 0.452 s]
[INFO] E 15.1.0-SNAPSHOT FAILURE [ 0.048 s]
[INFO] F 15.1.0-SNAPSHOT SKIPPED
Is this expected to happen?
Edit: btw, I have the tycho-build extension correctly installed, if that matters.
Further edit:
This is the debug log from the Reactor for project E:
What is the line [DEBUG] Dependencies (resolve): [compile] referring to?
Another detail:
[DEBUG] Could not find metadata D:15.1.0-SNAPSHOT/maven-metadata.xml in local (C:\Users\edoardo.luppi\.m2\repository)
[DEBUG] D:15.1.0-SNAPSHOT/maven-metadata.xml was not found in http://my-remote-repo/zeus during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of zeus has elapsed or updates are forced
[DEBUG] D:15.1.0-SNAPSHOT/maven-metadata.xml was not found in http://repository.jboss.org/nexus/content/groups/public/ during a previous attempt. This failure was cached in the local repository and resolution is not be reattempted until the update interval of jboss has elapsed or updates are forced
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My project is setup in the following way (simplifying a bit):
I have a plugin goal bound to the
initialize
phase, which goes through dependencies and copy some files using the Dependencies Plugin.Now, invoking
mvn clean compile
at the root (A
), I see that everything runs fine. The reactor summary is ok.However, invoking
mvn clean initialize
, as I don't really need compilation, fails withBoth
E
(which depends onD
) andD
are correctly shown in the Reactor summaryIs this expected to happen?
Edit: btw, I have the
tycho-build
extension correctly installed, if that matters.Further edit:
This is the debug log from the Reactor for project
E
:What is the line[DEBUG] Dependencies (resolve): [compile]
referring to?Another detail:
Beta Was this translation helpful? Give feedback.
All reactions