|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +
|
| 4 | + This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). |
| 5 | +
|
| 6 | + The MIT License |
| 7 | + Copyright © 2014-2022 Ilkka Seppälä |
| 8 | +
|
| 9 | + Permission is hereby granted, free of charge, to any person obtaining a copy |
| 10 | + of this software and associated documentation files (the "Software"), to deal |
| 11 | + in the Software without restriction, including without limitation the rights |
| 12 | + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 13 | + copies of the Software, and to permit persons to whom the Software is |
| 14 | + furnished to do so, subject to the following conditions: |
| 15 | +
|
| 16 | + The above copyright notice and this permission notice shall be included in |
| 17 | + all copies or substantial portions of the Software. |
| 18 | +
|
| 19 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 20 | + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 21 | + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 22 | + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 23 | + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 24 | + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 25 | + THE SOFTWARE. |
| 26 | +
|
| 27 | +--> |
| 28 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 29 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 30 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 31 | + <modelVersion>4.0.0</modelVersion> |
| 32 | + <parent> |
| 33 | + <groupId>com.iluwatar</groupId> |
| 34 | + <artifactId>java-design-patterns</artifactId> |
| 35 | + <version>1.26.0-SNAPSHOT</version> |
| 36 | + </parent> |
| 37 | + |
| 38 | + <artifactId>health-check</artifactId> |
| 39 | + |
| 40 | + <dependencies> |
| 41 | + <!-- Spring Boot Dependencies --> |
| 42 | + <dependency> |
| 43 | + <groupId>org.springframework.boot</groupId> |
| 44 | + <artifactId>spring-boot-starter-web</artifactId> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <!-- Spring Boot Actuator for health check --> |
| 48 | + <dependency> |
| 49 | + <groupId>org.springframework.boot</groupId> |
| 50 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 51 | + </dependency> |
| 52 | + |
| 53 | + <!-- Spring Boot Data JPA for database access --> |
| 54 | + <dependency> |
| 55 | + <groupId>org.springframework.boot</groupId> |
| 56 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 57 | + </dependency> |
| 58 | + |
| 59 | + <!-- Testing Dependencies --> |
| 60 | + <dependency> |
| 61 | + <groupId>org.springframework.boot</groupId> |
| 62 | + <artifactId>spring-boot-starter-test</artifactId> |
| 63 | + <scope>test</scope> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <!-- Spring Retry for retrying failed database operations --> |
| 67 | + <dependency> |
| 68 | + <groupId>org.springframework.retry</groupId> |
| 69 | + <artifactId>spring-retry</artifactId> |
| 70 | + </dependency> |
| 71 | + |
| 72 | + |
| 73 | + <!-- JUnit Jupiter Engine for testing --> |
| 74 | + <dependency> |
| 75 | + <groupId>org.junit.jupiter</groupId> |
| 76 | + <artifactId>junit-jupiter-engine</artifactId> |
| 77 | + <scope>test</scope> |
| 78 | + </dependency> |
| 79 | + |
| 80 | + <!-- Mockito for mocking in tests --> |
| 81 | + <dependency> |
| 82 | + <groupId>org.mockito</groupId> |
| 83 | + <artifactId>mockito-core</artifactId> |
| 84 | + <scope>test</scope> |
| 85 | + </dependency> |
| 86 | + |
| 87 | + <!-- H2 for mocking database --> |
| 88 | + <dependency> |
| 89 | + <groupId>com.h2database</groupId> |
| 90 | + <artifactId>h2</artifactId> |
| 91 | + <scope>runtime</scope> |
| 92 | + </dependency> |
| 93 | + |
| 94 | + <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core --> |
| 95 | + <dependency> |
| 96 | + <groupId>org.assertj</groupId> |
| 97 | + <artifactId>assertj-core</artifactId> |
| 98 | + <version>3.24.2</version> |
| 99 | + <scope>test</scope> |
| 100 | + </dependency> |
| 101 | + |
| 102 | + <dependency> |
| 103 | + <groupId>io.rest-assured</groupId> |
| 104 | + <artifactId>rest-assured</artifactId> |
| 105 | + <scope>test</scope> |
| 106 | + </dependency> |
| 107 | + |
| 108 | + |
| 109 | + </dependencies> |
| 110 | + |
| 111 | + |
| 112 | + <build> |
| 113 | + <plugins> |
| 114 | + <!-- Maven Assembly Plugin for creating a single distributable JAR --> |
| 115 | + <plugin> |
| 116 | + <groupId>org.apache.maven.plugins</groupId> |
| 117 | + <artifactId>maven-assembly-plugin</artifactId> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <phase>package</phase> |
| 121 | + <goals> |
| 122 | + <goal>single</goal> |
| 123 | + </goals> |
| 124 | + <configuration> |
| 125 | + <descriptorRefs> |
| 126 | + <descriptorRef>jar-with-dependencies</descriptorRef> |
| 127 | + </descriptorRefs> |
| 128 | + <archive> |
| 129 | + <manifest> |
| 130 | + <!-- Define the main class for the executable JAR --> |
| 131 | + <mainClass>com.iluwatar.healthcheck.App</mainClass> |
| 132 | + </manifest> |
| 133 | + </archive> |
| 134 | + </configuration> |
| 135 | + </execution> |
| 136 | + </executions> |
| 137 | + </plugin> |
| 138 | + |
| 139 | + <!-- Other plugins as needed --> |
| 140 | + |
| 141 | + </plugins> |
| 142 | + </build> |
| 143 | +</project> |
0 commit comments