Adrian Chlebosz af3a000b1e
BAEL-7544: Disable enable scheduling on spring tests (#16125)
* BEAL-7544: Add examples showing how to disable scheduled tasks for testing

* BEAL-7544: Get rid of final keywords

* BEAL-7544: Add the config and test showing the case when the scheduling is simply turned on

* BEAL-7544: Introduce amendments after review

- add initialDelayString param to the scheduled annotation on the tested method
- delete unnecessary unit test

* BEAL-7544: Move code to new module
2024-04-10 18:50:10 -05:00

40 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<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>
<artifactId>spring-scheduling-2</artifactId>
<version>0.1-SNAPSHOT</version>
<name>spring-scheduling-2</name>
<packaging>jar</packaging>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-3</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>repackage</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>