|
|
@@ -1,103 +1,124 @@
|
|
|
<?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">
|
|
|
+<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>
|
|
|
-
|
|
|
- <groupId>com.finikes</groupId>
|
|
|
- <artifactId>ocv1-server</artifactId>
|
|
|
- <version>1.0-SNAPSHOT</version>
|
|
|
-
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>2.0.5.RELEASE</version>
|
|
|
+ <version>2.7.10</version>
|
|
|
+ <relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
-
|
|
|
- <name>oc</name>
|
|
|
- <!-- FIXME change it to the project's website -->
|
|
|
- <url>http://www.example.com</url>
|
|
|
-
|
|
|
+ <groupId>com.finikes</groupId>
|
|
|
+ <artifactId>ocv1-server</artifactId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ <name>ocv1-server</name>
|
|
|
+ <description>Demo project for Spring Boot</description>
|
|
|
<properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <maven.compiler.source>1.7</maven.compiler.source>
|
|
|
- <maven.compiler.target>1.7</maven.compiler.target>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
|
|
|
</properties>
|
|
|
-
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter</artifactId>
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
- <groupId>org.mybatis</groupId>
|
|
|
- <artifactId>mybatis</artifactId>
|
|
|
- <version>3.4.4</version>
|
|
|
+ <groupId>org.mybatis.spring.boot</groupId>
|
|
|
+ <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
+ <version>2.3.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-aop</artifactId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ <version>1.15</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
- <version>8.0.11</version>
|
|
|
+ <version>8.0.32</version>
|
|
|
+ <scope>runtime</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
- <groupId>org.mybatis.spring.boot</groupId>
|
|
|
- <artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
- <version>1.1.1</version>
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
+ <artifactId>mapstruct</artifactId>
|
|
|
+ <version>${org.mapstruct.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-lang3</artifactId>
|
|
|
+ <version>3.12.0</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
- <pluginManagement>
|
|
|
- <!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
- <plugins>
|
|
|
- <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-clean-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
- </plugin>
|
|
|
- <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <version>3.0.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.8.0</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
|
- <version>2.22.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <version>3.0.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-install-plugin</artifactId>
|
|
|
- <version>2.5.2</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-deploy-plugin</artifactId>
|
|
|
- <version>2.8.2</version>
|
|
|
- </plugin>
|
|
|
- <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-site-plugin</artifactId>
|
|
|
- <version>3.7.1</version>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
- <version>3.0.0</version>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.8.1</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source> <!-- depending on your project -->
|
|
|
+ <target>1.8</target> <!-- depending on your project -->
|
|
|
+ <annotationProcessorPaths>
|
|
|
+ <path>
|
|
|
+ <groupId>org.mapstruct</groupId>
|
|
|
+ <artifactId>mapstruct-processor</artifactId>
|
|
|
+ <version>${org.mapstruct.version}</version>
|
|
|
+ </path>
|
|
|
+ <!-- other annotation processors -->
|
|
|
+ </annotationProcessorPaths>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
</build>
|
|
|
-</project>
|
|
|
+ <repositories>
|
|
|
+ <repository>
|
|
|
+ <id>spring-milestones</id>
|
|
|
+ <name>Spring Milestones</name>
|
|
|
+ <url>https://repo.spring.io/milestone</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </repository>
|
|
|
+ <repository>
|
|
|
+ <id>spring-snapshots</id>
|
|
|
+ <name>Spring Snapshots</name>
|
|
|
+ <url>https://repo.spring.io/snapshot</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </releases>
|
|
|
+ </repository>
|
|
|
+ </repositories>
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>spring-milestones</id>
|
|
|
+ <name>Spring Milestones</name>
|
|
|
+ <url>https://repo.spring.io/milestone</url>
|
|
|
+ <snapshots>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </snapshots>
|
|
|
+ </pluginRepository>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>spring-snapshots</id>
|
|
|
+ <name>Spring Snapshots</name>
|
|
|
+ <url>https://repo.spring.io/snapshot</url>
|
|
|
+ <releases>
|
|
|
+ <enabled>false</enabled>
|
|
|
+ </releases>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+
|
|
|
+</project>
|