|
Can I change the Java source directory from 'src/main/java' to another? |
Answered by
sxp
Dec 21, 2021
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 |
1 reply
|
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. |
0 replies
|
Finally, I set the |
0 replies
Answer selected by
sxp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally, I set the
<build><sourceDirectory>to change the Java source directory. It works.