<?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>com.webchat</groupId> <artifactId>webchat</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> <groupId>com.webchat</groupId> <artifactId>webchat-pay</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>webchat-pay</name> <description>webchat-pay</description> <properties> </properties> <dependencies> <!--引入mysql驱动--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.46</version> </dependency> <!--使用JPA作为ORM框架 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <!--使用JPA作为ORM框架 --> <dependency> <groupId>com.webchat</groupId> <artifactId>webchat-remote</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> <profiles> <profile> <id>dev</id> <activation> <!-- 默认环境 --> <activeByDefault>true</activeByDefault> </activation> </profile> </profiles> </project>