|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>com.in28minutes.springboot.rest.example</groupId> |
| 7 | + <artifactId>spring-boot-2-jpa-spring-data-rest</artifactId> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + |
| 11 | + <name>spring-boot-2-jpa-with-hibernate-and-h2</name> |
| 12 | + <description>Spring Boot 2, Hibernate, JPA and H2 - Example Project</description> |
| 13 | + |
| 14 | + <parent> |
| 15 | + <groupId>org.springframework.boot</groupId> |
| 16 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 17 | + <version>2.3.1.RELEASE</version> |
| 18 | + <relativePath /> <!-- lookup parent from repository --> |
| 19 | + </parent> |
| 20 | + |
| 21 | + <properties> |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 24 | + <java.version>1.8</java.version> |
| 25 | + <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> |
| 26 | + </properties> |
| 27 | + |
| 28 | + <dependencies> |
| 29 | + <dependency> |
| 30 | + <groupId>org.springframework.boot</groupId> |
| 31 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 32 | + </dependency> |
| 33 | + |
| 34 | + <dependency> |
| 35 | + <groupId>org.springframework.boot</groupId> |
| 36 | + <artifactId>spring-boot-starter-data-rest</artifactId> |
| 37 | + </dependency> |
| 38 | + |
| 39 | + <dependency> |
| 40 | + <groupId>org.springframework.boot</groupId> |
| 41 | + <artifactId>spring-boot-starter-web</artifactId> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <dependency> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-devtools</artifactId> |
| 47 | + <scope>runtime</scope> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>com.h2database</groupId> |
| 51 | + <artifactId>h2</artifactId> |
| 52 | + <scope>runtime</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.springframework.boot</groupId> |
| 56 | + <artifactId>spring-boot-starter-test</artifactId> |
| 57 | + <scope>test</scope> |
| 58 | + </dependency> |
| 59 | + </dependencies> |
| 60 | + |
| 61 | + <build> |
| 62 | + <plugins> |
| 63 | + <plugin> |
| 64 | + <groupId>org.springframework.boot</groupId> |
| 65 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 66 | + </plugin> |
| 67 | + </plugins> |
| 68 | + </build> |
| 69 | + |
| 70 | + <repositories> |
| 71 | + <repository> |
| 72 | + <id>spring-snapshots</id> |
| 73 | + <name>Spring Snapshots</name> |
| 74 | + <url>https://repo.spring.io/snapshot</url> |
| 75 | + <snapshots> |
| 76 | + <enabled>true</enabled> |
| 77 | + </snapshots> |
| 78 | + </repository> |
| 79 | + <repository> |
| 80 | + <id>spring-milestones</id> |
| 81 | + <name>Spring Milestones</name> |
| 82 | + <url>https://repo.spring.io/milestone</url> |
| 83 | + <snapshots> |
| 84 | + <enabled>false</enabled> |
| 85 | + </snapshots> |
| 86 | + </repository> |
| 87 | + </repositories> |
| 88 | + |
| 89 | + <pluginRepositories> |
| 90 | + <pluginRepository> |
| 91 | + <id>spring-snapshots</id> |
| 92 | + <name>Spring Snapshots</name> |
| 93 | + <url>https://repo.spring.io/snapshot</url> |
| 94 | + <snapshots> |
| 95 | + <enabled>true</enabled> |
| 96 | + </snapshots> |
| 97 | + </pluginRepository> |
| 98 | + <pluginRepository> |
| 99 | + <id>spring-milestones</id> |
| 100 | + <name>Spring Milestones</name> |
| 101 | + <url>https://repo.spring.io/milestone</url> |
| 102 | + <snapshots> |
| 103 | + <enabled>false</enabled> |
| 104 | + </snapshots> |
| 105 | + </pluginRepository> |
| 106 | + </pluginRepositories> |
| 107 | + |
| 108 | + |
| 109 | +</project> |
0 commit comments