scala maven plugin
生活随笔
收集整理的這篇文章主要介紹了
scala maven plugin
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
pom文件配置
<build><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-shade-plugin</artifactId><version>2.4.2</version><configuration><artifactSet><includes><include>*:*</include></includes></artifactSet><filters><filter><artifact>*:*</artifact><excludes><exclude>META-INF/*.SF</exclude><exclude>META-INF/*.DSA</exclude><exclude>META-INF/*.RSA</exclude></excludes></filter></filters></configuration><executions><execution><phase>package</phase><goals><goal>shade</goal></goals><configuration><finalName>${project.artifactId}-${project.version}</finalName></configuration></execution></executions></plugin><plugin><groupId>org.scala-tools</groupId><artifactId>maven-scala-plugin</artifactId><executions><execution><goals><goal>compile</goal><goal>testCompile</goal></goals></execution></executions><configuration><scalaVersion>2.11.8</scalaVersion><args><arg>-target:jvm-1.8</arg></args></configuration></plugin></plugins></build>總結(jié)
以上是生活随笔為你收集整理的scala maven plugin的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【做饭】- 红烧肉
- 下一篇: flink 1-个人理解