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

Generated release-pom.xml does not contain plugins configured in a super pom.

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Finally, since 2.0-beta-6 it has been possible to generate release poms. Unfortunately, plugins configured in a super pom don't make it into the release-pom.xml.

      We have a multi-module project. Each module inherits from a super pom that also defines the modules. The super pom, amongst others, configures the compiler plugin for source and target 1.5. Since these plugin configurations only make it into the release pom of the super pom, but not into the release poms of the modules, the modules fail to build using the release plugin.

      generics are not supported in -source 1.3 (try -source 1.5 to enable generics)
      annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Override

      So, we still have to set generateReleasePoms to false.

      Attachments

        1. patch.txt
          3 kB
          Scott D.W. Rankin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              unguiculus Reinhard Nägele
              Votes:
              13 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: