There's one part of this that could be made much more trivial if we change the
compile dependencies to point to the upcoming geronimo specs. These will have
proper Portable Java Contracts which means all of these:
> javax.annotation;-remove-attribute:=version,
> javax.enterprise.*;-remove-attribute:=version,
> javax.inject;-remove-attribute:=version,
and these
> osgi.contract;
>
> filter:="(&(osgi.contract=JavaAnnotation)(version=${annotations.api.version}))",
> osgi.contract;
>
> filter:="(&(osgi.contract=JavaInject)(version=${inject.api.version}))",
> osgi.contract;
>
> filter:="(&(osgi.contract=JavaCDI)(version=${cdi.api.version}))",
boil down to just:
> <_contract>*</_contract>
[ Full content available at: https://github.com/apache/geronimo-config/pull/5 ]
This message was relayed via gitbox.apache.org for [email protected]