Skip to content

Commit

Permalink
Merge pull request #9 from mohamed-taman/feature/develop_mservices_la…
Browse files Browse the repository at this point in the history
…yers_TID#1

Feature/develop mservices layers closes #1 #2 #3
  • Loading branch information
mohamed-taman authored Sep 6, 2020
2 parents baab59d + 9ccf256 commit f4623a1
Show file tree
Hide file tree
Showing 45 changed files with 1,392 additions and 265 deletions.
98 changes: 98 additions & 0 deletions bank-base/bank-build-chassis/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.0-M2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<groupId>org.siriusxi.blueharvest.bank</groupId>
<artifactId>bank-build-chassis</artifactId>
<version>1.0-SNAPSHOT</version>
<name>Harvest Bank Build Chassis</name>
<description>Parent pom project for Building Harvest Bank services and libraries</description>
<packaging>pom</packaging>

<properties>
<java.version>15</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<!-- Dependencies versions properties -->
<maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version>
<maven.surefire.plugin.version>3.0.0-M4</maven.surefire.plugin.version>
<maven.failsafe.plugin.version>3.0.0-M4</maven.failsafe.plugin.version>
<org.lombok.version>1.18.12</org.lombok.version>
</properties>

<dependencies>
<!-- Start - POJO creation made easy -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- End - POJO creation made easy -->
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<release>${java.version}</release>
<compilerArgs>--enable-preview</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<argLine>--enable-preview</argLine>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration>
<argLine>--enable-preview</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<!-- Add Spring repositories -->
<!-- (you don't need this if you are using a .RELEASE version) -->
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
</project>
138 changes: 138 additions & 0 deletions bank-base/bank-services-chassis/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?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>

<parent>
<groupId>org.siriusxi.blueharvest.bank</groupId>
<artifactId>bank-build-chassis</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../bank-build-chassis/pom.xml</relativePath>
</parent>

<artifactId>bank-services-chassis</artifactId>
<name>Bank Services Chassis</name>
<version>1.0-SNAPSHOT</version>
<description>Parent pom project for Building Harvest Bank μServices</description>
<packaging>pom</packaging>

<!-- General and common dependencies for all services and libraries -->
<dependencies>

<!-- Start - Store application business dependencies -->
<dependency>
<groupId>org.siriusxi.blueharvest.bank</groupId>
<artifactId>bank-common</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- End - Store application business dependencies -->

<!-- Start - Development dependencies -->
<!-- Start - Developer utilities tools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!-- End - Developer utilities tools -->
<!-- Start - Spring Configs processor -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- End - Spring Configs processor -->
<!-- Start - Spring tool to check the old keys to be migrated to new ones -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-properties-migrator</artifactId>
<scope>runtime</scope>
</dependency>
<!-- End - Spring tool to check the old keys to be migrated to new ones -->
<!-- Start - Providing some useful infos about the service through REST API -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- End - Providing some useful infos about the service through REST API -->
<!-- End - Development dependencies -->

<!-- Start - Typical spring web framework -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- End - Typical spring web framework -->

<!-- Start - H2 in-memory Database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<!-- End - H2 in-memory Database -->
<!-- Start - JPA tools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<!-- Start - JPA tools -->

<!-- Start - Testing dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<scope>test</scope>
</dependency>
<!-- End - Testing dependencies -->
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- Make final jar, a layered jar -->
<layers>
<enabled>true</enabled>
</layers>
</configuration>
<executions>
<execution>
<goals>
<!--
To generate build information to be included via
http(s)://<hostname>:<port>/actuator/info
-->
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit f4623a1

Please sign in to comment.