当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 19

邓业军/基于自然语言处理的咨询平台知识库系统
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 5.60 KB
一键复制 编辑 原始数据 按行查看 历史
王辉 提交于 2020-10-15 16:55 . 打包执行报错修改
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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.watt.knowledge</groupId>
<artifactId>knowledge-platform</artifactId>
<version>1.0-realease</version>
<packaging>pom</packaging>
<name>knowledge-platform</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<lucene.version>7.4.0</lucene.version>
<fastjson.version>1.2.35</fastjson.version>
<mysql.connector>8.0.11</mysql.connector>
<spring.version>5.0.8.RELEASE</spring.version>
<spring.boot.version>${project.parent.version}</spring.boot.version>
<c3p0.version>0.9.5.3</c3p0.version>
<mybatis-spring.version>1.3.2</mybatis-spring.version>
<mybatis.plus.version>3.4.0</mybatis.plus.version>
<lucene.version>7.4.0</lucene.version>
<hanlp.version>portable-1.7.5</hanlp.version>
<lombok.version>1.16.10</lombok.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.4.RELEASE</version>
</parent>
<modules>
<module>knowledge-core</module>
<module>knowledge-gateway</module>
<module>knowledge-register</module>
<!-- <module>knowledge-manager</module>-->
</modules>
<dependencyManagement>
<dependencies>
<!-- 此处加上该配置后spring cloud所有的包引用均不需要添加版本号-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>aliyun-plugin</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.name}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<!--springBoot支持默认的$符填充配置文件的value-->
<!--此配置是根据打命令取到${package.environment}的值不加则无法打包-->
<useDefaultDelimiters>true</useDefaultDelimiters>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>本地环境</id>
<properties>
<package.environment>local</package.environment>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>开发环境</id>
<properties>
<package.environment>dev</package.environment>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
<id>测试环境</id>
<properties>
<package.environment>test</package.environment>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
<id>压测环境</id>
<properties>
<package.environment>stress</package.environment>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
<id>预发布环境</id>
<properties>
<package.environment>pre</package.environment>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
<profile>
<id>生产环境</id>
<properties>
<package.environment>pro</package.environment>
</properties>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yimi/knowledge.git
git@gitee.com:yimi/knowledge.git
yimi
knowledge
基于自然语言处理的咨询平台知识库系统
master

搜索帮助