Skip to content

mvn compile build failure InterfaceCompileFailed #770

@rCourtieux

Description

@rCourtieux

Hello,

I have some difficulties to use scapegoat.
When i do mvn compile i get :

[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.5.6:compile (default) on project standard-part: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.5.6:compile failed: Compilation failed: InterfaceCompileFailed -> [Help 1]

I can see the scapegoat report in target but the compilation fail.

My configuration :

          <plugin>
            <groupId>net.alchim31.maven</groupId>
            <artifactId>scala-maven-plugin</artifactId>
            <configuration>
                <args>
                    <arg>-P:scapegoat:dataDir:./XXX/target/scapegoat</arg>
                </args>
                <compilerPlugins>
                    <compilerPlugin>
                        <groupId>com.sksamuel.scapegoat</groupId>
                        <artifactId>scalac-scapegoat-plugin_2.11.12</artifactId>
                        <version>1.4.17</version>
                    </compilerPlugin>
                </compilerPlugins>
            </configuration>
          </plugin>

    <dependency>
        <groupId>com.sksamuel.scapegoat</groupId>
        <artifactId>scalac-scapegoat-plugin_2.11.12</artifactId>
        <version>1.4.17</version>
        <scope>provided</scope>
    </dependency>

JDK : corretto-1.8.0_382
SDK : 2.11.12
MVN : 3.9.2

Any ideas ? Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions