Hi,

I realise this question isn't exactly related to dev within the Maven
components, but it is about developing a Mojo using components that have to
be pretty central and don't appear to be obviously documented anywhere. And
I ahve asked on maven-users without much luck.

As part of the android-maven-plugin we have a Mojo which needs to add an
element to the compile time classpath for future Mojos (specifically the
maven-compiler-plugin).

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

Our 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

Reply via email to