146 lines
5.4 KiB
XML
146 lines
5.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">
|
|
<parent>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-pro</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>orion-ops-launch</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<description>后端服务主项目容器 按需引用 orion-ops-module-xxx 依赖</description>
|
|
<url>https://github.com/lijiahangmax/orion-ops-pro</url>
|
|
|
|
<dependencies>
|
|
<!-- spring boot 配置所需依赖 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- starter -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<!-- orion-ops starter -->
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-banner</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-swagger</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-datasource</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-mybatis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-job</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-websocket</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-redis</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-desensitize</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-log</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-storage</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-security</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-monitor</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-spring-boot-starter-biz-operator-log</artifactId>
|
|
</dependency>
|
|
|
|
<!-- orion-ops modules -->
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-module-infra-service</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.orion.ops</groupId>
|
|
<artifactId>orion-ops-module-asset-service</artifactId>
|
|
<version>${revision}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- 设置构建的 jar 包名 -->
|
|
<finalName>${project.artifactId}</finalName>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<!-- 打包 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<!-- 如果 spring.boot.version 版本修改, 则这里也要跟着修改 -->
|
|
<version>2.7.17</version>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<!-- 将引入的 jar 打入其中 -->
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- 资源打包 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.7</version>
|
|
<configuration>
|
|
<delimiters>
|
|
<delimiter>@</delimiter>
|
|
</delimiters>
|
|
<useDefaultDelimiters>false</useDefaultDelimiters>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |