It's a bit tricky assembling the maven POM, but I've done a few basic tests with interoperability between java and scala classes in a maven project with java, spring, hibernate in the past and that seemed to work, I don't know if it's efficient nor if the development experience in the long term is good enough, but I think all developers probably need to install scala and/or scala plugins in their IDEs as I'm not sure the maven plugins in the IDEs respond well to suddenly having scala sources that they don't necessarily know how to build/package when deploying to their local appserver.
The only way to truly fly below the radar would be to package the scala code as a JAR outside of the project, but then again your scala project would need to depend on the other project classes as so probably this is not worth the trouble.... sneaking-in scala code via unit tests might be easier, as these usually only run on the CI system using the native maven plugins, don't need to be deployed, packaged, etc...
good luck!
- Jo
On Fri, May 4, 2012 at 2:38 PM, BeScala on behalf of Jan Goyvaerts
<bes...@googlegroups.com> wrote:
I might have a candidate to solve a specific problem with Scala. But I'd like to make sure the other developers don't need to care - or even notice - there is actually Scala source code in the project.
Is that possible ?
--
- Jo