You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2016/09/12 03:56:20 UTC

[jira] [Created] (MRELEASE-962) A way for other plugins to hook into the release and add files to SCM

Kasper Sørensen created MRELEASE-962:
----------------------------------------

             Summary: A way for other plugins to hook into the release and add files to SCM
                 Key: MRELEASE-962
                 URL: https://issues.apache.org/jira/browse/MRELEASE-962
             Project: Maven Release Plugin
          Issue Type: Wish
          Components: prepare
            Reporter: Kasper Sørensen


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)