maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Hunt <hu...@internode.on.net>
Subject Re: Developing MOJOs using JSR-330
Date Tue, 09 Nov 2010 23:46:31 GMT
Thanks Oliver.

I think that it'll be quite a while before people write MOJOs just for Maven 3. From my own
perspective having just written two new MOJOs, I'd like to be able to write for the future
but recognise the present. It'd be great to use @inject in my code now and then use the MOJO
with Maven 2. Not possible?

I really find Plexus tricky to work with given the lack of documentation and would prefer
to use JSR-330 (as Maven 3 itself does!).

Kind regards,
Christopher

On 10/11/2010, at 10:38 AM, Olivier Lamy wrote:

> Hi,
> Using @Inject will work only with maven 3. You can inject a Plexus
> composent using it.
> 
> But not sure it's a good design to mix stuff.


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


Mime
View raw message