Why not run JUnit tests in maven?

The bottom line: was a small educational project in Java 1.5. Everything in it worked, and the tests also were run. This here pom.xml. Which was generated from archetype quickstart.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelversion>4.0.0</modelversion>

<groupid>ru.intodayer</groupid>
<artifactid>test-arraylist</artifactid>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>test-arraylist</name>
<url>http://maven.apache.org</url>

the <properties>
<project.build.sourceencoding>UTF-8</project.build.sourceencoding>
</properties>

<dependencies>
<dependency>
<groupid>junit</groupid>
<artifactid>junit</artifactid>
<version>3.8.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupid>org.junit.jupiter</groupid>
<artifactid>junit-jupiter-api</artifactid>
<version>5.0.0</version>
<scope>test</scope>
</dependency>

</dependencies>
</project>

But then you had to add working with the interface Predicate with the implementation in the form of lambda (the problem statement). And since lambdas are supported with Java 8. It was necessary to pom.xml in the block properties to add this:
the <properties>
<project.build.sourceencoding>UTF-8</project.build.sourceencoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
 </properties>


I do not know exactly after that or not, but it could be the reason the tests are run. Here's what I see every time I run the command mvn test.
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
The command mvn clean performed.
Please help me to solve the problem. Anyway, they're just not doing it.
June 14th 19 at 18:49
1 answer
June 14th 19 at 18:51
Google tried?Tyk!
At the end of the article there is an example pom.xml. It is not difficult to understand and to try to prescribe what you need. If will not help - we will investigate further.

Find more questions by tags JavaJUnitApache Maven