291 lines
11 KiB
XML
291 lines
11 KiB
XML
<?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>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.3.7.RELEASE</version>
|
|
<relativePath/>
|
|
<!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
|
|
<groupId>{{ .groupId }}</groupId>
|
|
<artifactId>{{ .artifactId }}</artifactId>
|
|
<version>{{ .version }}</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<junit.version>4.12</junit.version>
|
|
<vs.common.util.version>1.2.2</vs.common.util.version>
|
|
<vs.common.version>1.2.0</vs.common.version>
|
|
<ox.sprintboot.web.starter.version>1.0-SNAPSHOT</ox.sprintboot.web.starter.version>
|
|
<lombok.version>1.18.20</lombok.version>
|
|
<javax.annotation.api.version>1.3.2</javax.annotation.api.version>
|
|
<logback.classic.version>1.2.3</logback.classic.version>
|
|
<log4j.version>2.23.1</log4j.version>
|
|
<ox.basidc.common>1.0-SNAPSHOT</ox.basidc.common>
|
|
<flyway.version>5.2.4</flyway.version>
|
|
<vs.common.rpc.version>1.3.0-SNAPSHOT</vs.common.rpc.version>
|
|
<vs.common.agent.version>1.3.0-SNAPSHOT</vs.common.agent.version>
|
|
<vs.sqlmapper.spring>1.0.0-SNAPSHOT</vs.sqlmapper.spring>
|
|
<vs.mock.spring>1.0.0-SNAPSHOT</vs.mock.spring>
|
|
<vs.elasticsearch.version>1.0.0-SNAPSHOT</vs.elasticsearch.version>
|
|
<org.hibernate.core>5.5.7.Final</org.hibernate.core>
|
|
<vs.bo.common>1.0-SNAPSHOT</vs.bo.common>
|
|
<cn.hutool.all>5.7.4</cn.hutool.all>
|
|
<vs.debug.version>1.0.0-SNAPSHOT</vs.debug.version>
|
|
<javax.persistence-api>2.2</javax.persistence-api>
|
|
<elasticsearch.version>7.3.1</elasticsearch.version>
|
|
<dist.version>1.2.2</dist.version>
|
|
{{- if eq .dbType "mysql" }}
|
|
{{- else if eq .dbType "postgresql" }}
|
|
<postgresql.version>42.6.2</postgresql.version>
|
|
{{- end }}
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>ox-bo-common</artifactId>
|
|
<version>${vs.bo.common}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>common-rpc</artifactId>
|
|
<version>${vs.common.rpc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>common-agent</artifactId>
|
|
<version>${vs.common.agent.version}</version>
|
|
</dependency>
|
|
{{- if eq .dbType "mysql" }}
|
|
{{- else if eq .dbType "postgresql" }}
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
</dependency>
|
|
{{- end }}
|
|
<!-- uncomment to enable livereload
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
</dependency> -->
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>${cn.hutool.all}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.persistence</groupId>
|
|
<artifactId>javax.persistence-api</artifactId>
|
|
<version>${javax.persistence-api}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
<version>${org.hibernate.core}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>ox-bo-common</artifactId>
|
|
<version>${vs.bo.common}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>2.6.2</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>ox-springboot-web-starter</artifactId>
|
|
<version>${ox.sprintboot.web.starter.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>dist</artifactId>
|
|
<version>${dist.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
<version>${javax.annotation.api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.classic.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>ox-basidc-common</artifactId>
|
|
<version>${ox.basidc.common}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>common-rpc</artifactId>
|
|
<version>${vs.common.rpc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs-sqlmapper-spring</artifactId>
|
|
<version>${vs.sqlmapper.spring}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs-elasticsearch</artifactId>
|
|
<version>${vs.elasticsearch.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs-mock-web</artifactId>
|
|
<version>${vs.mock.spring}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs-debug-agent</artifactId>
|
|
<version>${vs.debug.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs-debug-plugin</artifactId>
|
|
<version>${vs.debug.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.vs</groupId>
|
|
<artifactId>vs.common.util</artifactId>
|
|
<version>${vs.common.util.version}</version>
|
|
</dependency>
|
|
{{- if eq .db_type "mysql" }}
|
|
{{- else if eq .db_type "postgresql" }}
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${postgresql.version}</version>
|
|
</dependency>
|
|
{{- end }}
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce</id>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<requireJavaVersion>
|
|
<version>[11.0,21.0)</version>
|
|
</requireJavaVersion>
|
|
<requireMavenVersion>
|
|
<version>3.8</version>
|
|
</requireMavenVersion>
|
|
</rules>
|
|
<fail>true</fail>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>zeroware-maven-releases</id>
|
|
<url>https://repo.byteawake.com/repository/zeroware-maven-releases/</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>zeroware-maven-snapshots</id>
|
|
<url>https://repo.byteawake.com/repository/zeroware-maven-snapshots/</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<modules>
|
|
<module>entrance</module>
|
|
<module>common</module>
|
|
</modules>
|
|
</project>
|