score:0

may be jacoco/sonar check against source folders. in this case you should try to expose the scala source folder to other plugins (via 'add-source' goal):

         <plugin>
            <groupid>net.alchim31.maven</groupid>
            <artifactid>scala-maven-plugin</artifactid>
            <version>3.1.3</version>
            <configuration>
                <args>
                    <arg>-g:vars</arg>
                </args>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>add-source</goal>
                        <goal>compile</goal>
                        <goal>testcompile</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

Related Query

More Query from same tag