[英]How to search for specific maven plugin
How can I find maven plugin ? 我如何找到Maven插件? eg I am searching
findbugs-maven-plugin
in https://mvnrepository.com/ but this will search for dependencies: 例如,我在https://mvnrepository.com/中搜索
findbugs-maven-plugin
,但这将搜索依赖项:
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.4</version>
</dependency>
I am searching for: 我在寻找:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5-SNAPSHOT</version>
</plugin>
</plugins>
You can find it in the following link: 您可以在以下链接中找到它:
https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/mojo/findbugs-maven-plugin/3.0.5-SNAPSHOT/ https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/mojo/findbugs-maven-plugin/3.0.5-SNAPSHOT/
Enjoy! 请享用!
I think you just forgot to setup maven plugin repositories (or maybe you forgot to mention about it) 我认为您只是忘了设置Maven插件存储库(或者也许您忘了提及它)
For example: 例如:
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
also you could read little bit more about maven pom format on official site 您也可以在官方网站上阅读更多有关Maven Pom格式的信息
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.