Skip to content

Cannot access Key[MavenProject, annotation=[none]] outside of a scoping block with m-jar-p 3.5.0 #2084

@pzygielo

Description

@pzygielo

After updating maven-jar-plugin from 3.4.2 to 3.5.0 the Problems view started to show:

Cannot access Key[type=org.apache.maven.project.MavenProject, annotation=[none]] outside of a scoping block	pom.xml	/...
Image

IDE: Version: 2025-09 (4.37.0), Build id: 20250905-1456
M2E - Maven Integration for Eclipse 2.9.1.20250811-2022
M2E - POM Editor using LemMinX language server (includes Incubating components) 2.6.101.20250727-0612
JDK: temurin 25

If I downgrade m-jar-p back to 3.4.2 and do Maven -> Update Project - then the (error) Problems are gone, which suggests to me - there is something interesting with that new plugin.

Image

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