Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versions:property-updates-report xml report not showing currentVersion #976

Open
Jiehong opened this issue Jun 15, 2023 · 0 comments
Open

Comments

@Jiehong
Copy link

Jiehong commented Jun 15, 2023

Hello,

When running mvn versions:property-updates-report with formats set to xml, an xml report is generated.

However, that report does not contain the current value of a property, but only the lastVersion if something can be updated.

It would be nice if currentVersion could be filled-in, as per https://github.com/mojohaus/versions/blob/dbf6d65cbe745eb8d7df778ec67eb401729f7ad3/versions-model-report/src/main/mdo/property-updates-report.mdo#LL113C27-L113C41.

Here is an example:

    <property>
      <propertyName>surefire-plugin.version</propertyName>
      <propertyAssociations>
        <propertyAssociation>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
        </propertyAssociation>
      </propertyAssociations>
      <lastVersion>3.1.2</lastVersion>
      <minors>
        <minor>3.1.0</minor>
        <minor>3.1.0-atlassian-1</minor>
        <minor>3.1.0-atlassian-2</minor>
        <minor>3.1.2</minor>
      </minors>
      <status>minor available</status>
    </property>

Version of the plugin used: 2.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant