gb28181-docking-platform/pom.xml

458 lines
13 KiB
XML
Raw Normal View History

2023-08-08 17:11:28 +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 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.1.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
2024-03-26 21:44:35 +08:00
2023-08-08 17:11:28 +08:00
<groupId>cn.skcks.docking</groupId>
<artifactId>gb28181</artifactId>
2024-03-26 21:44:35 +08:00
<version>0.1.0</version>
2023-08-09 00:56:46 +08:00
<packaging>pom</packaging>
2023-08-08 17:11:28 +08:00
<name>gb28181-docking-platform</name>
<description>GB28181 Docking Platform</description>
2024-03-26 21:44:35 +08:00
<developers>
<developer>
<name>shikong</name>
<email>919411476@qq.com</email>
</developer>
</developers>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/shikong-sk/gb28181-docking-platform.git</connection>
<developerConnection>scm:git:ssh://github.com/shikong-sk/gb28181-docking-platform.git</developerConnection>
<url>https://github.com/shikong-sk/gb28181-docking-platform/tree/master</url>
</scm>
<url>https://github.com/shikong-sk/gb28181-docking-platform.git</url>
2023-08-09 00:56:46 +08:00
<modules>
<module>starter</module>
<module>annotation</module>
<module>common</module>
<module>api</module>
2023-08-09 01:51:53 +08:00
<module>gb28181-service</module>
2023-08-11 15:13:16 +08:00
<module>orm</module>
2023-08-15 17:21:42 +08:00
<module>zlmediakit-service</module>
<module>gb28181-sip</module>
2023-08-09 00:56:46 +08:00
</modules>
2024-03-26 21:44:35 +08:00
2023-08-08 17:11:28 +08:00
<properties>
2023-08-09 00:56:46 +08:00
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
2023-08-15 17:21:42 +08:00
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
2023-08-09 00:56:46 +08:00
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2023-08-15 17:21:42 +08:00
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2023-08-09 00:56:46 +08:00
2023-08-15 17:21:42 +08:00
<java.version>17</java.version>
2023-08-09 00:56:46 +08:00
<springboot.version>3.1.2</springboot.version>
<spring-cloud.version>2022.0.3</spring-cloud.version>
2023-08-09 00:56:46 +08:00
<!--Java Bean-->
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
<lombok.version>1.18.24</lombok.version>
<!--数据库-->
<mysql.version>8.0.31</mysql.version>
2023-08-11 16:21:14 +08:00
<mybatis.version>3.0.2</mybatis.version>
<mybatis-dynamic.version>1.5.0</mybatis-dynamic.version>
<mybatis-generator-maven-plugin.version>1.4.2</mybatis-generator-maven-plugin.version>
<pagehelper.version>1.4.7</pagehelper.version>
2023-08-09 00:56:46 +08:00
<!--工具-->
2023-09-25 18:33:38 +08:00
<hutool.version>5.8.22</hutool.version>
2023-08-09 00:56:46 +08:00
<!--SpringDoc-->
2023-08-15 17:21:42 +08:00
<springdoc.version>2.2.0</springdoc.version>
2023-08-27 20:53:35 +08:00
<!--Docker打包配置-->
<!-- <docker.repository.url>10.10.10.200:5000</docker.repository.url>-->
<!-- <docker.registry.name>skcks.cn</docker.registry.name>-->
<!-- <docker.registry.username>XXX</docker.registry.username>-->
<!-- <docker.registry.password>XXX</docker.registry.password>-->
<docker.maven.plugin.version>1.4.13</docker.maven.plugin.version>
<jain-sip.version>1.3.0-91</jain-sip.version>
2023-08-08 17:11:28 +08:00
</properties>
2023-08-09 00:56:46 +08:00
2023-08-27 20:53:35 +08:00
<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>
2023-09-05 09:35:51 +08:00
<activeByDefault>false</activeByDefault>
2023-08-27 20:53:35 +08:00
</activation>
</profile>
</profiles>
2023-08-09 00:56:46 +08:00
<dependencyManagement>
<dependencies>
2023-09-23 16:25:11 +08:00
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>gb28181-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>gb28181-sip</artifactId>
<version>${project.version}</version>
</dependency>
2023-09-23 16:25:11 +08:00
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>annotation</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cn.skcks.docking</groupId>
<artifactId>zlmediakit-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>cn.skcks.docking.gb28181</groupId>
<artifactId>orm</artifactId>
<version>${project.version}</version>
</dependency>
<!-- sip协议栈 -->
<dependency>
<groupId>javax.sip</groupId>
<artifactId>jain-sip-ri</artifactId>
<version>${jain-sip.version}</version>
</dependency>
2023-08-09 00:56:46 +08:00
<!--MapStruct-->
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
<scope>compile</scope>
</dependency>
<!--lombok-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
2023-08-11 16:21:14 +08:00
<!-- https://mvnrepository.com/artifact/org.mybatis.spring.boot/mybatis-spring-boot-starter -->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis.version}</version>
</dependency>
<!--Mybatis-DynamicSQL-->
<dependency>
<groupId>org.mybatis.dynamic-sql</groupId>
<artifactId>mybatis-dynamic-sql</artifactId>
<version>${mybatis-dynamic.version}</version>
</dependency>
2023-08-09 00:56:46 +08:00
<!--mybatis 分页器插件-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!--hutool-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.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>
<!-- https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-common -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-common</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
2023-08-09 00:56:46 +08:00
</dependencies>
</dependencyManagement>
2023-08-08 17:11:28 +08:00
<build>
2023-08-09 00:56:46 +08:00
<pluginManagement>
<plugins>
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>${mybatis-generator-maven-plugin.version}</version>
<configuration>
<!--配置文件的位置-->
<configurationFile>src/main/resources/config/generatorConfig.xml</configurationFile>
<verbose>true</verbose>
<overwrite>true</overwrite>
</configuration>
<executions>
<execution>
<id>Generate MyBatis Artifacts</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>${docker.maven.plugin.version}</version>
<executions>
<execution>
<id>default</id>
<goals>
<goal>build</goal>
<goal>push</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>${skip.docker}</skip>
<repository>skcks.cn/gb28181-docking-platform</repository>
<tag>${project.version}</tag>
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
</plugin>
2023-08-09 00:56:46 +08:00
</plugins>
</pluginManagement>
2023-08-08 17:11:28 +08:00
<plugins>
2024-03-26 21:44:35 +08:00
<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>
2023-08-08 17:11:28 +08:00
<plugin>
2023-08-09 00:56:46 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
2023-08-08 17:11:28 +08:00
<configuration>
2023-08-09 00:56:46 +08:00
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version>
</path>
<path>
2023-08-08 17:11:28 +08:00
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
2023-08-09 00:56:46 +08:00
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
<path>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${springboot.version}</version>
</path>
<!-- other annotation processors -->
</annotationProcessorPaths>
</configuration>
</plugin>
2023-09-04 13:41:27 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<configuration>
<delimiters>
<delimiter>@</delimiter>
</delimiters>
<useDefaultDelimiters>false</useDefaultDelimiters>
</configuration>
</plugin>
2023-08-09 00:56:46 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<skipTests>true</skipTests>
2023-08-08 17:11:28 +08:00
</configuration>
</plugin>
</plugins>
2023-08-09 00:56:46 +08:00
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
2023-08-10 15:16:33 +08:00
<testResources>
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>**/**</include>
</includes>
<filtering>true</filtering>
</testResource>
</testResources>
2023-08-08 17:11:28 +08:00
</build>
2024-03-26 21:44:35 +08:00
<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>
2023-08-09 00:56:46 +08:00
</project>