Referencing a local composite repo fails the build if *any* of the proxy repos are missing/not yet built #1312
Replies: 3 comments 3 replies
-
I'm not sure where/what build is failing can you provide an example? The error itself is not from m2e so the best we can do is probably be more graceful in case of error reporting. In general adding not existing repositories is an error and should be avoided even though it might work in some circumstance and better replaced by alternative techniques. |
Beta Was this translation helpful? Give feedback.
-
Obviously not, Tycho builds use repository all the day long with
If you run the maven build as describe no connector can do anything, it is simply as if you execute the maven build on the console. |
Beta Was this translation helpful? Give feedback.
-
Feels like we are missing something in this discussion. Just to be certain, you understand what I am describing when I say composite repository, right? |
Beta Was this translation helpful? Give feedback.
-
This setup was working prior to the update to the M2E 2.0.3.20230228-2348 version.
Question:
Is there a way to tell M2E not to fail a build immediately if any repo referenced in a composite repo is missing? That is, reduce the blocking ERROR to a Warning or Info that will allow the build to proceed?
The present requirement that all repos referenced in a composite repo be fully present effectually prevents building any.
Background:
I use a local composite repo to provides indirect inclusion of multiple local eclipse site repositories, some of which are feature included in other plugin projects and some that are wholly independent. There are no circular dependencies.
The parent POMs (of projects that include any other plugin) have a
<repository>
reference to the composite repo. (Highly convenient as there is now only a single location that contains all of the absolute paths to the included repos.)After the update, the build of any project that references the composite repo fails if any repo indirectly referenced has not been built regardless of the fact that the missing repo is not actually needed.
Beta Was this translation helpful? Give feedback.
All reactions