Am 20.01.2012 17:44 schrieb <[email protected]>:
>
> When I build a jar file, the compile dependencies are not packaged into
the jar.  So, this means that they are expected to be provided somewhere
else in the run time environment, doesn't it?  Which means that it doesn't
seem like there's a difference between compile and provided . . . am I
missing something?

Yes. Dependency management capabilities of Maven.

Maven will put compile-scoped dependencies on the compile classpath
automatically, whereas for provided it does not.

Regards

Ansgar

Reply via email to