Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4979

Cannot override configuration parameter from command line

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.2.1
    • None
    • Plugins and Lifecycle
    • None

    Description

      See the attachements for a sample project of the surefire integration tests.

      Its pom sets the skipTests option of the surefire-plugin to false.

      <plugin>
        ...
        <configuration>
          <skipTests>false</skipTests>
        </configuration>
      </plugin>
      

      This configuration is not overriden by the appropriate command line parameter:
      mvn -DskipTests=true test
      Executing this line will set the skipTests parameter of the Surefire plugin to false and the tests will not be skipped.

      Attachments

        Issue Links

        Activity

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

          People

            rfscholte Robert Scholte
            mail@stefan-birkner.de Stefan Birkner
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment