Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1679

MavenIntegrator shall not add arguments if they are already present in original command

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 4.0.5
    • None
    • Maven plugin
    • None

      This applies to:

      • build phases
      • Clover's properties

      Current problems:

      1) The "clean" phase can be doubled

      For example if original command has:

      mvn clean test
      

      it becomes:

      mvn clean clean clover2:setup test clover2:aggregate clover2:clover ...
      

      2) User cannot override default values of Clover properties

      For example if a property is already defined:

      mvn test -Dmaven.clover.licenseLocation=/my/clover.license
      

      MavenIntegrator adds a second one with it's own value:

      mvn test -Dmaven.clover.licenseLocation=/my/clover.license -Dmaven.clover.licenseLocation=/tmp/clover.license
      

            [CLOV-1679] MavenIntegrator shall not add arguments if they are already present in original command

            Owen made changes -
            Workflow Original: New Clover Workflow [ 898175 ] New: New Clover Workflow - Restricted [ 1475154 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896506 ] New: New Clover Workflow [ 898175 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 851629 ] New: Clover Workflow [ 896506 ]
            Marek Parfianowicz made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Marek Parfianowicz made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Resolved [ 5 ]
            Grzegorz Lewandowski made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Grzegorz Lewandowski made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Marek Parfianowicz made changes -
            Rank New: Ranked lower
            Marek Parfianowicz made changes -
            Sprint New: Sprint 1 [ 1943 ]
            Marek Parfianowicz made changes -
            Rank New: Ranked higher

              glewandowski Grzegorz Lewandowski
              mparfianowicz Marek Parfianowicz
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: