Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1294

"Skipping by Default" how-to has mistake

    XMLWordPrintableJSON

    Details

      Description

      Currently states:

      <project>
        [...]
        <properties>
          <skipTests>true</skipTests>
        </properties>
        [...]
        <build>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-failsafe-plugin</artifactId>
              <version>2.19.1</version>
              <configuration>
                <skipTests>false</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </build>
        [...]
      </project>
      

      but should actually be

      <project>
        [...]
        <properties>
          <skipTests>true</skipTests>
        </properties>
        [...]
        <build>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-failsafe-plugin</artifactId>
              <version>2.19.1</version>
              <configuration>
                <skipTests>${skipTests}</skipTests>
              </configuration>
            </plugin>
          </plugins>
        </build>
        [...]
      </project>
      

      Notice

      <skipTests>${skipTests}</skipTests>

      .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibordigana Tibor Digana
                Reporter:
                eduard Eduard von Feek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified