use --source-path instead of sourceclasspath
<version>true</version>
<keywords>true</keywords>
<additionalOptions>
- <additionalOption>-sourceclasspath ${project.build.outputDirectory}</additionalOption>
- <additionalOption>-sourceclasspath ${project.build.directory}/dependency</additionalOption>
+ <additionalOption>---source-path ${project.build.outputDirectory}</additionalOption>
+ <additionalOption>---source-path ${project.build.directory}/dependency</additionalOption>
</additionalOptions>
</configuration>
</plugin>
<version>true</version>
<keywords>true</keywords>
<additionalOptions>
- <additionalOption>-sourceclasspath ${project.build.outputDirectory}</additionalOption>
+ <additionalOption>---source-path ${project.build.outputDirectory}</additionalOption>
<additionalOption>${testAdditionalRuntimeArgLine}</additionalOption>
</additionalOptions>
</configuration>
