You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tomasz Pik (JIRA)" <ji...@codehaus.org> on 2007/02/14 22:40:21 UTC

[jira] Updated: (SCM-280) santiizing CVS tag in 'tag' mojo

     [ http://jira.codehaus.org/browse/SCM-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomasz Pik updated SCM-280:
---------------------------

    Attachment: tag.diff

diff provided by richvdh on irc, verified - works as expected and solving problem.

> santiizing CVS tag in 'tag' mojo
> --------------------------------
>
>                 Key: SCM-280
>                 URL: http://jira.codehaus.org/browse/SCM-280
>             Project: Maven SCM
>          Issue Type: Improvement
>          Components: maven-plugin
>    Affects Versions: 1.0-beta-4
>            Reporter: Tomasz Pik
>         Attachments: tag.diff
>
>
> 'tag' mojo should sanitize CVS tag name so tags based on numbers with dots may be used (and mojo will map them to acceptable form).
> For example this will then work:
> <plugin>
>      <artifactId>maven-scm-plugin</artifactId>
>       <configuration>
>         <tag>SNAPSHOT_${project.artifact.version}</tag>
>       </configuration>
>       <executions>
>         <execution>
>         <phase>deploy</phase>
>           <goals>
>             <goal>tag</goal>
>           </goals>
>         </execution>
>       </executions>
>  </plugin>
> for SNAPSHOT deployments for those, who needs SNAPSHOTs recored in CVS as tags.

-- 
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