maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: Is there a guide on how to use Sisu within Maven plugins?
Date Wed, 01 Feb 2017 19:59:11 GMT
No, plugin annotation are used to generate a plugin descriptor, i.e.  
META-INF/maven/plugin.xml
At runtime this file is used to initialize the plugin, whereas the  
specified components are injected with sisu/guice

Robert

On Wed, 01 Feb 2017 20:52:19 +0100, Laird Nelson <ljnelson@gmail.com>  
wrote:

> Thanks.  But isn't _that_, in turn, replaced by JSR-330?  This is what  
> I'm
> confused about.
>
> On Wed, Feb 1, 2017 at 11:26 AM Robert Scholte <rfscholte@apache.org>  
> wrote:
>
>> This is what is used nowadays:
>>
>> https://maven.apache.org/components/plugin-tools/maven-plugin-tools-annotations/index.html
>>
>> Robert
>>
>> On Wed, 01 Feb 2017 19:21:09 +0100, Laird Nelson <ljnelson@gmail.com>
>> wrote:
>>
>> > I apologize in advance for the inarticulate nature of this question.
>> >
>> > I have this faint sense that Sisu and Guice are at the core of Maven
>> > these
>> > days, with a Plexus layer on top.
>> >
>> > This makes me think that perhaps I should be using different  
>> annotations
>> > in
>> > my maven plugins than @Component etc.
>> >
>> > Is this (
>> >
>> https://maven.apache.org/guides/plugin/guide-java-plugin-development.html)
>> > still the official guide for writing Maven plugins?  If I wanted to
>> > inject
>> > some named Plexus component, is there some guide showing how to do  
>> that?
>> >
>> > Thanks,
>> > Best,
>> > Laird
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message