Skip to content

[MRELEASE-1152] Unable to find properties #1297

Open
@jira-importer

Description

@jira-importer

Vahid opened MRELEASE-1152 and commented

Hello,

I have a multi-module project that I want to use maven release plugin for it. In some sub-modules there are some properties but they are somehow ignored.

I debugged the code and I found that in class org.apache.maven.shared.release.transform.jdom2.JDomProperties line 49 (inside constructor method) only Object is being created and no key/value is passed.

So, modelTarget.getProperties() == null is false but modelTarget.getProperties().isEmpty() is true. We can say that all properties in the pom.xml file are ignored.


Affects: 3.0.1, 3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions