1 Star 0 Fork 1

有方 / vtx-learning-demo

forked from yzh0623 / vtx-learning-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 8.13 KB
一键复制 编辑 原始数据 按行查看 历史
yuanzhenhui 提交于 2023-04-14 09:59 . 初始化导入工程
<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>io.kida</groupId>
<artifactId>buried-vtx-demo</artifactId>
<version>1.0.0</version>
<name>buried-vtx-demo</name>
<description>数据埋点vtx演示</description>
<properties>
<encoding.code>UTF-8</encoding.code>
<project.build.sourceEncoding>${encoding.code}
</project.build.sourceEncoding>
<project.reporting.outputEncoding>${encoding.code}
</project.reporting.outputEncoding>
<vertx.version>3.9.0</vertx.version>
<junit.version>4.13</junit.version>
<jooq.version>3.13.2</jooq.version>
<jooq.rx.version>5.1.1</jooq.rx.version>
<mysql.version>8.0.19</mysql.version>
<yaml.version>1.1.3</yaml.version>
<log4j2.version>2.13.2</log4j2.version>
<disruptor.version>3.4.2</disruptor.version>
<jackson.version>4.7.0</jackson.version>
<reflectasm.version>1.09</reflectasm.version>
<hikari.version>3.4.5</hikari.version>
<jdk.version>8</jdk.version>
<maven.shade.version>2.4.2</maven.shade.version>
<compiler.version>3.3</compiler.version>
<main.class>io.kida.App</main.class>
</properties>
<dependencies>
<!-- vertx核心代码包 -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-core</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- web -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-web</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- junit -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-unit</artifactId>
<version>${vertx.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- vertx redis 客户端 -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-redis-client</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- vertx jdbc 客户端 -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-jdbc-client</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- HikariCP -->
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>${hikari.version}</version>
</dependency>
<!-- yaml配置读取 -->
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-config-yaml</artifactId>
<version>${vertx.version}</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-config</artifactId>
<version>${vertx.version}</version>
</dependency>
<!-- log4j2 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jcl</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jul</artifactId>
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>com.lmax</groupId>
<artifactId>disruptor</artifactId>
<version>${disruptor.version}</version>
</dependency>
<!-- jooq -->
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq</artifactId>
<version>${jooq.version}</version>
</dependency>
<dependency>
<groupId>io.github.jklingsporn</groupId>
<artifactId>vertx-jooq-completablefuture-jdbc</artifactId>
<version>${jooq.rx.version}</version>
</dependency>
<!-- mysql8 连接驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!-- jackson -->
<dependency>
<groupId>com.englishtown.vertx</groupId>
<artifactId>vertx-jersey-jackson</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- reflectasm -->
<dependency>
<groupId>com.esotericsoftware.reflectasm</groupId>
<artifactId>reflectasm</artifactId>
<version>${reflectasm.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- maven compiler -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler.version}</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
<!-- yaml properties maven -->
<plugin>
<groupId>it.ozimov</groupId>
<artifactId>yaml-properties-maven-plugin</artifactId>
<version>${yaml.version}</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>src/main/resources/configs/master/application-datasource.yml</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<!-- jooq codegen -->
<plugin>
<groupId>org.jooq</groupId>
<artifactId>jooq-codegen-maven</artifactId>
<version>${jooq.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>io.github.jklingsporn</groupId>
<artifactId>vertx-jooq-generate</artifactId>
<version>${jooq.rx.version}</version>
</dependency>
</dependencies>
<configuration>
<jdbc>
<driver>${datasource.driver-class-name}</driver>
<url>${datasource.url-head}//${datasource.host}:${datasource.port}/${datasource.database-name}?useUnicode=${datasource.use-unicode}%26characterEncoding=${datasource.character-encoding}%26useSSL=${datasource.ssl-enable}%26serverTimezone=${datasource.server-timezone}</url>
<user>${datasource.username}</user>
<password>${datasource.password}</password>
</jdbc>
<generator>
<name>io.github.jklingsporn.vertx.jooq.generate.completablefuture.CompletableFutureJDBCVertxGenerator
</name>
<database>
<name>${datasource.jooq-name}</name>
<includes>.*</includes>
<excludes>flyway_schema_history</excludes>
<inputSchema>${datasource.database-name}</inputSchema>
</database>
<generate>
<pojos>true</pojos>
<javaTimeTypes>true</javaTimeTypes>
<daos>true</daos>
<fluentSetters>true</fluentSetters>
</generate>
<target>
<packageName>${datasource.package-path}</packageName>
<directory>src/main/java</directory>
</target>
<strategy>
<name>io.github.jklingsporn.vertx.jooq.generate.VertxGeneratorStrategy
</name>
</strategy>
</generator>
</configuration>
</plugin>
<!-- maven shade -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven.shade.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>${main.class}</Main-Class>
</manifestEntries>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/services/io.vertx.core.spi.VerticleFactory
</resource>
</transformer>
</transformers>
<outputFile>${project.build.directory}/${project.artifactId}-${project.version}-prod.jar
</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Java
1
https://gitee.com/ifand/vtx-learning-demo.git
git@gitee.com:ifand/vtx-learning-demo.git
ifand
vtx-learning-demo
vtx-learning-demo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891