Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-962

A way for other plugins to hook into the release and add files to SCM

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: prepare
    • Labels:
      None

      Description

      Hi Maven Release community,

      I am working on a plugin for driving dotnet (.NET core) builds via Maven [1]. One particularly annoying thing with such projects is that project versions have to be sync'ed manually, while I would like it to be something that is governed by Maven so that if the pom.xml file specifies a version, then that is propagated also to the project.json files of a dotnet build/release. My plugin now has a goal for doing this (dotnet:update-versions) but I cannot hook that into the release process so that the outcome of this step (the changed project.json files) are added to the commits made by the release plugin. I have looked around in your source code and cannot find any way of doing it, and I also see that the release plugin explicitly only adds pom.xml files to the commit. Having a way to add other files would be great.

      [1] https://github.com/kaspersorensen/dotnet-maven-plugin

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kaspersor Kasper Sørensen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: