[英]IntelliJ error messages for Maven Plugin Annotations
I am getting incorrect error messages in IntelliJ for a Maven plugin I am creating. 我在IntelliJ中收到有关正在创建的Maven插件的错误消息。
I have the following dependencies in my pom: 我的pom中具有以下依赖项:
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
I am using IntelliJ 12.0 我正在使用IntelliJ 12.0
The incorrect errors are in the screenshot. 错误信息在屏幕截图中。 does anyone know what can cause this?
有谁知道是什么原因造成的?
the code runs just fine with a clean install
clean install
代码运行良好
Try to delete your local ~/.m2/repo
. 尝试删除您的本地
~/.m2/repo
。 And maybe reinstall Intellij without reimporting your old settings and start fresh. 也许重新安装Intellij而不重新导入您的旧设置并重新开始。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.