java.lang.ClassNotFoundException android + eclipse + maven + osx

Viewed 2397

I'm trying to implement maven into an existing android project. I've done so through the context menu > Configure > Convert to Maven project. And everything seems okay, no warnings or errors.
But when I try to run the app (just like before) I get:

12-31 10:16:57.423: E/AndroidRuntime(14242): java.lang.RuntimeException:
Unable to instantiate activity ComponentInfo{xxx/xxx.MainActivity}: 
java.lang.ClassNotFoundException: xxx.MainActivity

I've followd all the instructions on implementing m2e and everything looks like it should work.
If I don't convert the project to a maven project, the app runs fine.

Any suggestions where I'm failing?

This is what my pom.xml looks like: http://pastebin.com/ByXA0BP4

4 Answers
Related