You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Tran <da...@gmail.com> on 2015/05/22 06:34:16 UTC

Better way to inject SecurityDispatcher for Maven 3

Currently is very cumbersome to inject

    @Component(hint = "mng-4384")
    protected SecDispatcher securityDispatcher;

and  Component.xml under resource

This works for both maven 2 and 3

Is there a better way for Maven 3 only?

Thanks

-Dan

Re: Better way to inject SecurityDispatcher for Maven 3

Posted by Dan Tran <da...@gmail.com>.
ping :-)

On Thu, May 21, 2015 at 9:34 PM, Dan Tran <da...@gmail.com> wrote:

> Currently is very cumbersome to inject
>
>     @Component(hint = "mng-4384")
>     protected SecDispatcher securityDispatcher;
>
> and  Component.xml under resource
>
> This works for both maven 2 and 3
>
> Is there a better way for Maven 3 only?
>
> Thanks
>
> -Dan
>