OK, let me clarify.

Project has dependencies on artifacts of type AAR (Android archive - an
archive that contains several sub-artifacts including a classes jar).

My Mojo unpacks the AAR artifacts and makes the sub-artifacts available to
other build components.

One of those build components is the maven-compiler-plugin. We want to add
the classes contained in the AAR dependencies to the compile classpath so
that the maven-compiler-plugin can compile our classes against the classes
from the AARs.

How do we do that?

William



On Mon, Jan 20, 2014 at 1:14 AM, Anders Hammar <[email protected]> wrote:

> Do you want to change the classpath of the project or of other mojos?
>
> Don't think either is possible. And if it was, I don't think it's wise. The
> dependencies of the project should be declared and not magically added.
>
> /Anders
>
>
>
> On Sun, Jan 19, 2014 at 1:18 PM, William Ferguson <
> [email protected]> wrote:
>
> > I have a Mojo which needs to add an element to the compile time classpath
> > for future Mojos.
> >
> > I'm struggling to find any doco that points in the right direction.
> >
> > Is it possible?
> > If so, how should I go about it?
> >
> >
> > William
> >
>

Reply via email to