spring-multi-data-source
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.dhi13man</groupId>
<artifactId>spring-multi-data-source</artifactId>
<version>0.3.3</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<artifactId>spring-multi-data-source</artifactId>
<build>
<plugins>
<!-- Maven Compiler -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<version>3.8.0</version>
</plugin>
<!-- Maven Deploy -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<version>3.0.0</version>
</plugin>
<!-- Maven Spring Boot -->
<plugin>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
<groupId>org.springframework.boot</groupId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<serverId>ossrh</serverId>
</configuration>
<extensions>true</extensions>
<groupId>org.sonatype.plugins</groupId>
<version>1.6.13</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar-no-fork</goal>
</goals>
<id>attach-sources</id>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>3.2.1</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
<id>attach-javadocs</id>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>3.4.1</version>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
<id>sign-artifacts</id>
<phase>verify</phase>
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>3.0.1</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>deploy</goals>
<releaseProfiles>release</releaseProfiles>
<useReleaseProfile>false</useReleaseProfile>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<version>2.5.3</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>alphabetical</runOrder>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<version>2.22.2</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<artifactId>spring-boot</artifactId>
<groupId>org.springframework.boot</groupId>
<scope>provided</scope>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<artifactId>spring-data-jpa</artifactId>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
<groupId>org.springframework.data</groupId>
<scope>provided</scope>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<artifactId>spring-boot-autoconfigure</artifactId>
<groupId>org.springframework.boot</groupId>
<scope>provided</scope>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<artifactId>hibernate-core</artifactId>
<groupId>org.hibernate</groupId>
<scope>provided</scope>
<version>5.6.15.Final</version>
</dependency>
<dependency>
<artifactId>javapoet</artifactId>
<groupId>com.squareup</groupId>
<version>1.13.0</version>
</dependency>
<dependency>
<artifactId>auto-service</artifactId>
<groupId>com.google.auto.service</groupId>
<scope>provided</scope>
<version>1.1.1</version>
</dependency>
<dependency>
<artifactId>junit-jupiter</artifactId>
<groupId>org.junit.jupiter</groupId>
<scope>test</scope>
<version>5.10.0</version>
</dependency>
<dependency>
<artifactId>mockito-core</artifactId>
<groupId>org.mockito</groupId>
<scope>test</scope>
<version>5.2.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.h2database/h2 -->
<dependency>
<artifactId>h2</artifactId>
<groupId>com.h2database</groupId>
<scope>test</scope>
<version>2.2.220</version>
</dependency>
</dependencies>
<description>
To mitigate Spring's limitations with multiple data sources in a single service, this
library provides two custom annotations in Java that automatically generate all the required
bean definition configurations and package-segregated repositories, for each data source.
</description>
<developers>
<developer>
<email>furyx.ds@gmail.com</email>
<name>Dhiman Seal</name>
</developer>
</developers>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<groupId>io.github.dhi13man</groupId>
<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE</name>
<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
</license>
</licenses>
<modelVersion>4.0.0</modelVersion>
<name>${project.groupId}:${project.artifactId}</name>
<packaging>jar</packaging>
<properties>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sonar.language>java</sonar.language>
<spring.boot.version>2.7.18</spring.boot.version>
</properties>
<scm>
<connection>scm:git:git://github.com/Dhi13man/spring-multi-data-source.git</connection>
<developerConnection>scm:git:ssh://github.com/Dhi13man/spring-multi-data-source.git
</developerConnection>
<url>github.com/Dhi13man/spring-multi-data-source/tree/master</url>
</scm>
<url>http://www.github.com/dhi13man/spring-multi-data-source</url>
<version>0.3.3</version>
</project>