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

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

jira-importer opened a new issue, #261:
URL: https://github.com/apache/maven-scm/issues/261

   
**[Bernd](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=berndq)** 
opened 
**[SCM-270](https://issues.apache.org/jira/browse/SCM-270?redirect=false)** and 
commented
   
   Using
   
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-scm-plugin</artifactId>
         <executions>
           <execution>
             <phase>validate</phase>
             <id>getting-scm.revision</id>
             <goals>
               <goal>update</goal>
             </goals>
           </execution>
         </executions>
       </plugin>
   
   as suggested on the user list results in
   
   [INFO] [scm:update {execution: getting-scm.revision}]
   [INFO] Executing: svn --username maven --non-interactive update
   [INFO] Working directory: D:\projekte\template\templatePom-trunk
   [DEBUG] Revision 375.
   [INFO] Unknown file status: 'R' in line Revision 375..
   [INFO] Storing revision in 'scm.revision' project property.
   
   This does not result in rev. 375 being replaced in filtered files.
   
   Actual result is that the content of scm.revision is "0"
   
   The filtered file looks like
   xyz=0
   instead of the expteced
   xyz=375
   
   
   ---
   
   **Affects:** 1.0-beta-3
   
   1 votes, 2 watchers
   




> scm:update does not set revisionKey/scm.property
> ------------------------------------------------
>
>                 Key: SCM-270
>                 URL: https://issues.apache.org/jira/browse/SCM-270
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 1.0-beta-3
>         Environment: Windows XP, Java(TM) 2 Runtime Environment, Standard 
> Edition (build 1.5.0_10-b03), 
>            Reporter: Bernd
>            Assignee: Emmanuel Venisse
>            Priority: Major
>
> Using
>           <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-scm-plugin</artifactId>
>             <executions>
>               <execution>
>                 <phase>validate</phase>
>                 <id>getting-scm.revision</id>
>                 <goals>
>                   <goal>update</goal>
>                 </goals>
>               </execution>
>             </executions>
>           </plugin>
> as suggested on the user list results in
> [INFO] [scm:update {execution: getting-scm.revision}]
> [INFO] Executing: svn --username maven --non-interactive update
> [INFO] Working directory: D:\projekte\template\templatePom-trunk
> [DEBUG] Revision 375.
> [INFO] Unknown file status: 'R' in line Revision 375..
> [INFO] Storing revision in 'scm.revision' project property.
> This does not result in rev. 375 being replaced in filtered files.
> Actual result is that the content of scm.revision is "0"
> The filtered file looks like
>   xyz=0
> instead of the expteced
>   xyz=375



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

Reply via email to