Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-261

release:prepare should support flat directory multi-module projects

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: prepare
    • Labels:
      None
    • Environment:
      linux / maven2 / svn
    • Flags:
      Patch

      Description

      What I mean by flat file structure firstly.

      parent/pom.xml
      module1/pom.xml
      module2/pom.xml
      .
      .
      .
      module15/pom.xml

      the parent references the modules like so

      <modules>
      <module>../module1</module>
      <module>../module2</module>
      .
      .
      .
      <module>../module15</module>
      </modules>

      When i release:prepare only the parent project is tagged the modules projects versions are incremented etc but the modules are not tagged in svn.

      I use this structure as i use eclipse as my IDE.

      I would love to see a fix for the issue marked as closed here http://jira.codehaus.org/browse/MRELEASE-138. I am currenrly tagging by hand each submodule of the projects but it would be so nice to have the release plugin do this for me.

      forgive my english.

        Attachments

        1. PrepareReleaseMojo.patch
          1 kB
          Adam Leggett
        2. odd-tags.png
          24 kB
          Eric Miles
        3. MRELEASE-261-with-its-v3.patch
          77 kB
          Maria Odea Ching
        4. MRELEASE-261-with-its.patch
          32 kB
          Maria Odea Ching
        5. MRELEASE-261-sample-project.zip
          2 kB
          dennislundberg
        6. MRELEASE-261.patch
          12 kB
          Maria Odea Ching
        7. maven-release-issue.zip
          1 kB
          Eric Miles
        8. maven-release-issue.tar.gz
          2 kB
          Eric Miles
        9. flatProject.test.patch
          9 kB
        10. flatProject.main.patch
          11 kB

          Issue Links

            Activity

              People

              • Assignee:
                oching Maria Odea Ching
                Reporter:
                whelanp paul.whelan@gmail.com
              • Votes:
                58 Vote for this issue
                Watchers:
                46 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: