used standard parent in the project

This commit is contained in:
amit.pandey 2020-07-18 23:49:58 +05:30
parent 714d1dbcf9
commit 2f2450fbb9
2 changed files with 8 additions and 7 deletions

View File

@ -2,18 +2,19 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>hexagonal-architecture</artifactId> <artifactId>hexagonal-architecture</artifactId>
<version>1.0</version> <version>1.0</version>
<name>hexagonal-architecture</name> <name>hexagonal-architecture</name>
<description>Project for hexagonal architecture in java</description> <description>Project for hexagonal architecture in java</description>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath>
</parent>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
</properties> </properties>

View File

@ -11,7 +11,7 @@ import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
class EmployeeServiceImplTest { class EmployeeServiceImplUnitTest {
private EmployeeRepository employeeRepository; private EmployeeRepository employeeRepository;
private EmployeeService testService; private EmployeeService testService;