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

    • Wish
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • prepare
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: