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 23:21:13 +0300, /Stanimir Stamenkov/:

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?

I've now realized if the above is possible, it could be used to restrict the usage of "runtime" dependencies for compilation, also (marking their APIs as forbidden, but still placing them on the classpath for run configurations).

--
Stanimir


Back to the top