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.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            unguiculus Reinhard Nägele

            Dates

              Created:
              Updated:

              Slack

                Issue deployment