Skip to content

Cannot resolve org.jetbrains.idea.maven.model.MavenId #2101

@simonstratmann

Description

@simonstratmann

What happened?

I'm using gradle plugin 2.13.1, platform version 261.22158.121 and declared a dependency on bundledPlugin("org.jetbrains.idea.maven").

A reference to org.jetbrains.idea.maven.project.MavenProject#getMavenId cannot be resolved.
I noticed it's in https://github.com/JetBrains/intellij-community/blob/master/plugins/maven/model/src/main/java/org/jetbrains/idea/maven/model/MavenId.java and was moved there with JetBrains/intellij-community@71fe271

I've also seen a reference in https://plugins.jetbrains.com/docs/intellij/api-changes-list-2026.html#20261 to the java plugin being split into modules but supposedly this shouldn't affect me.

Simple reproducer based on the template: intellij-platform-plugin-template-main.zip (See org.jetbrains.plugins.template.startup.MyProjectActivity).

Relevant log output or stack trace

Steps to reproduce

org.jetbrains.idea.maven.project.MavenProject#getMavenId

Gradle IntelliJ Plugin version

2.13.1

Gradle version

9.3.1

Operating System

Windows

Link to build, i.e. failing GitHub Action job

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions