Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Dependency scope and Eclipse classpath resolution

Sun, 16 Oct 2011 21:54:54 +0300, /Stanimir Stamenkov/:

I would also like to see an option to resolve only declared
dependencies for compilation and not their transitive dependencies,
e.g. using the dependency:analyze goal one could get warnings like
"Used undeclared dependencies found" - it would be nice not to
present those in the Eclipse classpath in first place. At the very
least - option to generate corresponding waring in Eclipse would be
nice.

Would it be possible to automatically classify APIs from transitively resolved dependencies as forbidden or discouraged (probably depending on an m2e setting) and then the Java Compiler settings for marking access to those as errors/warnings would take place?

--
Stanimir


Back to the top