194 lines
7.4 KiB
XML
194 lines
7.4 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>net.tccn</groupId>
|
|
<artifactId>meta-kit</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>jar</packaging>
|
|
<!--<modules>
|
|
<!–<module>qtask</module>–>
|
|
</modules>-->
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>maven-nexus</id>
|
|
<name>maven-nexus</name>
|
|
<url>https://nexus.1216.top/repository/maven-public/</url>
|
|
</repository>
|
|
</repositories>
|
|
<dependencies>
|
|
|
|
<!-- redkale支持 -->
|
|
<dependency>
|
|
<groupId>org.redkale</groupId>
|
|
<artifactId>redkale</artifactId>
|
|
<version>2.8.0.dev</version>
|
|
</dependency>
|
|
|
|
<!--<dependency>
|
|
<groupId>org.redkalex</groupId>
|
|
<artifactId>redkale-plugins</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>-->
|
|
|
|
<!-- mysql连接 -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>LATEST</version>
|
|
</dependency>
|
|
|
|
<!-- arangodb支持 -->
|
|
<dependency>
|
|
<groupId>com.arangodb</groupId>
|
|
<artifactId>arangodb-java-driver-async</artifactId>
|
|
<version>6.0.0</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>junit:junit:3.8.1</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.jfinal</groupId>
|
|
<artifactId>jfinal</artifactId>
|
|
<version>5.1.5</version>
|
|
</dependency>
|
|
|
|
<!-- poi支持 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi-ooxml</artifactId>
|
|
<version>LATEST</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>LATEST</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>RELEASE</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<source>17</source>
|
|
<target>17</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- 拷贝所有依赖到指定目录 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>prepare-package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/meta-kit/lib</outputDirectory>
|
|
<overWriteReleases>false</overWriteReleases>
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-resources</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target/meta-kit/</outputDirectory>
|
|
<resources>
|
|
<!-- 拷贝指定文件 -->
|
|
<resource>
|
|
<directory>${basedir}/</directory>
|
|
<includes>
|
|
<include>bin/**</include>
|
|
<include>conf/**</include>
|
|
<include>root/**</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>copy-resources1</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>copy-resources</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${basedir}/target/meta-kit/lib</outputDirectory>
|
|
<resources>
|
|
<!-- 拷贝指定文件 -->
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/</directory>
|
|
<includes>
|
|
<include>tpl/**</include>
|
|
<include>META-INF/**</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- 指定到相对路径下-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-artifact</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>${project.packaging}</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.basedir}/target/meta-kit/lib</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
</project> |