rgladwell/m2e-android — Issue #43: Problems with library projects and ADT 14
Author: curtiss-howard
Created: 2011-10-19 14:16:29+00:00
State: open

The new version of ADT was released and I'm not sure if this is an android-maven-plugin issue or an m2e Android Connector issue (though I suspect the latter). ADT has new handling for library projects. Previously ADT would link the source folders for library projects into the referencing project but now it seems that ADT prefers to build a JAR of compiled library classes and include them in a new classpath entry.

The problem is that the default entry for src/main/java outputs to target/classes and ADT seems to expect classes in bin/classes in order to build its JAR. I tried changing build.outputDirectory in the POM but then android-maven-plugin chokes because it's looking for target/classes. Any ideas?