Jorg Heymans wrote: > > Andreas Hochsteger wrote: > >> But how would it be possible to say that the samples block depends on >> any implementation which implements a certain API, like the roles >> are used in Cocoon today? For example, my-block-samples-block needs >> an XSL:FO processor but does not depend on a concrete implementation >> (e.g. Xalan). >> > > > I don't think maven allows this at the moment. It's a valid usecase > though.
You can define the dependency as optional (although this is partly still buggy). - Jörg