Jpom/modules/server/pom.xml

91 lines
3.4 KiB
XML
Raw Normal View History

2019-04-16 10:50:45 +08:00
<?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">
<parent>
<artifactId>jpom</artifactId>
<groupId>cn.keepbx</groupId>
<version>2.4.1</version>
2019-04-16 11:16:10 +08:00
<relativePath>../../pom.xml</relativePath>
2019-04-16 10:50:45 +08:00
</parent>
<modelVersion>4.0.0</modelVersion>
2019-05-15 21:52:29 +08:00
<name>Jpom 服务端</name>
2019-04-16 10:50:45 +08:00
<groupId>cn.keepbx.jpom</groupId>
<artifactId>server</artifactId>
<version>2.4.1</version>
2019-04-16 10:50:45 +08:00
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-velocity</artifactId>
</dependency>
<dependency>
<groupId>cn.keepbx.jpom</groupId>
<artifactId>common</artifactId>
<version>${pom.version}</version>
</dependency>
2019-04-16 18:46:30 +08:00
<!--websocket作为客户端-->
<dependency>
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
<version>1.4.0</version>
</dependency>
2019-04-19 16:59:27 +08:00
<!-- 数据库-->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.199</version>
</dependency>
2019-04-16 10:50:45 +08:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<archive>
<manifest>
<mainClass>cn.keepbx.jpom.JpomServerApplication</mainClass>
<!-- 是否指定项目classpath下的依赖 -->
<addClasspath>true</addClasspath>
<!-- 指定依赖的时候声明前缀 -->
<classpathPrefix>./</classpathPrefix>
</manifest>
<manifestEntries>
<!-- 项目版本号 -->
<Jpom-Project-Version>${project.version}</Jpom-Project-Version>
<!-- 打包时间 -->
<Jpom-Timestamp>${maven.build.timestamp}</Jpom-Timestamp>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<descriptors>
<descriptor>script/release.xml</descriptor>
</descriptors>
<outputDirectory>target</outputDirectory>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>