Skip to content

[功能改进]: 描述Dependency Warning: maven-plugin-annotations 3.7.0 causes model building conflict with Spring Boot 3.4.x #6866

@chenfeg

Description

@chenfeg

确认

  • 我的版本是最新版本, 我的版本号与 version 相同, 并且项目里无依赖冲突
  • 我已经在 issue 中搜索过, 确认问题没有被提出过
  • 我已经修改标题, 将标题中的 描述 替换为你的想法(不得删除 描述 前面的部分)

功能改进

Hi team,

I'm using mybatis-plus-spring-boot3-starter:3.5.12 with Spring Boot 3.4.7.

Spring Boot already manages:

xml
Copy
Edit

org.apache.maven.plugin-tools
maven-plugin-annotations
3.13.1

But mybatis-plus seems to transitively import:

makefile
Copy
Edit
org.apache.maven.plugin-tools:maven-plugin-annotations:3.7.0
As a result, Maven throws a warning when building effective model:

kotlin
Copy
Edit
[WARNING] Ignored POM import for: maven-plugin-annotations:3.7.0@compile as already imported maven-plugin-annotations:3.13.1@compile.
✅ Suggestion:
Please remove or update the maven-plugin-annotations import in your dependency declarations (e.g. generator or plugin modules), or align with the version Spring Boot uses to avoid this model conflict.

Thanks for your great work!

参考资料

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions