123 lines
4.5 KiB
XML
123 lines
4.5 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>
|
|
|
|
<groupId>com.lxyer</groupId>
|
|
<artifactId>redbbs</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!--maven 打包使用下面的包 -->
|
|
<dependency>
|
|
<groupId>org.redkale</groupId>
|
|
<artifactId>redkale</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.redkalex</groupId>
|
|
<artifactId>redkale-plugins</artifactId>
|
|
<version>2.2.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.27</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.jfinal</groupId>
|
|
<artifactId>enjoy</artifactId>
|
|
<version>3.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.22</version>
|
|
</dependency>
|
|
|
|
<!-- arangodb支持 -->
|
|
<!-- arangodb支持 -->
|
|
<!--<dependency>
|
|
<groupId>com.arangodb</groupId>
|
|
<artifactId>arangodb-java-driver-async</artifactId>
|
|
<version>5.0.4</version>
|
|
</dependency>-->
|
|
<!--<dependency>
|
|
<groupId>com.lxyer</groupId>
|
|
<artifactId>redim</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!--<directory>lib</directory>-->
|
|
<finalName>lib/redbbs</finalName>
|
|
<sourceDirectory>src</sourceDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.11.0</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<!-- 依赖 jar 拷贝 -->
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- 配置文件拷贝 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-files</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/conf</outputDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>conf</directory>
|
|
<includes>
|
|
<include>application.xml</include>
|
|
<include>conf.txt</include>
|
|
<include>persistence.xml</include>
|
|
<!-- 可以添加其他文件的 include 配置 -->
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |