I have a project that has both scala and java code, which I now manage in eclipse using the scala IDE plugin. Currently, the directory structure is organized in such a way that some packages have both java and scala code. There are scala classes that depend on java classes, and there are other java classes that depend on scala classes. The plugin handles all this transparently - I believe (but Im 100% sure) that the scala compiler compiles both java and scala code together, how cross dependencies are handled. I found some links to compiling mixed projects using Maven for example. here , but the ones I saw talked about splitting java and scala into two separate source trees. Maven is trying to compile scala code that fails due to dependencies on java code. Similarly, if Java code was compiled first, it will also fail, as dependencies will go in both directions. Is there a way for Maven to compile all the code along with the eclipse plugin? Id would also like to be able to generate an eclipse project without doing too much manual commit if possible.
Shane
source share