ceylon / ceylon-module-resolver

DEPRECATED
Apache License 2.0
23 stars 9 forks source link

dependencies marked "provided" are always included at runtime #114

Open jvasileff opened 9 years ago

jvasileff commented 9 years ago

For example, if you import "log4j:log4j" "1.2.17", you also get org.apache.openejb:javaee-api.

alesj commented 9 years ago

Afaik, that's expected and ok. e.g. since in Ceylon Runtime env, nothing is provided, as it's in JEE

On Feb 15, 2015, at 19:37, John Vasileff notifications@github.com wrote:

For example, if you import "log4j:log4j" "1.2.17", you also get org.apache.openejb:javaee-api.

— Reply to this email directly or view it on GitHub.

jvasileff commented 9 years ago

Well, one use case is deployment on JEE.

I know this is an oversimplification, but usually provided marks things that will cause problems if loaded in multiple classloaders, like logging and platform apis. So why not treat provided as optional until something more sophisticated can be designed?