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:31:21 UTC

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

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


'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

        

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

Posted by "Tomasz Pik (JIRA)" <ji...@codehaus.org>.
     [ 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

        

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

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed SCM-280.
--------------------------------

         Assignee: Emmanuel Venisse
       Resolution: Fixed
    Fix Version/s: 1.0

Applied.

> 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
>         Assigned To: Emmanuel Venisse
>             Fix For: 1.0
>
>         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

        

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

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SCM-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87624 ] 

Wendy Smoak commented on SCM-280:
---------------------------------

>From #maven:

<pikus> I've added to JIRA: http://jira.codehaus.org/browse/SCM-280
<richvdh> pikus: try http://opensource.mxtelecom.com/maven/maven-scm-plugin.patch
<richvdh> pikus: if you open a jira, can you attach that? (if it works...)

> 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