2020-04-30 23:45:05 +03:00
|
|
|
<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/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.javacodegeeks</groupId>
|
|
|
|
<artifactId>websocket-example</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>websocket-example Maven Webapp</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<javax.servlet.api>3.1.0</javax.servlet.api>
|
|
|
|
<javax.websocket.api>1.1</javax.websocket.api>
|
|
|
|
<jackson.version>2.9.1</jackson.version>
|
|
|
|
|
|
|
|
<maven.war.plugin>3.2.0</maven.war.plugin>
|
|
|
|
<cargo.maven.plugin>1.6.4</cargo.maven.plugin>
|
|
|
|
<tomcat.version>8.5.23</tomcat.version>
|
|
|
|
|
|
|
|
<maven.compiler.source>9</maven.compiler.source>
|
|
|
|
<maven.compiler.target>9</maven.compiler.target>
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>${javax.servlet.api}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.websocket</groupId>
|
|
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
|
|
<version>${javax.websocket.api}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.websocket</groupId>
|
|
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>JShellServer</finalName>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven.war.plugin}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo.maven.plugin}</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.8.0</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<container>
|
|
|
|
<containerId>tomcat8x</containerId>
|
|
|
|
<artifactInstaller>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>tomcat</artifactId>
|
|
|
|
<version>${tomcat.version}</version>
|
|
|
|
</artifactInstaller>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<type>standalone</type>
|
|
|
|
<home>
|
|
|
|
${project.build.directory}/apache-tomcat-${tomcat.version}
|
|
|
|
</home>
|
|
|
|
<properties>
|
2021-05-26 14:08:58 +03:00
|
|
|
<cargo.servlet.port>9090</cargo.servlet.port>
|
2020-04-30 23:45:05 +03:00
|
|
|
<cargo.logging>high</cargo.logging>
|
|
|
|
<cargo.start.jvmargs>
|
|
|
|
-Xdebug
|
|
|
|
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
|
|
|
|
-Xnoagent
|
|
|
|
-Djava.compiler=NONE
|
|
|
|
</cargo.start.jvmargs>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
<deployables>
|
|
|
|
<deployable>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
|
|
<type>war</type>
|
|
|
|
<properties>
|
|
|
|
<context>/JShellServer</context>
|
|
|
|
</properties>
|
|
|
|
</deployable>
|
|
|
|
</deployables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|