代码拉取完成,页面将自动刷新
<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>io.github.cap4j</groupId>
<artifactId>ddd-example</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>ddd-sample</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<cap4j.version>1.0.0-alpha-1</cap4j.version>
<org.projectlombok.version>1.18.16</org.projectlombok.version>
<guava.version>31.1-jre</guava.version>
<commons.lang3.version>3.12.0</commons.lang3.version>
<commons.collections4.version>4.4</commons.collections4.version>
<fastjson.version>1.2.79</fastjson.version>
<mysql-connector.version>5.1.46</mysql-connector.version>
<spring-boot-druid.version>1.2.8</spring-boot-druid.version>
<spring-boot.version>2.7.6</spring-boot.version>
<spring-cloud.version>2021.0.5</spring-cloud.version>
<!-- <spring-boot.version>2.2.13.RELEASE</spring-boot.version>-->
<!-- <spring-cloud.version>Hoxton.SR11</spring-cloud.version>-->
<springdoc.version>1.6.14</springdoc.version>
<knife4j.version>3.0.3</knife4j.version>
<swagger3.version>2.2.7</swagger3.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>${org.projectlombok.version}</version>
</dependency>
<dependency>
<groupId>io.github.netcorepal</groupId>
<artifactId>cap4j-ddd-starter-jpa-rocketmq</artifactId>
<version>${cap4j.version}</version>
</dependency>
<dependency>
<groupId>io.github.netcorepal</groupId>
<artifactId>cap4j-ddd-codegen-maven-plugin</artifactId>
<version>${cap4j.version}</version>
<scope>provided</scope>
</dependency>
<!-- spring boot web -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- 常用工具类 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons.lang3.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons.collections4.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- apollo客户端 -->
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo-client</artifactId>
<version>1.7.0</version>
</dependency>
<!-- Xxl Job -->
<dependency>
<groupId>com.githup.liuyanggithup</groupId>
<artifactId>xxl-job-core</artifactId>
<version>1.2.1</version>
</dependency>
<!-- feign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-okhttp</artifactId>
<version>11.10</version>
</dependency>
<!-- JPA -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<!-- mybatis -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.3</version>
</dependency>
<!-- 数据库连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${spring-boot-druid.version}</version>
</dependency>
<!-- mysql -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector.version}</version>
</dependency>
<!-- <!– Redis–>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-data-redis</artifactId>-->
<!-- </dependency>-->
<!-- <!– redis依赖commons-pool2 –>-->
<!-- <dependency>-->
<!-- <groupId>org.apache.commons</groupId>-->
<!-- <artifactId>commons-pool2</artifactId>-->
<!-- </dependency>-->
<!-- <!– es –>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-starter-data-elasticsearch</artifactId>-->
<!-- </dependency>-->
<!-- 接口文档 -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-springdoc-ui</artifactId>
<version>${knife4j.version}</version>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger3.version}</version>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>6.6</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>io.github.netcorepal</groupId>
<artifactId>cap4j-ddd-codegen-maven-plugin</artifactId>
<version>${cap4j.version}</version>
<configuration>
<archTemplate>/Users/wangbin/source/my/cap4j/cap4j-ddd-codegen-template.json</archTemplate>
<basePackage>com.yourcompany</basePackage>
<multiModule>false</multiModule>
<moduleNameSuffix4Adapter>-adapter</moduleNameSuffix4Adapter>
<moduleNameSuffix4Domain>-domain</moduleNameSuffix4Domain>
<moduleNameSuffix4Application>-application</moduleNameSuffix4Application>
<connectionString>
<![CDATA[jdbc:mysql://fanqinjia.cn:3306/cap4j-test?serverTimezone=Asia/Shanghai&useSSL=false&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull]]>
</connectionString>
<user>root</user>
<pwd>fanqj@123</pwd>
<schema>test</schema>
<table>user</table>
<ignoreTable></ignoreTable>
<idField>id</idField>
<versionField>version</versionField>
<deletedField>db_deleted</deletedField>
<readonlyFields>db_created_at,db_updated_at</readonlyFields>
<ignoreFields></ignoreFields>
<entityBaseClass></entityBaseClass>
<entityMetaInfoClassOutputMode>ref</entityMetaInfoClassOutputMode>
<entityMetaInfoClassOutputPackage>domain._share.meta</entityMetaInfoClassOutputPackage>
<fetchMode>SUBSELECT</fetchMode>
<fetchType>EAGER</fetchType>
<idGenerator>org.netcorepal.cap4j.ddd.application.distributed.SnowflakeIdentifierGenerator</idGenerator>
<enumValueField>code</enumValueField>
<enumNameField>name</enumNameField>
<enumUnmatchedThrowException>true</enumUnmatchedThrowException>
<datePackage4Java>java.util</datePackage4Java>
<typeRemapping></typeRemapping>
<generateDefault>false</generateDefault>
<generateDbType>true</generateDbType>
<generateSchema>true</generateSchema>
<generateBuild>false</generateBuild>
<aggregateIdentityClass>Long</aggregateIdentityClass>
<aggregateRootAnnotation></aggregateRootAnnotation>
<aggregateRepositoryBaseClass></aggregateRepositoryBaseClass>
<aggregateRepositoryCustomerCode></aggregateRepositoryCustomerCode>
<ignoreAggregateRoots></ignoreAggregateRoots>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.6.3</version>
<configuration>
</configuration>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<mainClass>com.yourcompany.StartApplication1</mainClass>
<!-- <outputDirectory>${project.basedir}/../target</outputDirectory>-->
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>3.2.0</version>
</plugin>
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。