You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/02/06 16:43:19 UTC

[jira] Commented: (CONTINUUM-2028) Continuum release prepare should use maven-release-plugin scmCommentPrefix configuration in pom

    [ http://jira.codehaus.org/browse/CONTINUUM-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164251#action_164251 ] 

Wendy Smoak commented on CONTINUUM-2028:
----------------------------------------

This doesn't seem to be working in r740908

with this in the pom:

      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
          <autoVersionSubmodules>true</autoVersionSubmodules>
          <scmCommentPrefix>[HELLO-455] </scmCommentPrefix>
        </configuration>
      </plugin>

the commit message was:

Author: wsmoak
Date: 2009-02-06 09:35:17 -0600 (Fri, 06 Feb 2009)
New Revision: 1182

Modified:
  hello/trunk/pom.xml
Log:
[maven-release-manager] prepare release hello-1.1.6

I also noticed the SCM Comment Prefix on the release prepare page didn't pre-populate with the value in the pom, so it may be related to CONTINUUM-2054.

I'll modify one of the examples in the sandbox and record a Selenium test to double check.


> Continuum release prepare should use maven-release-plugin scmCommentPrefix configuration in pom
> -----------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2028
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2028
>             Project: Continuum
>          Issue Type: Improvement
>    Affects Versions: 1.2.2
>         Environment: Continuum 1.2.2, Subversion
>            Reporter: Wendy Smoak
>            Assignee: Emmanuel Venisse
>             Fix For: 1.3.2
>
>
> I have a Subversion repository with a pre-commit hook that requires a valid issue tracker id in every commit message.
> The default commit message for release prepare is "[maven-release-manager] prepare for next development iteration" which is not acceptable.
> I tried configuring the scmCommentPrefix for the release plugin in the pom, but the commit message still came out as  [maven-release-manager] and was rejected.
> {noformat}
>   <build>
>     <plugins>
>       <plugin>
>         <artifactId>maven-release-plugin</artifactId>
>         <configuration>
>           <scmCommentPrefix>[ABCD1234]</scmCommentPrefix>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira