加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 5.45 KB
一键复制 编辑 原始数据 按行查看 历史
callsu 提交于 2019-05-29 09:57 . 公众号图片上传
<?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>
<parent>
<groupId>com.qdb.parent</groupId>
<artifactId>qdb-parent</artifactId>
<version>19.30-SNAPSHOT</version>
</parent>
<groupId>com.qdb.server</groupId>
<artifactId>mp-server</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<!--测试环境-->
<profile>
<id>dev</id>
<properties>
<project.environment>dev</project.environment>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!--线上环境-->
<profile>
<id>prod</id>
<properties>
<project.environment>prod</project.environment>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.qdb.common</groupId>
<artifactId>qdb-common</artifactId>
<version>${qdb.common.version}</version>
</dependency>
<dependency>
<groupId>com.qdb.server</groupId>
<artifactId>qdb-server</artifactId>
<version>${qdb.server.version}</version>
</dependency>
<dependency>
<groupId>com.qdb.wx</groupId>
<artifactId>qdb-wx</artifactId>
<version>${qdb.wx.version}</version>
</dependency>
<dependency>
<groupId>com.qdb.redis</groupId>
<artifactId>qdb-redis</artifactId>
<version>${qdb.redis.version}</version>
</dependency>
<dependency>
<groupId>com.qdb.handle</groupId>
<artifactId>qdb-handle</artifactId>
<version>${qdb.handle.version}</version>
</dependency>
<dependency>
<groupId>com.qdb.mysql</groupId>
<artifactId>qdb-mysql</artifactId>
<version>${qdb.mysql.version}</version>
</dependency>
</dependencies>
<build>
<finalName>mp-server</finalName>
<plugins>
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.2</version>
<configuration>
<configurationFile>
src/assemble/generatorConfig.xml
</configurationFile>
<verbose>true</verbose>
<overwrite>true</overwrite>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>com.qdb.server.CommonDataServer</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!-- The configuration of maven-assembly-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
<descriptors>
<descriptor>src/assemble/package.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources/${project.environment}</directory>
<includes>
<include>*</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>mapper/*Mapper.xml</include>
<include>tpl/*.ftl</include>
<include>*.properties</include>
<include>*.xml</include>
</includes>
</resource>
</resources>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化