2022-02-24 15:04:37 +08:00
|
|
|
<?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>
|
|
|
|
<artifactId>kdayun-root</artifactId>
|
|
|
|
<groupId>com.kdayun</groupId>
|
|
|
|
<version>5.0.0</version>
|
|
|
|
<relativePath>../..</relativePath>
|
|
|
|
</parent>
|
|
|
|
<version>1.0.1</version>
|
|
|
|
<artifactId>kdayun-demo</artifactId>
|
|
|
|
<name>kdayun-demo</name>
|
|
|
|
<!-- FIXME change it to the project's website -->
|
|
|
|
<url>http://www.kdayun.com</url>
|
|
|
|
<description>快搭科技(上海)有限公司-企业微信库</description>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.kdayun</groupId>
|
|
|
|
<artifactId>kdayun-core</artifactId>
|
|
|
|
<version>${base.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>kdayun-releases</id>
|
|
|
|
<url>http://develop.kdayun.com:8081/repository/maven-local/</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>kdayun-snapshots</id>
|
|
|
|
<url>http://develop.kdayun.com:8081/repository/maven-snapshots/</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>${jdk.version}</source>
|
|
|
|
<target>${jdk.version}</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- 生成源码包 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-xmls</id>
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/classes</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/java</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>jdk-${jdk.version}</id>
|
|
|
|
<!-- 另外一种激活方式 -->
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
<jdk>${jdk.version}</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>${jdk.version}</maven.compiler.source>
|
|
|
|
<maven.compiler.target>${jdk.version}</maven.compiler.target>
|
|
|
|
<maven.compiler.compilerVersion>${jdk.version}</maven.compiler.compilerVersion>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|
|
|
|
|