Spaces:
Sleeping
Sleeping
| <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> | |
| <parent> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-parent</artifactId> | |
| <version>3.1.5</version> | |
| <relativePath /> | |
| </parent> | |
| <groupId>com.bezkoder</groupId> | |
| <artifactId>My_media</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <name>spring-boot-data-jpa</name> | |
| <description>Demo project for Spring Boot Apis CRUD using Spring Data JPA</description> | |
| <properties> | |
| <java.version>21</java.version> | |
| </properties> | |
| <dependencies> | |
| <!-- Web --> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-web</artifactId> | |
| </dependency> | |
| <!-- Spring Data JPA --> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-data-jpa</artifactId> | |
| </dependency> | |
| <!-- MySQL Driver --> | |
| <dependency> | |
| <groupId>com.mysql</groupId> | |
| <artifactId>mysql-connector-j</artifactId> | |
| <scope>runtime</scope> | |
| </dependency> | |
| <!-- Validation (optional but useful for input checks) --> | |
| <dependency> | |
| <groupId>jakarta.validation</groupId> | |
| <artifactId>jakarta.validation-api</artifactId> | |
| </dependency> | |
| <!-- Lombok (optional, for cleaner model code) --> | |
| <dependency> | |
| <groupId>org.projectlombok</groupId> | |
| <artifactId>lombok</artifactId> | |
| <optional>true</optional> | |
| </dependency> | |
| <!-- Testing --> | |
| <dependency> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-starter-test</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <!--Swagger--> | |
| <dependency> | |
| <groupId>org.springdoc</groupId> | |
| <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> | |
| <version>2.2.0</version> | |
| </dependency> | |
| <!-- JWT --> | |
| <dependency> | |
| <groupId>com.auth0</groupId> | |
| <artifactId>java-jwt</artifactId> | |
| <version>4.4.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-codec</groupId> | |
| <artifactId>commons-codec</artifactId> | |
| <version>1.15</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.springframework.boot</groupId> | |
| <artifactId>spring-boot-maven-plugin</artifactId> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |