Location>code7788 >text

SpringBoot Demo] MySQL + JPA + Hibernate + Springboot + Maven Demo

Popularity:914 ℃/2024-09-10 13:58:34
1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="/POM/4.0.0" xmlns:xsi="http:///2001/XMLSchema-instance" 3 xsi:schemaLocation="/POM/4.0.0 /xsd/maven-4.0."> 4 <modelVersion>4.0.0</modelVersion> 5 <groupId></groupId> 6 <artifactId>demo</artifactId> 7 <version>0.0.1-SNAPSHOT</version> 8 <name>demo</name> 9 <description>demo for Spring Boot</description> 10 <properties> 11 <>1.8</> 12 <>UTF-8</> 13 <>UTF-8</> 14 <>2.6.13</> 15 </properties> 16 <dependencies> 17 <dependency> 18 <groupId></groupId> 19 <artifactId>spring-boot-starter-web</artifactId> 20 </dependency> 21 <dependency> 22 <groupId></groupId> 23 <artifactId>spring-boot-starter-data-jpa</artifactId> 24 </dependency> 25 <dependency> 26 <groupId></groupId> 27 <artifactId>querydsl-jpa</artifactId> 28 <version>4.1.4</version> 29 </dependency> 30 <dependency> 31 <groupId></groupId> 32 <artifactId>querydsl-apt</artifactId> 33 <version>4.1.4</version> 34 </dependency> 35 <dependency> 36 <groupId></groupId> 37 <artifactId>fastjson</artifactId> 38 <version>2.0.32</version> 39 </dependency> 40 <dependency> 41 <groupId>commons-lang</groupId> 42 <artifactId>commons-lang</artifactId> 43 <version>2.6</version> 44 </dependency> 45 <dependency> 46 <groupId></groupId> 47 <artifactId>httpclient</artifactId> 48 <version>4.5.13</version> 49 </dependency> 50 <dependency> 51 <groupId>mysql</groupId> 52 <artifactId>mysql-connector-java</artifactId> 53 <version>8.0.19</version> 54 </dependency> 55 <dependency> 56 <groupId></groupId> 57 <artifactId>lombok</artifactId> 58 <optional>true</optional> 59 </dependency> 60 <dependency> 61 <groupId></groupId> 62 <artifactId>spring-boot-starter-test</artifactId> 63 <scope>test</scope> 64 </dependency> 65 </dependencies> 66 <dependencyManagement> 67 <dependencies> 68 <dependency> 69 <groupId></groupId> 70 <artifactId>spring-boot-dependencies</artifactId> 71 <version>${}</version> 72 <type>pom</type> 73 <scope>import</scope> 74 </dependency> 75 </dependencies> 76 </dependencyManagement> 77 78 <build> 79 <plugins> 80 <plugin> 81 <groupId></groupId> 82 <artifactId>maven-compiler-plugin</artifactId> 83 <version>3.8.1</version> 84 <configuration> 85 <source>1.8</source> 86 <target>1.8</target> 87 <encoding>UTF-8</encoding> 88 </configuration> 89 </plugin> 90 <plugin> 91 <groupId></groupId> 92 <artifactId>spring-boot-maven-plugin</artifactId> 93 <version>${}</version> 94 <configuration> 95 <includeSystemScope>true</includeSystemScope> 96 <mainClass></mainClass> 97 </configuration> 98 <executions> 99 <execution> 100 <id>repackage</id> 101 <goals> 102 <goal>repackage</goal> 103 </goals> 104 </execution> 105 </executions> 106 </plugin> 107 </plugins> 108 </build> 109 <!-- Configure AliCloud Warehouse--> 110 <repositories> 111 <repository> 112 <id>dzh-public</id> 113 <name>dzh maven</name> 114 <url>/repository/public/</url> 115 <releases> 116 <enabled>true</enabled> 117 </releases> 118 </repository> 119 </repositories> 120 121 <pluginRepositories> 122 <pluginRepository> 123 <id>dzh-public-plugin</id> 124 <name>dzh nexus plugin</name> 125 <url>/repository/public/</url> 126 <releases> 127 <enabled>true</enabled> 128 </releases> 129 <snapshots> 130 <enabled>false</enabled> 131 </snapshots> 132 </pluginRepository> 133 </pluginRepositories> 134 135 </project>