[ 
https://issues.apache.org/jira/browse/SCM-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961111#comment-17961111
 ] 

ASF GitHub Bot commented on SCM-341:
------------------------------------

jira-importer commented on issue #562:
URL: https://github.com/apache/maven-scm/issues/562#issuecomment-2964604205

   **[Mykel 
Alvis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mykelalvis)**
 commented
   
   Wrong documentation.
   
   http://maven.apache.org/scm/plugins/examples/scm-advance-features.html
   
   states
   
   [...]
   \<build>
   [...]
   \<plugins>
   \<plugin>
   \<groupId>org.apache.maven.plugins\</groupId>
   \<artifactId>maven-scm-plugin\</artifactId>
   \<version>1.0\</version>
   \<configuration>
   \<tagName>tag\</tagName>
   \</configuration>
   \</plugin>
   [...]
   </plugins
   [...]
   \</build>
   [...]
   
   Patch attached.
   




> tag is not required for an scm:tag operation
> --------------------------------------------
>
>                 Key: SCM-341
>                 URL: https://issues.apache.org/jira/browse/SCM-341
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 1.0
>            Reporter: Mykel Alvis
>            Assignee: Dan Tran
>            Priority: Major
>             Fix For: 1.1
>
>         Attachments: scm-advance-features.diff
>
>
> When performing an scm:tag operation, neither passing the tag parameter to 
> the plugin nor configuring the tag in the pom actually fills in the tag info, 
> resulting in a missing parameter.
> --- Copied from my original email
> With maven 2.0.7, a working subversion SCM url and a build plugin as
>      <plugin>
>         <artifactId>maven-scm-plugin</artifactId>
>         <configuration>
>           <tagName>tag</tagName>
>         </configuration>
>       </plugin>
> mykel@DHBHLXBUILDCONTROL0 MEFoundation-1.0.x]$ mvn scm:tag
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'scm'.
> WAGON_VERSION: 1.0-beta-2
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building DSTHS MEFoundation EJB
> [INFO]    task-segment: [scm:tag] (aggregator-style)
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] [scm:tag]
> [INFO] Final Tag Name: 'null'
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Cannot run tag command :
> Embedded error: Exception while executing SCM command.
> Missing parameter: 'tagName'.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Thu Sep 06 13:27:52 CDT 2007
> [INFO] Final Memory: 6M/127M
> [INFO] ----------------------------------------------------------------------



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to