On Wed, Aug 19, 2020 at 8:10 AM Neil C Smith <[email protected]> wrote:

> Hi,
>
> Anyone know if we have a feature somewhere to ignore that a Maven
> dependency is a project and force use of the repository JARs?  Either
> that or feature to not ignore automatic module names would be great -
> error badges are frustrating me.  Not sure if I'm missing something
> obvious.
>

I imagine if he dependency is not actually a part of your project, then
maven will do the right thing. But then I question doesn't it do the right
thing anyway if the version is correctly specified as the dependency? If
your project is XYZ-SNAPSHOT, and you depend on JAR-1.2.3, it should ignore
what's in the project and use the absolute versioned one from the repo.

Because in the end, maven just copies everything to the repo anyway, I
didn't think it did any actual short circuiting. Rather it simply copied to
the repo then immediately pulls it back out.

But I'm not positive.

Reply via email to