123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>cn.superdesk.uniorder</groupId>
- <artifactId>superdesk-operation-center</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- </parent>
- <artifactId>superdesk-uniorder-executor</artifactId>
- <packaging>pom</packaging>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- </dependency>
- <dependency>
- <groupId>com.github.xiaoymin</groupId>
- <artifactId>knife4j-spring-boot-starter</artifactId>
- <version>3.0.3</version>
- </dependency>
- <dependency>
- <groupId>com.xuxueli</groupId>
- <artifactId>xxl-job-core</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>cn.superdesk.uniorder</groupId>
- <artifactId>superdesk-uniorder-dubbo-facade</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
- <dependency>
- <groupId>cn.superdesk.uniorder</groupId>
- <artifactId>superdesk-uniorder-dubbo-consumer</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <!-- 本地开发环境 -->
- <id>dev</id>
- <properties>
- <profiles.active>dev</profiles.active>
- </properties>
- <!--默认启用的是dev环境配置-->
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <!-- 测试环境 -->
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- </properties>
- </profile>
- <profile>
- <!-- UAT环境 -->
- <id>uat</id>
- <properties>
- <profiles.active>uat</profiles.active>
- </properties>
- </profile>
- <profile>
- <!-- 生产环境 -->
- <id>prod</id>
- <properties>
- <profiles.active>prod</profiles.active>
- </properties>
- </profile>
- <profile>
- <!-- 生产环境 侨城汇 -->
- <id>qch</id>
- <properties>
- <profiles.active>qch</profiles.active>
- </properties>
- </profile>
- </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.mybatis.generator</groupId>
- <artifactId>mybatis-generator-maven-plugin</artifactId>
- <version>1.3.5</version>
- <configuration>
- <!-- 在控制台打印执行日志 -->
- <verbose>true</verbose>
- <!-- 重复生成时会覆盖之前的文件-->
- <overwrite>true</overwrite>
- <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
- </configuration>
- <!-- 数据库连接选择8.0以上的,因为用的mysql8.0-->
- <dependencies>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- <version>8.0.16</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
- </project>
|