Setting the generated source directory for annotation processors in Maven

前端 未结 7 1369
南方客
南方客 2021-02-09 20:01

I\'m trying to move a build which generates sources using an annotation processor to Maven. I\'ve tried configuring the maven-compiler-plugin as follows:

    <         


        
7条回答
  •  情话喂你
    2021-02-09 20:36

    One reason for this could be that $JAVA_HOME is pointing to jdk 1.5 version instead of 1.6. (on windows check %JAVA_HOME% of course)

提交回复
热议问题