When running mvn verify I get the message below:

I already put log4j2.xml under src/test/resources (but not in src/main/resources , because I don't want it to go with the real application), as suggested here to no avail.

An HTML report is generated, a log file is written, and the assembly is successful, as shown above. I'm not sure where the error comes from.
log4j2.xml
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN"> <Properties> <Property name="logPath">target/cucumber-logs</Property> </Properties> <Appenders> <RollingFile name="fileLogger" fileName="${logPath}/cucumber-log.log" filePattern="${logPath}/cucumber-log_%d{yyyy-MM-dd}.log"> <PatternLayout> <pattern>[%-5level] %d{HH:mm:ss.SSS} %logger{36}.%M() - %msg%n </pattern> </PatternLayout> <Policies> <OnStartupTriggeringPolicy /> <TimeBasedTriggeringPolicy interval="1" modulate="true" /> </Policies> </RollingFile> <Console name="console" target="SYSTEM_OUT"> <PatternLayout> <pattern>[%-5level] %d{HH:mm:ss.SSS} %logger{36}.%M() - %msg%n </pattern> </PatternLayout> </Console> </Appenders> <Loggers> <Root level="TRACE" additivity="false"> <AppenderRef ref="console" /> <AppenderRef ref="fileLogger" /> </Root> </Loggers> </Configuration>
pom.xml:
<dependencies> <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-server</artifactId> <version>${selenium.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.paulhammant</groupId> <artifactId>ngwebdriver</artifactId> <version>${ngwebdriver.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-testng</artifactId> <version>${cucumber.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.cucumber</groupId> <artifactId>cucumber-picocontainer</artifactId> <version>${cucumber.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.10.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.13</version> </dependency> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.17</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.7.0</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.20.1</version> <configuration> <includes> <include>**/*Runner.java</include> </includes> <testFailureIgnore>true</testFailureIgnore> <reportsDirectory>./target/test-output/${timestamp}</reportsDirectory> </configuration> </plugin> <plugin> <groupId>net.masterthought</groupId> <artifactId>maven-cucumber-reporting</artifactId> <version>3.15.0</version> <executions> <execution> <id>execution</id> <phase>verify</phase> <goals> <goal>generate</goal> </goals> <configuration> <projectName>Simply Do - Balance Projector</projectName> <outputDirectory>${project.build.directory}</outputDirectory> <jsonFiles> <param>${project.build.directory}/cucumber-generated-reports/cucumber-report.json</param> </jsonFiles> <parallelTesting>false</parallelTesting> </configuration> </execution> </executions> </plugin> </plugins> </build>
source share