if you own the mojos, you can get them to talk via
project.getPluginContext()  ( ie one can write something in a map and
the other reads it )

native-maven-plugin source is a good example

-Dan



On Fri, Jan 8, 2010 at 4:45 PM, Wayne Fay <wayne...@gmail.com> wrote:
>> it looks like it works if the two classes are inside the same project,
>> but not if B inherits from a class in another plugin...
>
> Extract the common functionality into its own project/jar and depend
> on that artifact from both plugins. You shouldn't be inheriting
> classes in other plugins due to the way Maven's classloader works etc.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

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

Reply via email to