301 lines
8.4 KiB
XML
301 lines
8.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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.4.0</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
|
|
<groupId>cn.skcks.docking.wx</groupId>
|
|
<artifactId>wx-docking-platform</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>wx-docking-platform</name>
|
|
<description>WeChat Docking Platform</description>
|
|
<url/>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
</license>
|
|
</licenses>
|
|
<developers>
|
|
<developer>
|
|
<name>shikong</name>
|
|
<email>919411476@qq.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<modules>
|
|
<module>wx-docking-platform-api</module>
|
|
<module>wx-docking-platform-common</module>
|
|
<module>wx-docking-platform-annotation</module>
|
|
<module>platform-services</module>
|
|
<module>dependencies</module>
|
|
<module>platform-orm</module>
|
|
</modules>
|
|
|
|
<scm>
|
|
<connection/>
|
|
<developerConnection/>
|
|
<tag/>
|
|
<url/>
|
|
</scm>
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
|
|
<springboot.version>3.4.0</springboot.version>
|
|
<springdoc.version>2.7.0</springdoc.version>
|
|
<lombok.version>1.18.36</lombok.version>
|
|
<org.mapstruct.version>1.6.3</org.mapstruct.version>
|
|
<docker.maven.plugin.version>1.4.13</docker.maven.plugin.version>
|
|
</properties>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jar</id>
|
|
<properties>
|
|
<skip.docker>true</skip.docker>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>docker</id>
|
|
<properties>
|
|
<skip.docker>false</skip.docker>
|
|
</properties>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
</profile>
|
|
|
|
<!--<profile>-->
|
|
<!-- <id>ossrh</id>-->
|
|
<!-- <properties>-->
|
|
<!-- <skip.docker>true</skip.docker>-->
|
|
<!-- </properties>-->
|
|
<!-- <activation>-->
|
|
<!-- <activeByDefault>false</activeByDefault>-->
|
|
<!-- </activation>-->
|
|
|
|
<!-- <build>-->
|
|
<!-- <plugins>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.sonatype.central</groupId>-->
|
|
<!-- <artifactId>central-publishing-maven-plugin</artifactId>-->
|
|
<!-- <version>0.4.0</version>-->
|
|
<!-- <extensions>true</extensions>-->
|
|
<!-- <configuration>-->
|
|
<!-- <publishingServerId>ossrh</publishingServerId>-->
|
|
<!-- <centralBaseUrl>https://central.sonatype.com</centralBaseUrl>-->
|
|
<!-- <tokenAuth>true</tokenAuth>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-source-plugin</artifactId>-->
|
|
<!-- <version>2.2.1</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>attach-sources</id>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>jar-no-fork</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-javadoc-plugin</artifactId>-->
|
|
<!-- <version>2.9.1</version>-->
|
|
<!-- <configuration>-->
|
|
<!-- <additionalparam>-Xdoclint:none</additionalparam>-->
|
|
<!-- </configuration>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>attach-javadocs</id>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>jar</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
|
|
<!-- <version>1.5</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>sign-artifacts</id>-->
|
|
<!-- <phase>verify</phase>-->
|
|
<!-- <goals>-->
|
|
<!-- <goal>sign</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- <configuration>-->
|
|
<!-- <keyname>2FA8C646FBB668DAF3E6B08CBD85FF18B373C341</keyname>-->
|
|
<!-- </configuration>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- </plugin>-->
|
|
<!-- </plugins>-->
|
|
<!-- </build>-->
|
|
|
|
<!-- <distributionManagement>-->
|
|
<!-- <snapshotRepository>-->
|
|
<!-- <id>ossrh</id>-->
|
|
<!-- <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>-->
|
|
<!-- </snapshotRepository>-->
|
|
<!-- <repository>-->
|
|
<!-- <id>ossrh</id>-->
|
|
<!-- <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
|
|
<!-- </repository>-->
|
|
<!-- </distributionManagement>-->
|
|
<!--</profile>-->
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct</artifactId>
|
|
<version>${org.mapstruct.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cn.skcks.docking.wx</groupId>
|
|
<artifactId>dependencies</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.skcks.docking.wx</groupId>
|
|
<artifactId>platform-orm</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.skcks.docking.wx.annotation</groupId>
|
|
<artifactId>wx-docking-platform-annotation</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.skcks.docking.wx.api</groupId>
|
|
<artifactId>wx-docking-platform-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.skcks.docking.wx.common</groupId>
|
|
<artifactId>wx-docking-platform-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>${springdoc.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-common</artifactId>
|
|
<version>${springdoc.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<version>${springboot.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-undertow</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.mapstruct</groupId>
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
<version>${org.mapstruct.version}</version>
|
|
</path>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok-mapstruct-binding -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok-mapstruct-binding</artifactId>
|
|
<version>0.2.0</version>
|
|
</dependency>
|
|
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</path>
|
|
|
|
<path>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<version>${springboot.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/**</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<includes>
|
|
<include>**/**</include>
|
|
</includes>
|
|
<filtering>true</filtering>
|
|
</testResource>
|
|
</testResources>
|
|
</build>
|
|
|
|
</project>
|