-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
88 lines (73 loc) · 3.64 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <!-- The POM model version used for this project. -->
<parent>
<groupId>org.springframework.boot</groupId> <!-- The group ID for the Spring Boot starter parent. -->
<artifactId>spring-boot-starter-parent</artifactId> <!-- Parent project for Spring Boot applications. -->
<version>3.3.5</version> <!-- Specifies the version of Spring Boot. -->
<relativePath/>
<!-- Specifies to look for the parent in the repository. -->
</parent>
<groupId>com.example</groupId> <!-- The group ID for this project. -->
<artifactId>demo</artifactId> <!-- The artifact ID, unique within the group. -->
<version>0.0.1-SNAPSHOT</version> <!-- The project version. -->
<name>demo</name> <!-- Name of the project. -->
<description>Demo project for Spring Boot</description> <!-- Short description of the project. -->
<url/>
<!-- Placeholder for the project URL (optional). -->
<properties>
<java.version>17</java.version> <!-- Java version used for the project. -->
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<version>3.3.5</version> <!-- Ensure this matches your Spring Boot version -->
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<!-- Spring Boot starter for building web applications with REST APIs. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Spring Boot starter for unit and integration testing. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <!-- Indicates that this dependency is only used for testing. -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<!-- H2 database sql Provides a fast in-memory database
that supports JDBC API and R2DBC access,
with a small (2mb) footprint.
Supports embedded and server modes as well
as a browser based console application. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<!-- JDBC API sql.Database Connectivity API that defines
how a client may connect and query a database. -->
</dependencies>
<build>
<plugins>
<!-- Plugin for packaging and running the Spring Boot application. -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>3.3.5</version> <!-- Specifies the version of the plugin. -->
</plugin>
</plugins>
</build>
</project>
<!-- new database interaction on nexrt commit (h2 sql database)-->