75 lines
2.6 KiB
XML
75 lines
2.6 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>cn.bunny</groupId>
|
||
|
<artifactId>common</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
</parent>
|
||
|
|
||
|
<artifactId>common-generator</artifactId>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>javax.xml.bind</groupId>
|
||
|
<artifactId>jaxb-api</artifactId>
|
||
|
<version>2.1</version>
|
||
|
</dependency>
|
||
|
<!-- 数据库代码生成器 - 新版 -->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus-generator</artifactId>
|
||
|
<version>3.5.6</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.velocity</groupId>
|
||
|
<artifactId>velocity-engine-core</artifactId>
|
||
|
<version>2.3</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<sourceDirectory>src/main/kotlin</sourceDirectory>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.jetbrains.kotlin</groupId>
|
||
|
<artifactId>kotlin-maven-plugin</artifactId>
|
||
|
<version>${kotlin.version}</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>compile</id>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>compile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
<execution>
|
||
|
<id>test-compile</id>
|
||
|
<phase>test-compile</phase>
|
||
|
<goals>
|
||
|
<goal>test-compile</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.22.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||
|
<version>2.22.2</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>exec-maven-plugin</artifactId>
|
||
|
<version>1.6.0</version>
|
||
|
<configuration>
|
||
|
<mainClass>MainKt</mainClass>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|