You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Armand BERGES (Jira)" <ji...@apache.org> on 2020/11/24 07:51:00 UTC

[jira] [Created] (MNG-7030) Allow to use project.scm properties in a maven release

Armand BERGES created MNG-7030:
----------------------------------

             Summary: Allow to use project.scm properties in a maven release
                 Key: MNG-7030
                 URL: https://issues.apache.org/jira/browse/MNG-7030
             Project: Maven
          Issue Type: Bug
          Components: POM
    Affects Versions: 3.6.3, 3.6.2
            Reporter: Armand BERGES


I try to create a custom super pom for my company. 

 

Everything works great except for the release step. Actually, I would allow my teamate to only declare a property (say *util.scm.url*) to enable all the scm release bloc in maven-release-plugin.

 

For this, I have two problems : 

 
 * When I declare *scm* section only in parent pom I fall into a SCM issue that blocks my sons projects during my release steps (since the scm is badly interpolated my build can't push release modifications)
 * When I try to use *project.scm.** properties in my parent pom instead of *scm* section, the release plugin blocks me with "Unable to find scm section". I think he tries to find out the *scm* section only and not the properties created by it

 

PLease tell me if I'm missing something or if you need other informations



--
This message was sent by Atlassian Jira
(v8.3.4#803005)