Skip to content

Instantly share code, notes, and snippets.

@vector4wang
Created July 8, 2019 11:22
Show Gist options
  • Save vector4wang/d77669898590a109570c6339e4ea4656 to your computer and use it in GitHub Desktop.
Save vector4wang/d77669898590a109570c6339e4ea4656 to your computer and use it in GitHub Desktop.
[Idea 支持创建scala文件] #Maven #Scala
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<args>
<arg>-dependencyfile</arg>
<arg>${project.build.directory}/.scala_dependencies</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment