| | |
| | | <optional>true</optional> <!-- 表示依赖不会传递 --> |
| | | </dependency> |
| | | |
| | | <!-- ruoyi-springboot2 / swagger knife4j 配置 --> |
| | | <!-- ard-springboot2 / swagger knife4j 配置 --> |
| | | <dependency> |
| | | <groupId>com.github.xiaoymin</groupId> |
| | | <artifactId>knife4j-spring-boot-starter</artifactId> |
| | |
| | | <groupId>com.ard</groupId> |
| | | <artifactId>ard-sample</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.ard</groupId> |
| | | <artifactId>ard-device</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- KMZ航线模块--> |
| | | <dependency> |
| | |
| | | <artifactId>ard-route</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- 巡检模块--> |
| | | <dependency> |
| | | <groupId>com.ard</groupId> |
| | | <artifactId>ard-inspection</artifactId> |
| | | </dependency> |
| | | |
| | | <!-- SpringBootAdmin管控台 --> |
| | | <dependency> |
| | | <groupId>de.codecentric</groupId> |
| | | <artifactId>spring-boot-admin-starter-client</artifactId> |
| | | </dependency> |
| | | </dependencies> |
| | | <profiles> |
| | | <profile> |
| | | <id>dev</id> |
| | | <properties> |
| | | <spring.profiles.active>dev,dev-druid</spring.profiles.active> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>prod</id> |
| | | <properties> |
| | | <spring.profiles.active>prod,prod-druid</spring.profiles.active> |
| | | </properties> |
| | | </profile> |
| | | <profile> |
| | | <id>daqing</id> |
| | | <properties> |
| | | <spring.profiles.active>daqing,daqing-druid</spring.profiles.active> |
| | | </properties> |
| | | </profile> |
| | | </profiles> |
| | | |
| | | <build> |
| | | <plugins> |
| | |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-war-plugin</artifactId> |
| | | <!-- 资源过滤使用 @ 作为分隔符,替换 application.yml 中的 @spring.profiles.active@ --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <configuration> |
| | | <delimiters> |
| | | <delimiter>@</delimiter> |
| | | </delimiters> |
| | | <useDefaultDelimiters>false</useDefaultDelimiters> |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-war-plugin</artifactId> |
| | | <version>3.1.0</version> |
| | | <configuration> |
| | | <failOnMissingWebXml>false</failOnMissingWebXml> |
| | |
| | | </plugin> |
| | | </plugins> |
| | | <finalName>${project.artifactId}</finalName> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | <filtering>true</filtering> |
| | | </resource> |
| | | </resources> |
| | | </build> |
| | | |
| | | </project> |