maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Moser" <>
Subject Removing JDK from compile classpath
Date Fri, 06 Jul 2012 21:13:11 GMT

Some users of the Android Maven plugin are having trouble with the
compilation because the android.jar that includes all classes from harmony
is on the classpath together with the Oracle JDK.

When method signatures between the two differ e.g. like mentioned here

it seems the compiler plugin always uses the JDK methods first and
compilation fails.

Is there a way to configure the compiler plugin to remove the JDK itself
from the compliation classpath to fix this problem? Or could some sort of
patch of the compiler plugin achieve that?

It must be possible somehow since the Ant build and the respective Javac
invocation can build these apps just fine..

Any ideas would be greatly appreciated.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message