4.0.0 io.spring.cloud multiple-datasources jar 2.1.0.RELEASE To show users how to enable a task with a multiple DataSources. Spring Cloud Task Multiple DataSources Application org.springframework.boot spring-boot-starter-parent 2.1.2.RELEASE UTF-8 1.8 org.springframework.cloud spring-cloud-task-dependencies 2.1.0.RELEASE pom import org.springframework.cloud spring-cloud-starter-task org.springframework.boot spring-boot-starter-jdbc com.h2database h2 org.hsqldb hsqldb org.springframework.boot spring-boot-starter-test test spring-snapshots Spring Snapshots https://repo.spring.io/libs-snapshot-local true spring-milestones Spring Milestones https://repo.spring.io/libs-milestone-local false spring-releases Spring Releases https://repo.spring.io/release false spring-snapshots Spring Snapshots https://repo.spring.io/libs-snapshot-local true spring-milestones Spring Milestones https://repo.spring.io/libs-milestone-local false org.springframework.boot spring-boot-maven-plugin org.apache.maven.plugins maven-javadoc-plugin 3.0.1 attach-javadocs jar org.apache.maven.plugins maven-source-plugin 3.0.1 attach-sources jar maven-deploy-plugin true