|
@@ -1,94 +1,83 @@
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?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"
|
|
<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>cn.com.qmth.examcloud</groupId>
|
|
|
|
- <artifactId>examcloud-parent</artifactId>
|
|
|
|
- <version>v4.1.0-SNAPSHOT</version>
|
|
|
|
- </parent>
|
|
|
|
- <artifactId>examcloud-ws</artifactId>
|
|
|
|
- <version>v4.1.0-SNAPSHOT</version>
|
|
|
|
- <packaging>jar</packaging>
|
|
|
|
|
|
+ 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>
|
|
|
|
+ <artifactId>examcloud-ws</artifactId>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
|
|
- <dependencies>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>cn.com.qmth.examcloud</groupId>
|
|
|
|
- <artifactId>examcloud-ws-starter</artifactId>
|
|
|
|
- <version>${examcloud.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
- <groupId>cn.com.qmth.examcloud.rpc</groupId>
|
|
|
|
- <artifactId>examcloud-ws-api</artifactId>
|
|
|
|
- <version>${examcloud.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <parent>
|
|
|
|
+ <groupId>cn.com.qmth.examcloud</groupId>
|
|
|
|
+ <artifactId>examcloud-parent</artifactId>
|
|
|
|
+ <version>${revision}</version>
|
|
|
|
+ <relativePath>../examcloud-parent/pom.xml</relativePath>
|
|
|
|
+ </parent>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.com.qmth.examcloud</groupId>
|
|
|
|
+ <artifactId>examcloud-ws-starter</artifactId>
|
|
|
|
+ <version>${project.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.com.qmth.examcloud.rpc</groupId>
|
|
|
|
+ <artifactId>examcloud-ws-api</artifactId>
|
|
|
|
+ <version>${project.version}</version>
|
|
|
|
+ </dependency>
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>cn.com.qmth.examcloud</groupId>
|
|
<groupId>cn.com.qmth.examcloud</groupId>
|
|
<artifactId>examcloud-support</artifactId>
|
|
<artifactId>examcloud-support</artifactId>
|
|
- <version>${examcloud.version}</version>
|
|
|
|
|
|
+ <version>${project.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
- <!--
|
|
|
|
- <distributionManagement>
|
|
|
|
- <repository>
|
|
|
|
- <id>maven-releases</id>
|
|
|
|
- <name>Release repository</name>
|
|
|
|
- <url>http://192.168.10.201:8081/repository/maven-releases/</url>
|
|
|
|
- </repository>
|
|
|
|
- <snapshotRepository>
|
|
|
|
- <id>maven-snapshots</id>
|
|
|
|
- <name>Snapshots repository</name>
|
|
|
|
- <url>http://192.168.10.201:8081/repository/maven-snapshots/</url>
|
|
|
|
- </snapshotRepository>
|
|
|
|
- </distributionManagement>
|
|
|
|
- -->
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <build>
|
|
|
|
- <plugins>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <archive>
|
|
|
|
- <manifest>
|
|
|
|
- <mainClass>cn.com.qmth.examcloud.ws.WebSocketApp</mainClass>
|
|
|
|
- <addClasspath>true</addClasspath>
|
|
|
|
- <classpathPrefix>./</classpathPrefix>
|
|
|
|
- </manifest>
|
|
|
|
- <manifestEntries>
|
|
|
|
- <Class-Path>../config/</Class-Path>
|
|
|
|
- </manifestEntries>
|
|
|
|
- </archive>
|
|
|
|
- <excludes>
|
|
|
|
- <exclude>*.properties</exclude>
|
|
|
|
- <exclude>*.xml </exclude>
|
|
|
|
- <exclude>classpath.location</exclude>
|
|
|
|
- </excludes>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
- <configuration>
|
|
|
|
- <finalName>examcloud-ws</finalName>
|
|
|
|
- <descriptors>
|
|
|
|
- <descriptor>assembly.xml</descriptor>
|
|
|
|
- </descriptors>
|
|
|
|
- </configuration>
|
|
|
|
- <executions>
|
|
|
|
- <execution>
|
|
|
|
- <id>make-assembly</id>
|
|
|
|
- <phase>install</phase>
|
|
|
|
- <goals>
|
|
|
|
- <goal>assembly</goal>
|
|
|
|
- </goals>
|
|
|
|
- </execution>
|
|
|
|
- </executions>
|
|
|
|
- </plugin>
|
|
|
|
- </plugins>
|
|
|
|
- </build>
|
|
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <archive>
|
|
|
|
+ <manifest>
|
|
|
|
+ <mainClass>cn.com.qmth.examcloud.ws.WebSocketApp</mainClass>
|
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
|
+ <classpathPrefix>./</classpathPrefix>
|
|
|
|
+ </manifest>
|
|
|
|
+ <manifestEntries>
|
|
|
|
+ <Class-Path>../config/</Class-Path>
|
|
|
|
+ </manifestEntries>
|
|
|
|
+ </archive>
|
|
|
|
+ <excludes>
|
|
|
|
+ <exclude>*.properties</exclude>
|
|
|
|
+ <exclude>*.xml</exclude>
|
|
|
|
+ <exclude>classpath.location</exclude>
|
|
|
|
+ </excludes>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <finalName>examcloud-ws</finalName>
|
|
|
|
+ <descriptors>
|
|
|
|
+ <descriptor>assembly.xml</descriptor>
|
|
|
|
+ </descriptors>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>make-assembly</id>
|
|
|
|
+ <phase>install</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>assembly</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
|
|
</project>
|
|
</project>
|