Compare commits

..

45 Commits

Author SHA1 Message Date
38b3cbb4c5 Update template/pom.xml 2025-01-11 08:41:35 +08:00
a0905efaa2 Update template/pom.xml 2025-01-09 14:42:11 +08:00
0d8485e11a Update template/.gitignore 2024-12-31 18:38:09 +08:00
ycl
f9039b7e85 更新 template/entrance/web/src/main/resources/application.properties 2024-12-26 10:08:22 +08:00
835fc333df Update template/Dockerfile 2024-12-05 10:10:17 +08:00
74c996a287 add codestyle 2024-09-30 10:48:53 +08:00
oyo
7ba3330b86 增加agent 2024-09-14 14:46:39 +08:00
oyo
e7873858a7 增加agent 2024-09-14 12:06:28 +08:00
oyo
5b7e07be34 增加agent 2024-09-14 11:10:35 +08:00
041d0116df Update template/.gitignore 2024-09-03 18:45:22 +08:00
ycl
2fad43dbfd 更新 template/common/pom.xml 2024-09-03 10:18:30 +08:00
oyo
e5fd517612 ResponseJsonMethodReturnValueHandler 2024-08-29 17:08:52 +08:00
5e1775eb61 更新 template/pom.xml 2024-08-22 17:21:08 +08:00
cafd3e500a Update template/entrance/web/src/main/java/{{.packagePath}}/entrance/web/AppApplication.java 2024-08-21 12:59:41 +08:00
b6fb55800e 更新 template/pom.xml 2024-08-19 10:59:50 +08:00
d7dfeb3550 更新 template/common/pom.xml 2024-08-18 17:53:38 +08:00
4b8b2f19ff 更新 template/entrance/web/src/main/resources/application-local.properties 2024-08-18 17:08:25 +08:00
a616208ccf 更新 template/entrance/web/pom.xml 2024-08-18 16:35:38 +08:00
ef9d2cf341 更新 template/common/pom.xml 2024-08-18 16:33:14 +08:00
661b1f2a7a 更新 template/entrance/web/pom.xml 2024-08-16 19:23:24 +08:00
9fda09fd8d 更新 template/entrance/web/src/main/resources/application.properties 2024-08-16 19:08:21 +08:00
1e8924e799 更新 template/pom.xml 2024-08-16 19:05:48 +08:00
db4cc3ec27 Update template/entrance/pom.xml 2024-08-13 17:07:51 +08:00
d9110e30ae Update template/pom.xml 2024-08-13 17:07:12 +08:00
6eb819501d Update template/.gitignore 2024-08-13 09:32:20 +08:00
342ea37e12 Delete template/.gitattributes 2024-08-13 09:31:45 +08:00
98d9d0dd2e Update template/.gitattributes 2024-08-09 08:15:35 +08:00
b6df6baa11 Add template/.gitattributes 2024-08-08 21:53:26 +08:00
45242e42bb Update template/.gitignore 2024-08-08 19:10:36 +08:00
36b5fa7ba3 Update template/entrance/web/src/main/resources/application-local.properties 2024-08-07 17:29:48 +08:00
ycl
2dcf7a1f25 更新 template/entrance/web/src/main/resources/#application-local.properties 2024-08-07 16:55:54 +08:00
ycl
45156d8040 删除 template/entrance/web/src/test/java/com/hande/handeTest/entrance/web/AppApplicationTest.java 2024-08-07 16:18:50 +08:00
e03186c495 Update template/entrance/pom.xml 2024-08-07 16:17:22 +08:00
2762838d2c Update template/Dockerfile 2024-08-07 14:30:38 +08:00
ycl
f6d1a1ddee 更新 template/entrance/web/src/main/resources/application-remote.properties 2024-08-07 11:32:03 +08:00
ycl
65365ec4f3 更新 template/entrance/web/src/main/resources/application-online.properties 2024-08-07 11:29:06 +08:00
ycl
240b7c29ff 更新 template/entrance/web/src/main/resources/#application-local.properties 2024-08-07 11:28:24 +08:00
ycl
c832d116a5 更新 template/entrance/web/src/main/java/{{.packagePath}}/entrance/web/AppApplication.java 2024-08-07 11:22:32 +08:00
5f6bacf1db 更新 template/entrance/web/src/main/resources/application-online.properties
注释es配置
2024-08-07 10:39:30 +08:00
7a547471f7 更新 template/entrance/web/src/main/resources/application-remote.properties
注释es配置
2024-08-07 10:38:10 +08:00
ycl
7947e101ef 更新 template/entrance/web/src/main/resources/#application-local.properties 2024-08-07 10:33:48 +08:00
ycl
45b7d9f6a2 更新 template/common/src/main/java/{{.packagePath}}/common/elasticsearch/EsService.java 2024-08-07 10:32:39 +08:00
ycl
e1629f2ccb 更新 template/common/src/main/java/{{.packagePath}}/common/elasticsearch/EsConfiguration.java 2024-08-07 10:31:49 +08:00
e9c7377e84 Merge branch 'main' of https://code.byteawake.com/templates/libawall-springboot-template 2024-08-06 19:34:50 +08:00
7131c56e31 init 2024-08-06 19:34:30 +08:00
23 changed files with 928 additions and 564 deletions

8
template/.gitignore vendored
View File

@@ -10,9 +10,10 @@ classes/
## idea
*.iml
.idea/**
HELP.md
.idea/*
!.idea/codeStyles/
!.idea/dataSources.xml
HELP.md
## vscode
.vscode/
@@ -29,5 +30,6 @@ logs/
## vs
.vs
modules/**
!modules/.gitkeep
.gitattributes
.toco/config.local.yml

7
template/.idea/codeStyles/Project.xml generated Normal file
View File

@@ -0,0 +1,7 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JavaCodeStyleSettings>
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
</JavaCodeStyleSettings>
</code_scheme>
</component>

View File

@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

View File

@@ -1,13 +1,12 @@
# syntax=registry.cn-hangzhou.aliyuncs.com/imageacc/dockerfile:experimental
FROM registry.cn-hangzhou.aliyuncs.com/zeroware/javaapp-builder:latest as builder
FROM maven:3.8.8 AS builder
WORKDIR source
COPY ./ ./
ARG JAR_FILE=entrance/web/target/*.jar
RUN --mount=type=cache,target=/root/.m2/repository,rw --mount=type=tmpfs,target=/root/.m2/repository/{{ .groupId | replace "." "/" }} mvnd clean package -Dmaven.test.skip=true
RUN mvn clean package -Dmaven.test.skip=true
RUN cp ${JAR_FILE} app.jar
RUN java -Djarmode=layertools -jar ./app.jar extract
FROM registry.cn-hangzhou.aliyuncs.com/zeroware/openjdk-17:latest
FROM openjdk:11.0.14
WORKDIR /application
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

View File

@@ -8,17 +8,14 @@
<version>{{ .version }}</version>
</parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}-common</artifactId>
<version>{{ .version }}</version>
<properties>
<elasticsearch.version>7.3.1</elasticsearch.version>
</properties>
<dependencies>
<dependency>
<groupId>com.vs</groupId>
<artifactId>dist</artifactId>
<groupId>com.toco</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
@@ -41,40 +38,29 @@
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>com.vs</groupId>
<artifactId>ox-basidc-common</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>transport</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId>
<version>4.9.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.vs</groupId>
<artifactId>vs.common.util</artifactId>
</dependency>
</dependencies>
</project>

View File

@@ -25,8 +25,11 @@ import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Objects;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
@Configuration
@ConditionalOnProperty(name = "essql.hosts")
public class EsConfiguration {
private static int connectTimeOut = 1000; // 连接超时时间
private static int socketTimeOut = 30000; // 连接超时时间

View File

@@ -52,6 +52,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import {{ .package }}.common.utils.JsonUtils;
@@ -60,6 +62,7 @@ import {{ .package }}.common.utils.JsonUtils;
*/
@Component
@ConditionalOnProperty(name = "essql.hosts")
public class EsService {
@Resource

View File

@@ -5,7 +5,7 @@
<parent>
<groupId>{{ .groupId }}</groupId>
<artifactId>{{ .artifactId }}</artifactId>
<version>1.0-SNAPSHOT</version>
<version>{{ .version }}</version>
</parent>
<artifactId>{{ .artifactId }}-entrance</artifactId>
<version>{{ .version }}</version>

View File

@@ -12,11 +12,7 @@
<dependencies>
<dependency>
<groupId>com.vs</groupId>
<artifactId>ox-springboot-web-starter</artifactId>
</dependency>
<dependency>
<groupId>com.vs</groupId>
<groupId>com.toco</groupId>
<artifactId>vs-sqlmapper-spring</artifactId>
</dependency>
<dependency>
@@ -27,28 +23,18 @@
<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>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<layers>
<enabled>true</enabled>
</layers>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -5,6 +5,7 @@ import com.vs.sqlmapper.spring.DataSourceConfig;
import com.vs.sqlmapper.spring.scan.VSDaoBeanScan;
import com.vs.mock.config.EnableVSMockConfiguration;
import com.vs.sqlmapper.spring.express.EnableVSMockExpress;
import com.vs.agent.TocoAgentInitializer;
import com.vs.debug.stack.agent.LogStackContextInvokeRecorder;
import com.vs.debug.stack.agent.MethodVisitorHandlerFilter;
@@ -17,15 +18,8 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
/**
* 应用入口
*
* @author byteawake
* @date 2021/5/11 下午5:30
*/
@SpringBootApplication(scanBasePackages = {"com.hande", "com.vs", "com.hande.index_sync"})
@VSDaoBeanScan(basePackages = {"com.vs","com.hande"})
@SpringBootApplication(scanBasePackages = {"{{.groupId}}", "com.vs"})
@VSDaoBeanScan(basePackages = {"com.vs","{{.groupId}}"})
@Import(DataSourceConfig.class)
@EnableVSReplayConfiguration
@EnableVSMockConfiguration
@@ -44,6 +38,8 @@ public class AppApplication{
}
public static void main(String[] args) {
SpringApplication.run(AppApplication.class,args);
SpringApplication application = new SpringApplication(AppApplication.class);
application.addInitializers(new TocoAgentInitializer());
application.run(args);
}
}

View File

@@ -0,0 +1,53 @@
package {{ .package }}.entrance.web.response;
import com.libawall.framework.core.base.result.ResultDTO;
import com.vs.common.util.rpc.pub.PublicInterface;
import com.vs.ox.common.utils.ObjectMapperFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.http.server.ServletServerHttpResponse;
import org.springframework.web.context.request.NativeWebRequest;
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
import org.springframework.web.method.support.ModelAndViewContainer;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.util.Collections;
/**
* 处理 Controller 里的返回值,从 Object 包装为 ResultDTO 类型
*/
@Slf4j
public class ResponseJsonMethodReturnValueHandler implements HandlerMethodReturnValueHandler, InitializingBean {
private HttpMessageConverter messageConverter;
public ResponseJsonMethodReturnValueHandler() {
}
public void afterPropertiesSet() {
if (this.messageConverter == null) {
this.messageConverter = new MappingJackson2HttpMessageConverter(ObjectMapperFactory.getDefaultObjectMapper());
}
}
public boolean supportsReturnType(MethodParameter returnType) {
return true;
}
public void handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception {
Method method = returnType.getMethod();
//目前只处理自动生成接口
PublicInterface annotation = method.getAnnotation(PublicInterface.class);
if (annotation != null) {
mavContainer.setRequestHandled(true);
Object result = returnValue == null ? ResultDTO.ok(Collections.emptyMap()) : ResultDTO.ok((returnValue));
ServletServerHttpResponse response = new ServletServerHttpResponse(webRequest.getNativeResponse(HttpServletResponse.class));
this.messageConverter.write(result, new MediaType(MediaType.APPLICATION_JSON, Collections.singletonMap("charset", "utf-8")), response);
}
}
}

View File

@@ -0,0 +1,69 @@
package {{ .package }}.entrance.web.response;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.annotation.MapMethodProcessor;
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
import org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
@Configuration
public class ResponseJsonWebMvcConfiguration implements ApplicationContextAware, WebMvcConfigurer {
private RequestMappingHandlerAdapter requestMappingHandlerAdapter;
private ApplicationContext applicationContext;
void init() {
List<HandlerMethodReturnValueHandler> returnValueHandlers = this.requestMappingHandlerAdapter.getReturnValueHandlers();
Iterator<HandlerMethodReturnValueHandler> iterator = returnValueHandlers.iterator();
List<HandlerMethodReturnValueHandler> newProcessors = new ArrayList<>();
while (iterator.hasNext()) {
HandlerMethodReturnValueHandler next = iterator.next();
//在controller中直接返回map不被默认的MapMethodProcessor拦截
if (next instanceof MapMethodProcessor ||
//在controller中直接返回String不被默认的ViewNameMethodReturnValueHandler拦截
next instanceof ViewNameMethodReturnValueHandler) {
} else {
newProcessors.add(next);
}
}
this.requestMappingHandlerAdapter.setReturnValueHandlers(newProcessors);
}
@Override
public void addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) {
ResponseJsonMethodReturnValueHandler responseJsonMethodReturnValueHandler = new ResponseJsonMethodReturnValueHandler();
responseJsonMethodReturnValueHandler.afterPropertiesSet();
returnValueHandlers.add(responseJsonMethodReturnValueHandler);
}
@Override
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
this.applicationContext = applicationContext;
}
@Bean
ServletContextListener listener1() {
return new ServletContextListener() {
@Override
public void contextInitialized(ServletContextEvent sce) {
requestMappingHandlerAdapter = applicationContext.getBean(RequestMappingHandlerAdapter.class);
init();
}
@Override
public void contextDestroyed(ServletContextEvent sce) {
}
};
}
}

View File

@@ -5,9 +5,10 @@ server.forward-headers-strategy=framework
cross.domain.headers=
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
base.package=com.hande
base.package={{.groupId}}
mock.enabled=true
# datasource
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
spring.datasource.username=${DB_USER:hande_test_user}
spring.datasource.password=${DB_PASSWORD:Yu0FvhjUQDGdnmm5}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
@@ -45,11 +46,11 @@ spring.main.allow-circular-references=true
spring.login.security.csrf=false
#elasticsearch
essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
essql.port=9200
essql.username=${OPENSEARCH_USER:admin}
essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
essql.scheme=${OPENSEARCH_SCHEME:https}
#essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
#essql.port=9200
#essql.username=${OPENSEARCH_USER:admin}
#essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
#essql.scheme=${OPENSEARCH_SCHEME:https}
#get user config
get_user_uri={}

View File

@@ -5,7 +5,7 @@ server.forward-headers-strategy=framework
cross.domain.headers=
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
base.package=com.hande
base.package={{.groupId}}
# datasource
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
spring.datasource.username=${DB_USER:hande_test_user}
@@ -30,11 +30,11 @@ rocketmq.tag=*
rocketmq.producer.group=PID_handeTest
#elasticsearch
essql.hosts=${OPENSEARCH_HOST}
essql.port=9200
essql.username=${OPENSEARCH_USER:admin}
essql.password=${OPENSEARCH_PASSWORD:admin}
essql.scheme=${OPENSEARCH_SCHEME:https}
#essql.hosts=${OPENSEARCH_HOST}
#essql.port=9200
#essql.username=${OPENSEARCH_USER:admin}
#essql.password=${OPENSEARCH_PASSWORD:admin}
#essql.scheme=${OPENSEARCH_SCHEME:https}
#get user config
get_user_uri={}

View File

@@ -5,7 +5,7 @@ server.forward-headers-strategy=framework
cross.domain.headers=
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
base.package=com.hande
base.package={{.groupId}}
# datasource
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
spring.datasource.username=${DB_USER:hande_test_user}
@@ -30,11 +30,11 @@ rocketmq.tag=*
rocketmq.producer.group=PID_handeTest
#elasticsearch
essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
essql.port=9200
essql.username=${OPENSEARCH_USER:admin}
essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
essql.scheme=${OPENSEARCH_SCHEME:https}
#essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
#essql.port=9200
#essql.username=${OPENSEARCH_USER:admin}
#essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
#essql.scheme=${OPENSEARCH_SCHEME:https}
#get user config
get_user_uri={}

View File

@@ -4,3 +4,9 @@ spring.main.allow-bean-definition-overriding=true
project_id=${projectId}
project_name=handeTest
check=true
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
com.toco.agent.attach=true

View File

@@ -1,14 +0,0 @@
package {{ .package }}.entrance.web;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class AppApplicationTest {
@Test
public void contextLoads() {
}
}

View File

@@ -1,12 +1,14 @@
<?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 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.7.18</version>
<relativePath/>
<relativePath />
<!-- lookup parent from repository -->
</parent>
<groupId>{{ .groupId }}</groupId>
@@ -15,28 +17,64 @@
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</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>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<logback.classic.version>1.2.3</logback.classic.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.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>
<spring-boot-dependencies.version>2.6.2</spring-boot-dependencies.version>
<commons-logging.version>1.2</commons-logging.version>
<hession.version>4.0.63</hession.version>
<netty-all.version>4.1.48.Final</netty-all.version>
<gson.version>2.8.6</gson.version>
<spring-boot.version>2.2.6.RELEASE</spring-boot.version>
<mybatis-spring-boot-starter.version>2.1.2</mybatis-spring-boot-starter.version>
<mysql-connector-java.version>8.0.11</mysql-connector-java.version>
<slf4j-api.version>1.7.30</slf4j-api.version>
<junit.version>4.13</junit.version>
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
<groovy.version>3.0.3</groovy.version>
<spring.version>5.2.5.RELEASE</spring.version>
<hibernate.version>5.5.7.Final</hibernate.version>
<lobmook.version>1.18.20</lobmook.version>
<rocketmq-tools.version>4.7.1</rocketmq-tools.version>
<rocketmq-spring-boot.version>2.2.0</rocketmq-spring-boot.version>
<hutool-all.version>5.7.4</hutool-all.version>
<javax.annotation.version>1.3.2</javax.annotation.version>
<javax.transaction-api.version>1.3</javax.transaction-api.version>
<hibernate-validator.version>6.1.6.Final</hibernate-validator.version>
<spring-boot-starter-data-jpa.version>2.6.3</spring-boot-starter-data-jpa.version>
<spring-web.version>5.3.14</spring-web.version>
<toco-common.version>1.0.0-SNAPSHOT</toco-common.version>
<jedis.version>3.3.0</jedis.version>
<spring-boot-autoconfigure.version>2.7.18</spring-boot-autoconfigure.version>
<spring-boot.version>2.7.18</spring-boot.version>
<org.aspectj.version>1.9.6</org.aspectj.version>
<spring-context.version>5.3.14</spring-context.version>
<xxl-job-core.version>2.2.0</xxl-job-core.version>
<cglib-nodep.version>3.3.0</cglib-nodep.version>
<validation-api.version>2.0.1.Final</validation-api.version>
<springfox-swagger-ui.version>2.9.2</springfox-swagger-ui.version>
<springfox-swagger2.version>2.9.2</springfox-swagger2.version>
<swagger-annotations.version>1.5.22</swagger-annotations.version>
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
<jackson-databind.version>2.13.0</jackson-databind.version>
<httpclient.version>4.5.13</httpclient.version>
<guava.version>23.0</guava.version>
<opensearch.version>2.5.0</opensearch.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<transmittable-thread-local.version>2.12.3</transmittable-thread-local.version>
<spring.web.mvc.version>5.3.14</spring.web.mvc.version>
<httpasyncclient.version>4.1.5</httpasyncclient.version>
<rocketmq-client.version>4.7.1</rocketmq-client.version>
<org.json.version>20170516</org.json.version>
<elasticsearch-core.version>7.3.1</elasticsearch-core.version>
<druid-spring-boot-starter.version>1.1.21</druid-spring-boot-starter.version>
<vs.debug.version>1.0.0-SNAPSHOT</vs.debug.version>
<vs.mock.spring>1.0.0-SNAPSHOT</vs.mock.spring>
<libawall.version>2.2.0.RELEASE</libawall.version>
<toco.version>1.0.0-SNAPSHOT</toco.version>
</properties>
@@ -45,11 +83,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-autoconfigure</artifactId>-->
<!-- <version>2.7.18</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
@@ -65,12 +98,421 @@
<artifactId>mybatis</artifactId>
<version>3.5.3</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>toco-all</artifactId>
<type>pom</type>
<version>1.0.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-miniapp</artifactId>
<version>4.3.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>2.7.18</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>2.7.18</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.3.31</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.31</version>
</dependency>
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.9.28.ALL</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid-spring-boot-starter.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-client</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-service</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-web</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-client</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-service</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-web</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-client</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-service</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-web</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-client</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-service</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-web</artifactId>
</dependency>
<dependency>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-core</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>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.classic.version}</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${org.json.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
<version>${httpasyncclient.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.web.mvc.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>transmittable-thread-local</artifactId>
<version>${transmittable-thread-local.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>ox-bo-common</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson-databind.version}</version> <!-- 使用适当的版本 -->
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${javax.servlet-api.version}</version> <!-- 使用适当的版本 -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>common</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-rest-high-level-client</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.5.21</version>
</dependency>
<dependency>
<artifactId>elasticsearch-x-content</artifactId>
<groupId>org.elasticsearch</groupId>
<version>7.3.1</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>${springfox-swagger-ui.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${springfox-swagger2.version}</version>
<exclusions>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</exclusion>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${validation-api.version}</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>${cglib-nodep.version}</version>
</dependency>
<dependency>
<groupId>com.xuxueli</groupId>
<artifactId>xxl-job-core</artifactId>
<version>${xxl-job-core.version}</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>common-rpc</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>vs-sqlmanager-basic</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring-context.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${org.aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring-boot-autoconfigure.version}</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>vs-sqlmapper-spring</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>com.toco</groupId>
<artifactId>ox-jsqlparser</artifactId>
<version>${toco-common.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring-web.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${spring-boot-starter-data-jpa.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate-validator.version}</version>
</dependency>
<dependency>
<groupId>javax.transaction</groupId>
<artifactId>javax.transaction-api</artifactId>
<version>${javax.transaction-api.version}</version>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotation-api.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool-all.version}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot</artifactId>
<version>${rocketmq-spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-tools</artifactId>
<version>${rocketmq-tools.version}</version>
</dependency>
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client</artifactId>
<version>${rocketmq-client.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lobmook.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
</dependency>
<dependency>
<groupId>com.caucho</groupId>
<artifactId>hessian</artifactId>
<version>${hession.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>7.3.1</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>transport</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.3.1</version>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch-core</artifactId>
<version>${elasticsearch-core.version}</version>
</dependency>
<dependency>
<groupId>org.opensearch.client</groupId>
<artifactId>opensearch-rest-high-level-client</artifactId>
<version>${opensearch.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<!-- libawall dependencies start -->
<dependency>
<groupId>com.libawallframework</groupId>
@@ -88,67 +530,67 @@
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.enums</groupId>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-client</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.enums</groupId>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-service</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.enums</groupId>
<groupId>com.libawallframework.manage.enums</groupId>
<artifactId>libawall-enums-web</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.note</groupId>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-client</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.note</groupId>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-service</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.note</groupId>
<groupId>com.libawallframework.manage.note</groupId>
<artifactId>libawall-note-web</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.role</groupId>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-client</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.role</groupId>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-service</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.role</groupId>
<groupId>com.libawallframework.manage.role</groupId>
<artifactId>libawall-role-web</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.upload</groupId>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-client</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.upload</groupId>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-service</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.upload</groupId>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-web</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>com.libawallframework.upload</groupId>
<groupId>com.libawallframework.manage.upload</groupId>
<artifactId>libawall-upload-core</artifactId>
<version>${libawall.version}</version>
</dependency>
@@ -156,6 +598,12 @@
<groupId>com.libawallframework</groupId>
<artifactId>libawall-mybatis</artifactId>
<version>${libawall.version}</version>
<exclusions>
<exclusion>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.libawallframework</groupId>
@@ -210,7 +658,7 @@
<dependency>
<groupId>com.libawallframework</groupId>
<artifactId>libawall-swagger</artifactId>
<version>${libawall.version}</version>
<version>2.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>com.libawallframework</groupId>
@@ -227,199 +675,6 @@
<artifactId>libawall-xxl-job</artifactId>
<version>${libawall.version}</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-miniapp</artifactId>
<version>4.3.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.security</groupId>-->
<!-- <artifactId>spring-security-web</artifactId>-->
<!-- <version>5.7.11</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>2.7.18</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.redisson</groupId>-->
<!-- <artifactId>redisson-spring-boot-starter</artifactId>-->
<!-- <version>3.25.2</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
<version>2.7.18</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.3.31</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.31</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-context-support</artifactId>-->
<!-- <version>5.3.31</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-web</artifactId>-->
<!-- <version>5.3.31</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-aspects</artifactId>-->
<!-- <version>5.3.31</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.9.28.ALL</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-aop</artifactId>-->
<!-- <version>5.3.14</version>-->
<!-- </dependency>-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.11</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.17</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework</groupId>-->
<!-- <artifactId>spring-context</artifactId>-->
<!-- <version>5.3.31</version>-->
<!-- </dependency>-->
<!-- libawall dependencies end -->
</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>com.vs</groupId>
<artifactId>ox-basidc-common</artifactId>
<version>${ox.basidc.common}</version>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
</exclusion>
</exclusions>
</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>
</dependencies>
</dependencyManagement>
<build>
@@ -432,18 +687,25 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.43.0</version>
<configuration>
<java>
<googleJavaFormat>
<groupArtifact>com.google.googlejavaformat:google-java-format</groupArtifact>
<version>1.22.0</version>
<style>AOSP</style>
<reorderImports>true</reorderImports>
<reflowLongStrings>true</reflowLongStrings>
<formatJavadoc>true</formatJavadoc>
</googleJavaFormat>
</java>
</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>

View File

@@ -1,3 +1,3 @@
id=8347572c-b33f-4888-b1bf-cc9149fff6f7
name=hande_test
version=1.0.0
id={{ .projectId }}
name={{ .projectName | replace "-" "_" }}
version={{ .vsVersion }}