I'll look into this more tonight. The issue is that I create a src/foo/bar/R.java file as there is in an Android project created in Eclipse but the masa maven program makes its own at target/generated-sources/foo/bar/R.java . Maven then rightly complains that it has two foo.bar.R java classes when there should only be one.
I have some quick ideas for a possible fix: 1) mount target/generated-classes/ as a source directory, 2) write out the R.java to the src/ directory, 3) do some magic in igorning the src/ R.java version and using the target/generated-classes/ one.
Thinking about it I'm a little annoyed that by default the Android Eclipse plugin puts a generated class under src/ . I don't like to have generated files checked into source control and by putting it under src/ it is likely that file will be checked in.
By removing the src/foo/bar/R.java file I was able to run the aapt package command. However nothing was created as it doesn't have a bin/ directory. I'll look into this more tonight.
Thanks for checking out the code!