我在当前项目和插件组[org.apache.maven.plugins, org.codehaus.mojo] 中没有找到前缀“茉莉花”的插件,可从存储库 [local (/Users/patthia/.m2/repository) )、中央 ( http://repo1.maven.org/maven2/)、sonatype-releases ( http://oss.sonatype.org/content/repositories/releases)、clojars.org ( http://clojars.org /repo ),运行时出错
mvn jasmine:bdd
在我的项目中。运行此命令时,我在正确的文件夹中。我已经验证了我的插件依赖项和配置。这是我的 pom.xml 中的插件配置
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>