Unskippable Maven Tests

The following maven plugin configuration introduces "unskippable" unit tests:

    
<build>
<plugins>
    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.20.1</version>
        <configuration>
            <skipTests>false</skipTests>
        </configuration>
    </plugin>
</plugins>
</build>


Even with the mvn clean install -DskipTests system property, all unit tests are still going to be executed.

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.

Comments:

felling niccccccccccccceee

Posted by saumy anand on November 10, 2017 at 09:06 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License