Issues with mixed Scala and Java project when using Lombok.

24 views
Skip to first unread message

Viktor Lund

unread,
Oct 8, 2018, 10:46:28 AM10/8/18
to Maven and Scala
I have a project where a library seems to be using Lombok. Depending on this from Scala sources has proven impossible, I get compilation issues complaining of missing symbols (of getters and setters generated with annotations). The project compiles if I reference the library from Java source files. I have tried to change the compilation order https://davidb.github.io/scala-maven-plugin/example_incremental.html (JavaThenScala) with no real improvement. 

Any ideas?

David Bernard

unread,
Oct 8, 2018, 10:54:08 AM10/8/18
to Maven and Scala

On Mon, Oct 8, 2018 at 4:46 PM Viktor Lund <lund....@gmail.com> wrote:
I have a project where a library seems to be using Lombok. Depending on this from Scala sources has proven impossible, I get compilation issues complaining of missing symbols (of getters and setters generated with annotations). The project compiles if I reference the library from Java source files. I have tried to change the compilation order https://davidb.github.io/scala-maven-plugin/example_incremental.html (JavaThenScala) with no real improvement. 

Any ideas?

--

---
You received this message because you are subscribed to the Google Groups "Maven and Scala" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-and-sca...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages