Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
查找maven Scala插件的Scala编译版本_Scala_Maven - Fatal编程技术网

查找maven Scala插件的Scala编译版本

查找maven Scala插件的Scala编译版本,scala,maven,Scala,Maven,使用maven scala插件 我尝试了mvn scala:help,但出现了以下错误: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist or no valid version could

使用
maven scala插件

我尝试了
mvn scala:help
,但出现了以下错误:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-scala-plugin' does not exist
 or no valid version could be found

您是否在包含
pom.xml
文件的目录中尝试了该命令?
pom.xml
是否正确地包含了对maven scala插件的依赖项?是的,但结果是
pom.xml
没有包含
maven scala插件。我刚刚从包含插件的子
pom.xml
重新运行了
mvnscala:help
。这对我很有效。谢谢。我在怀疑这样的事情。