123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- <?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.sysu</groupId>
- <artifactId>sysu_emap</artifactId>
- <version>1.0-SNAPSHOT</version>
- <!-- 打包类型 -->
- <packaging>war</packaging>
- <!-- 父类 -->
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.3.4.RELEASE</version>
- <relativePath />
- </parent>
- <!-- 配置 -->
- <properties>
- <!-- 文件拷贝时的编码 -->
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <!-- 编译时的编码 -->
- <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
- <!-- JAVA版本 -->
- <java.version>1.8</java.version>
- <!-- FAST版本 -->
- <fast.version>2.2.1</fast.version>
- </properties>
- <!-- 版本管理,会引入jar -->
- <dependencies>
- <!-- ==========================gotv-core========================== -->
- <dependency>
- <groupId>com.xiesx.fast</groupId>
- <artifactId>fast-boot</artifactId>
- <version>${fast.version}</version>
- </dependency>
- <!-- ==========================spring-boot========================== -->
- <!-- web -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions><!-- 去掉默认配置 -->
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-redis</artifactId>
- </dependency>
- <!-- data-jdbc -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jdbc</artifactId>
- </dependency>
- <!-- data-jpa -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <!-- config -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <version>1.5.9.RELEASE</version>
- </dependency>
- <!-- quartz -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-quartz</artifactId>
- </dependency>
- <!-- log4j2 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-log4j2</artifactId>
- </dependency>
- <!-- aop -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <!-- ==========================view========================== -->
- <!-- jsp支持 -->
- <dependency>
- <groupId>org.apache.tomcat.embed</groupId>
- <artifactId>tomcat-embed-jasper</artifactId>
- <!-- <scope>provided</scope> -->
- </dependency>
- <!-- jstl标签库 -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core -->
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity-engine-core</artifactId>
- <version>2.3</version>
- <scope>test</scope>
- </dependency>
- <!-- ==========================shiro========================== -->
- <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring -->
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-spring</artifactId>
- <version>1.5.3</version>
- </dependency>
- <!-- ==========================持久层========================== -->
- <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>5.1.8</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa -->
- <dependency>
- <groupId>com.querydsl</groupId>
- <artifactId>querydsl-jpa</artifactId>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-apt -->
- <dependency>
- <groupId>com.querydsl</groupId>
- <artifactId>querydsl-apt</artifactId>
- </dependency>
- <!-- ==========================测试========================== -->
- <!-- https://mvnrepository.com/artifact/junit/junit -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mylib</groupId>
- <artifactId>GeoLib</artifactId>
- <version>1.0</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-spatial -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-spatial</artifactId>
- <version>5.6.10.Final</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/net.postgis/postgis-jdbc -->
- <dependency>
- <groupId>net.postgis</groupId>
- <artifactId>postgis-jdbc</artifactId>
- <version>2.5.1</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.github.zhangquanli/aliyun-sms-spring-boot-starter -->
- <dependency>
- <groupId>com.github.zhangquanli</groupId>
- <artifactId>aliyun-sms-spring-boot-starter</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel</artifactId>
- <version>2.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <!-- optional=true, 依赖不会传递, 该项目依赖devtools;
- 之后依赖boot项目的项目如果想要使用devtools, 需要重新引入 -->
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>com.squareup.okhttp3</groupId>
- <artifactId>okhttp</artifactId>
- <version>3.10.0</version>
- </dependency>
- <dependency>
- <groupId>com.belerweb</groupId>
- <artifactId>pinyin4j</artifactId>
- <version>2.5.0</version>
- </dependency>
- </dependencies>
- <!-- 开发者(非必须) -->
- <developers>
- <developer>
- <name>136305973</name>
- <email>136305973.@qq.com</email>
- </developer>
- </developers>
- <repositories>
- <repository>
- <id>osgeo</id>
- <name>OSGeo Release Repository</name>
- <url>https://repo.osgeo.org/repository/release/</url>
- <snapshots><enabled>false</enabled></snapshots>
- <releases><enabled>false</enabled></releases>
- </repository>
- <repository>
- <id>osgeo-snapshot</id>
- <name>OSGeo Snapshot Repository</name>
- <url>https://repo.osgeo.org/repository/snapshot/</url>
- <snapshots><enabled>false</enabled></snapshots>
- <releases><enabled>false</enabled></releases>
- </repository>
- </repositories>
- <!-- 编译 -->
- <build>
- <finalName>sysu_emap</finalName>
- <plugins>
- <!-- 打包 -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <!-- 测试 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests><!-- 忽略测试 -->
- </configuration>
- </plugin>
- <!-- DSL -->
- <plugin>
- <groupId>com.mysema.maven</groupId>
- <artifactId>apt-maven-plugin</artifactId>
- <version>1.1.3</version>
- <executions>
- <execution>
- <goals>
- <goal>process</goal>
- </goals>
- <configuration>
- <outputDirectory>target/generated-sources/java</outputDirectory>
- <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
- </configuration>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>com.querydsl</groupId>
- <artifactId>querydsl-apt</artifactId>
- <version>${querydsl.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>UTF-8</encoding>
- <!-- <compilerArguments>-->
- <!-- <verbose />-->
- <!-- <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar;</bootclasspath>-->
- <!-- </compilerArguments>-->
- </configuration>
- </plugin>
- <!-- <plugin>-->
- <!-- <groupId>org.apache.maven.plugins</groupId>-->
- <!-- <artifactId>maven-assembly-plugin</artifactId>-->
- <!-- <configuration>-->
- <!-- <descriptors>-->
- <!-- <!–这里的意思是依据指定的配置文件进行打包–>-->
- <!-- <descriptor>src/main/resources/assembly.xml</descriptor>-->
- <!-- </descriptors>-->
- <!-- </configuration>-->
- <!-- <executions>-->
- <!-- <execution>-->
- <!-- <id>make-assembly</id>-->
- <!-- <phase>package</phase>-->
- <!-- <goals>-->
- <!-- <goal>single</goal>-->
- <!-- </goals>-->
- <!-- </execution>-->
- <!-- </executions>-->
- <!-- </plugin>-->
- </plugins>
- <!-- <resources>-->
- <!-- <resource>-->
- <!-- <directory>lib</directory>-->
- <!-- <targetPath>/BOOT-INF/lib/</targetPath>-->
- <!-- <includes>-->
- <!-- <include>**/*.jar</include>-->
- <!-- </includes>-->
- <!-- </resource>-->
- <!-- </resources>-->
- </build>
- </project>
|