I've created an android project based on android-release archetype (via mvn CLI). In order to import it to eclipse ADT (version 21) I tried:
- mvn eclipse:eclipse
The problem with this approach was that the created eclipse project was a Java project and didn't have an 'android' nature.
so I tried:
- importing the pom.xml using M2E eclipse plugin (Maven Integration for Eclipse)
now I have 2 different problems:
- the gen folder is not the one used by maven, and I have to add it as a source folder.
- getting ClassNotFoundException for the unit test classes when running via eclipse. Maven has no problems at all.
is this how it supposed to work ? am I doing here something wrong, or I simply have too high expectations?