-
Can I change the Java source directory from 'src/main/java' to another? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes the same way, you can change for maven java compiler plugin. If you want to change the info only for this plugin, see configuration of scala-maven-plugin – scala:compile |
Beta Was this translation helpful? Give feedback.
-
I read the configuration manual before, but can't find which option is to change the Java source directory. sourceDir option is to change the scala source directory, and it is a File type, can't set to scala and Java source separately. Which configuration should I use? And can you provide an example for use, thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Finally, I set the |
Beta Was this translation helpful? Give feedback.
Finally, I set the
<build><sourceDirectory>
to change the Java source directory. It works.