Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37657

plugin pom overloads a standard mojo config file for other things

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: plugin-pom
    • Labels:
      None
    • Similar Issues:

      Description

      (NB: component is probably wrong)

      The plugin parent pom overloads a skipTests flag which is used by surefire to skip running tests, to also skip findbugs.

      This is bad karma - a plugin specific flag should not be abused to change behaviour of other plugins - especially when they have their own flag (findbugs.skip)

      This behaviour should be reverted and if someone wants a quick way to build and install something bypasssing lots of things then they should use this new profile that sets appropriate per mojo configuration in a different profile (could be activated by a property.) e.g. mvn -DquickBuild or mvn -P quickBuild.

        Attachments

          Issue Links

            Activity

            Hide
            teilo James Nord added a comment -

            even though the duplicate is the other way around the other issue has some comments so closing this one

            Show
            teilo James Nord added a comment - even though the duplicate is the other way around the other issue has some comments so closing this one

              People

              • Assignee:
                Unassigned
                Reporter:
                teilo James Nord
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: