|
34 | 34 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
35 | 35 | <version>${project.parent.version}</version> |
36 | 36 | </dependency> |
| 37 | + <dependency> |
| 38 | + <groupId>io.keploy</groupId> |
| 39 | + <artifactId>keploy-sdk</artifactId> |
| 40 | + <version>1.4.7 </version> |
| 41 | + </dependency> |
37 | 42 | <dependency> |
38 | 43 | <groupId>org.springframework.boot</groupId> |
39 | 44 | <artifactId>spring-boot-starter-web</artifactId> |
|
56 | 61 | <artifactId>spring-boot-starter-validation</artifactId> |
57 | 62 | <version>${project.parent.version}</version> |
58 | 63 | </dependency> |
59 | | - |
| 64 | + |
60 | 65 | <!-- https://mvnrepository.com/artifact/org.springframework/spring-test --> |
61 | 66 | <dependency> |
62 | 67 | <groupId>org.springframework</groupId> |
|
80 | 85 | <artifactId>spring-boot-maven-plugin</artifactId> |
81 | 86 | <version>${project.parent.version}</version> |
82 | 87 | </plugin> |
83 | | - |
84 | 88 |
|
85 | | - <!-- Plugins to attach java agent when running application using command line |
| 89 | + <!-- Jacoco Maven Plugin --> |
86 | 90 | <plugin> |
87 | | - <groupId>org.apache.maven.plugins</groupId> |
88 | | - <artifactId>maven-dependency-plugin</artifactId> |
89 | | - <version>3.1.1</version> |
| 91 | + <groupId>org.jacoco</groupId> |
| 92 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 93 | + <version>0.8.8</version> |
90 | 94 | <executions> |
91 | 95 | <execution> |
92 | | - <id>copy-dependencies</id> |
93 | | - <phase>package</phase> |
94 | 96 | <goals> |
95 | | - <goal>copy-dependencies</goal> |
| 97 | + <goal>prepare-agent</goal> |
| 98 | + </goals> |
| 99 | + </execution> |
| 100 | + <execution> |
| 101 | + <id>report</id> |
| 102 | + <phase>test</phase> |
| 103 | + <goals> |
| 104 | + <goal>report</goal> |
96 | 105 | </goals> |
97 | 106 | </execution> |
98 | 107 | </executions> |
99 | 108 | </plugin> |
100 | | - <plugin> |
101 | | - <groupId>org.apache.maven.plugins</groupId> |
102 | | - <artifactId>maven-jar-plugin</artifactId> |
103 | | - <version>3.2.2</version> |
104 | | - <configuration> |
105 | | - <archive> |
106 | | - <manifest> |
107 | | - <addClasspath>true</addClasspath> |
108 | | - <classpathPrefix>dependency/</classpathPrefix> |
109 | | - <mainClass>com.example.demo.SamplesJavaApplication</mainClass> |
110 | | - </manifest> |
111 | | - </archive> |
112 | | - </configuration> |
113 | | - </plugin> --> |
114 | 109 | </plugins> |
115 | | - |
116 | 110 | </build> |
117 | | - |
118 | 111 | </project> |
0 commit comments