Heinrich Nirschl wrote:
>
> "mvn dependency:analyze" may also help to detect situations where
> transitive dependencies should better be declared as direct
> dependencies.
>
great! eveyday to learn something new.
Heinrich Nirschl wrote:
>
> No, the optional library may be needed for compiling. It can still be
> optional if it is never loaded at runtime for a certain use case.
>
but how should someone know if a certain use case is not executed on runtime
(to me that sounds more like a hint to dead code...). do you know a real
maven2 project where this optional is used and makes sense?
--
View this message in context:
http://www.nabble.com/maven2-way-to-hide-transitive-dependencies-tp14495957s177p14502190.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]