27 Star 313 Fork 154

潍坊雷鸣云网络科技有限公司/yunkefu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jar.xml 7.55 KB
一键复制 编辑 原始数据 按行查看 历史
<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>com.xnx3.yunkefu</groupId>
<artifactId>yunkefu</artifactId>
<packaging>jar</packaging>
<name>yunkefu</name>
<version>2.0.7</version>
<description>雷鸣云客服</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 编译时的编码 -->
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<java.version>1.8</java.version>
</properties>
<!-- 如果打包第三方jar包出来,那就加build,如果只是打包项目,注释掉build -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<!-- 打包成jar时,忽略的包 -->
<exclude>**/com/Application*</exclude>
<exclude>**/com/ServletInitializer*</exclude>
<exclude>**/*.xml</exclude>
<exclude>/*.properties</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.db</exclude>
<exclude>**/static/**</exclude>
</excludes>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/com/Application*</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/*.json</exclude>
<exclude>**/*.db</exclude>
<exclude>**/static/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<!-- 将 resource/META-INF 下的配置文件拷贝到jar包 META-INF 目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/resources</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>./</targetPath>
<includes>
<include>META-INF/**</include>
</includes>
</resource>
<!-- 将 resource/static 下的配置文件拷贝到jar包 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/resources/static/</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/</targetPath>
<includes>
<include>js/**</include>
<include>css/**</include>
<include>image/**</include>
<include>plugin/**</include>
<include>head/**</include>
<include>template/**</include>
</includes>
</resource>
<!-- 打包时将jsp文件拷贝到META-INF目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp/WEB-INF</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/WEB-INF/</targetPath>
<includes>
<include>view/**</include>
</includes>
</resource>
<!-- jsp文件等 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/</targetPath>
<includes>
<include>kefu/**</include>
<include>dev/**</include>
<include>plugin/**</include>
<include>user/**</include>
<include>demo.html</include>
</includes>
</resource>
</resources>
</build>
<!-- 定义公共资源版本 -->
<parent>
<groupId>com.xnx3.wangmarket.wm</groupId>
<artifactId>parent</artifactId>
<version>3.0</version>
</parent>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<id>maven-ali</id>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<dependencies>
<!-- 基础功能如数据库操作等。这个wm文档及源码在 http://wm.zvo.cn -->
<dependency>
<groupId>com.xnx3.wm</groupId>
<artifactId>wm</artifactId>
<version>3.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/wm-3.1.jar</systemPath>
</dependency>
<!-- 加入elasticsearch的实现。 (存储到哪,这里artifactId就引入的哪里的 datasource.xxx 另外,core中默认带控制台将日志实时打印出来) -->
<dependency>
<groupId>cn.zvo.log</groupId>
<artifactId>log-datasource-elasticsearch</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha1</version>
</dependency>
<!-- 腾讯云音视频,提供语音通话、视频通话的能力 -->
<dependency>
<groupId>com.github.tencentyun</groupId>
<artifactId>tls-sig-api-v2</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/leimingyun/yunkefu.git
[email protected]:leimingyun/yunkefu.git
leimingyun
yunkefu
yunkefu
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385