赞
踩
<?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"> <modelVersion>4.0.0</modelVersion> <groupId>org.example</groupId> <artifactId>demoMaven</artifactId> <packaging>pom</packaging> <version>1.0-SNAPSHOT</version> <modules> <module>demo</module> </modules> <!-- <repositories> --> <!-- <repository> --> <!-- <id>aliyunmaven</id> --> <!-- <url>http://maven.aliyun.com/nexus/content/groups/public/</url> --> <!-- </repository> --> <!-- </repositories> --> <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</maven.compiler.target> <lombok.version>1.18.22</lombok.version> <pagehelper.version>5.2.0</pagehelper.version> <swagger-annotations.version>1.6.2</swagger-annotations.version> <hutool-all.version>5.8.0</hutool-all.version> <commons-lang3.version>3.12.0</commons-lang3.version> <shiro-all.version>1.8.0</shiro-all.version> <mysql-connector-java.version>8.0.27</mysql-connector-java.version> <ojdbc8.version>21.5.0.0</ojdbc8.version> <mybatis.version>3.5.10</mybatis.version> <commons-logging.version>1.2</commons-logging.version> <log4j-core.version>2.17.2</log4j-core.version> <slf4j-api.version>1.7.36</slf4j-api.version> <logback-core.version>1.2.11</logback-core.version> <logback-classic.version>1.2.11</logback-classic.version> <logback-access.version>1.2.11</logback-access.version> </properties> <!-- 版本管理 --> <dependencyManagement> <dependencies> <!-- 自动生成 getter、setter、equals、hashCode 和 toString 等等! --> <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </dependency> <!-- 分页工具 --> <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>${pagehelper.version}</version> </dependency> <!-- 接口文档 --> <!-- https://mvnrepository.com/artifact/io.swagger/swagger-annotations --> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-annotations</artifactId> <version>${swagger-annotations.version}</version> </dependency> <!-- ====================================== 基础工具类 Start ====================================== --> <!-- 比较全的基础方法库 --> <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all --> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>${hutool-all.version}</version> </dependency> <!-- 基础工具类 --> <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3.version}</version> </dependency> <!-- ====================================== 基础工具类 End ====================================== --> <!-- ====================================== Security Start ====================================== --> <!-- shiro --> <!-- https://mvnrepository.com/artifact/org.apache.shiro/shiro-all --> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-all</artifactId> <version>${shiro-all.version}</version> </dependency> <!-- ====================================== Security End ====================================== --> <!-- ====================================== DB Driver Start ====================================== --> <!-- MySQL driver --> <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>${mysql-connector-java.version}</version> </dependency> <!-- Oracle driver --> <!-- https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc8 --> <dependency> <groupId>com.oracle.database.jdbc</groupId> <artifactId>ojdbc8</artifactId> <version>${ojdbc8.version}</version> </dependency> <!-- ====================================== DB Driver End ====================================== --> <!-- ====================================== 表示层 USL User Show Layer Start ====================================== --> <!-- ====================================== 表示层 USL User Show Layer End ====================================== --> <!-- ====================================== 业务逻辑层 BLL Business Logic Layer Start ====================================== --> <!-- ====================================== 业务逻辑层 BLL Business Logic Layer End ====================================== --> <!-- ====================================== 数据访问层 DAL Data Access Layer Start ====================================== --> <!-- MyBatis --> <!-- https://mvnrepository.com/artifact/org.mybatis/mybatis --> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>${mybatis.version}</version> </dependency> <!-- ====================================== 数据访问层 DAL Data Access Layer End ====================================== --> <!-- ====================================== Log Start ====================================== --> <!-- 日志门面 JCL --> <!-- https://mvnrepository.com/artifact/commons-logging/commons-logging --> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>${commons-logging.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j-core.version}</version> </dependency> <!-- 日志门面 slf4j --> <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j-api.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-core --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>${logback-core.version}</version> </dependency> <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback-classic.version}</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-access --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-access</artifactId> <version>${logback-access.version}</version> </dependency> <!-- ====================================== Log End ====================================== --> </dependencies> </dependencyManagement> <!-- 配置不同环境 --> <profiles> <!-- 开发环境 --> <profile> <id>dev</id> <properties> <package.environment>dev</package.environment> </properties> <!-- 是否默认 true表示默认--> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <!-- 生产环境 --> <profile> <id>prod</id> <properties> <package.environment>prod</package.environment> </properties> </profile> <!-- 测试环境 --> <profile> <id>test</id> <properties> <package.environment>test</package.environment> </properties> </profile> </profiles> </project>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。