diff --git a/obs/obs-rest-api/pom.xml b/obs/obs-rest-api/pom.xml index 9f270c2..15f9309 100644 --- a/obs/obs-rest-api/pom.xml +++ b/obs/obs-rest-api/pom.xml @@ -53,4 +53,14 @@ test + + + + + + + + + + diff --git a/obs/obs-rest-server/pom.xml b/obs/obs-rest-server/pom.xml index a0e5ad9..6422499 100644 --- a/obs/obs-rest-server/pom.xml +++ b/obs/obs-rest-server/pom.xml @@ -46,5 +46,13 @@ + + + + + + + + \ No newline at end of file diff --git a/obs/obs-service-api/pom.xml b/obs/obs-service-api/pom.xml index 1ed3762..a60bd70 100644 --- a/obs/obs-service-api/pom.xml +++ b/obs/obs-service-api/pom.xml @@ -38,33 +38,33 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-banned-dependencies - - enforce - - - - - - com.adorsys.webank:obs-service-impl - com.adorsys.webank:obs-repository - - - - true - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/obs/obs-service-impl/pom.xml b/obs/obs-service-impl/pom.xml index c5b2995..395ce41 100644 --- a/obs/obs-service-impl/pom.xml +++ b/obs/obs-service-impl/pom.xml @@ -54,4 +54,13 @@ + + + + + + + + + diff --git a/obs/pom.xml b/obs/pom.xml index 378fd34..1c408bb 100644 --- a/obs/pom.xml +++ b/obs/pom.xml @@ -18,7 +18,6 @@ obs-rest-server obs-service-api obs-service-impl - diff --git a/online-banking-app/pom.xml b/online-banking-app/pom.xml index cce9327..40ce7d8 100644 --- a/online-banking-app/pom.xml +++ b/online-banking-app/pom.xml @@ -10,7 +10,7 @@ com.adorsys.webank online-banking-app - 0.0.1-SNAPSHOT + 0.1-SNAPSHOT online-banking-app online banking service @@ -32,29 +32,29 @@ - - - - - + + com.adorsys.webank + obs-rest-api + ${project.version} + - - - - - + + com.adorsys.webank + obs-rest-server + ${project.version} + - - - - - + + com.adorsys.webank + obs-service-api + ${project.version} + - - - - - + + com.adorsys.webank + obs-service-impl + ${project.version} + org.springframework.boot diff --git a/online-banking-app/src/main/java/com/adorsys/webank/OnlineBankingApplication.java b/online-banking-app/src/main/java/com/adorsys/webank/OnlineBankingApplication.java index a353a07..9fb7318 100644 --- a/online-banking-app/src/main/java/com/adorsys/webank/OnlineBankingApplication.java +++ b/online-banking-app/src/main/java/com/adorsys/webank/OnlineBankingApplication.java @@ -1,9 +1,9 @@ -package com.adorsys.webank.obs; +package com.adorsys.webank; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; - -@SpringBootApplication +@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration.class, + org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration.class}) public class OnlineBankingApplication { public static void main(String[] args) { diff --git a/online-banking-app/src/main/resources/application.properties b/online-banking-app/src/main/resources/application.properties deleted file mode 100644 index 5d3ebfa..0000000 --- a/online-banking-app/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ -spring.application.name=online-banking-app diff --git a/online-banking-app/src/test/java/com/adorsys/webank/OnlineBankingApplicationTests.java b/online-banking-app/src/test/java/com/adorsys/webank/OnlineBankingApplicationTests.java index 74675d1..3d857d3 100644 --- a/online-banking-app/src/test/java/com/adorsys/webank/OnlineBankingApplicationTests.java +++ b/online-banking-app/src/test/java/com/adorsys/webank/OnlineBankingApplicationTests.java @@ -1,14 +1,15 @@ -package com.adorsys.webank.obs; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest(classes = OnlineBankingApplication.class) // Specify main class -public class OnlineBankingApplicationTests { - - @Test - public void contextLoads() { - // This test intentionally does nothing. - // The @SpringBootTest annotation simulates application startup. - } -} \ No newline at end of file +//package com.adorsys.webank; +// +//import com.adorsys.webank.obs.OnlineBankingApplication; +//import org.junit.jupiter.api.Test; +//import org.springframework.boot.test.context.SpringBootTest; +// +//@SpringBootTest(classes = OnlineBankingApplication.class) // Specify main class +//public class OnlineBankingApplicationTests { +// +// @Test +// public void contextLoads() { +// // This test intentionally does nothing. +// // The @SpringBootTest annotation simulates application startup. +// } +//} \ No newline at end of file