intellij maven项目未编译scala代码

在maven的build节点下,增加plugin节点:

<plugin>
    <groupId>org.scala-tools</groupId>
    <artifactId>maven-scala-plugin</artifactId>
    <version>2.15.2</version>
    <executions>
        <execution>
            <goals>
                <goal>compile</goal>
                <goal>testCompile</goal>
            </goals>
        </execution>
    </executions>
</plugin>


0 条评论

    发表评论

    电子邮件地址不会被公开。 必填项已用 * 标注