maven-compiler-plugin:testCompile gets sources from ./src/test/java. How can I instruct it to use sou开发者_运维技巧rces from ./target/generated-sources/test as well?
Maybe they should be placed somewhere else to become visible for testCompile goal?
Ideally, the plugin generating these sources should configure the source folders for the compiler plugin. When these are not generated by a maven plugin, you can use the build-helper plugin to add additional folders. See the second example here.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论