[Yanel-dev] Loading resources as binary only via Maven2

Michael Wechner michael.wechner at wyona.com
Wed Jul 8 13:34:24 CEST 2009


Hi

One can currently  register resource types as packages, as for example

<resource-type package="org.wyona.yanel.impl.resources.redirect" 
src="@YANEL_SRC_DIR@/src/contributions/resources/redirect/" compile="true"/>

whereas a src attribute is specified, but it doesn't seem to be clear 
how a package can be set without specifying without a src attribute
and loading the resource via Maven2.

Also see the comment

<!-- TODO: Is the "src" attribute required if a "package" is specified 
and set within the maven dependencies? -->

within

conf/resource-types.xml

or does anyone know/if this works?

Thanks

Michael


More information about the Yanel-development mailing list