maven-compiler-plugin 版本不匹配

发布于 2024-12-09 18:51:39 字数 541 浏览 2 评论 0原文

我在 pom.xml 文件下有这一行,

 <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
     <jdkLevel>1.6</jdkLevel>
      <source>1.6</source>
      <target>1.6</target>
    </configuration>
  </plugin>

我正在使用 apache-maven-2.2.1 version 。 maven-compiler-plugin 的版本和 maven Version 不匹配会不会有问题?

请大家推荐一下,非常感谢。

I have this lines under our pom.xml file

 <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
     <jdkLevel>1.6</jdkLevel>
      <source>1.6</source>
      <target>1.6</target>
    </configuration>
  </plugin>

I am using apache-maven-2.2.1 version .
Will it be any problem as the versions of maven-compiler-plugin and maven Version does not match ??

Please suggest , thank you very much .

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

手心的温暖 2024-12-16 18:51:39

maven 及其插件的版本从不匹配。版本之间没有协调。存在兼容性问题的情况非常罕见,当它们存在时,它们会记录在插件文档页面上。

The versions of maven and its plugins never match. There is no coordination of the releases. It is very rare for there to be compatibility issues and when they exist they are documented on the plugin documentation pages.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文