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

   **[Ernst de 
Haan](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=znerd)** 
commented
   
   Reproduction steps for my issue:
   1. Have a small Maven project:
      - root folder is project A, containing modules B and C
      - subfolder B contains module B
      - subfolder C contains module C
      - module C has module B as parent
   2. Module A defines a Git repository in an `<scm>` tag
   3. Go into module C's subdirectory
   4. Execute `mvn release:prepare release:perform`
   
   Expected:
   - Tag is created on repository _R_ defined in the `<scm>` tag in module A
   
   Actual:
   - Tagging fails, because the release plugin attempts to create a tag on 
_R_/_C_ (where _R_ is the repository defined in the `<scm>` tag in module A and 
_C_ is the name of module C)
   
   Workaround:
   - Copy the `<scm>` tag from module A's POM to module C's POM
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to