|
@@ -1,65 +1,152 @@
|
|
|
<?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">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
- <groupId>com</groupId>
|
|
|
- <artifactId>dedup</artifactId>
|
|
|
- <version>2.9</version>
|
|
|
- <name>dedup</name>
|
|
|
- <url>http://maven.apache.org</url>
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- <maven.compiler.source>1.7</maven.compiler.source>
|
|
|
- <maven.compiler.target>1.7</maven.compiler.target>
|
|
|
- </properties>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.eclipse.jetty</groupId>
|
|
|
- <artifactId>jetty-server</artifactId>
|
|
|
- <version>9.4.17.v20190418</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.eclipse.jetty</groupId>
|
|
|
- <artifactId>jetty-webapp</artifactId>
|
|
|
- <version>9.4.17.v20190418</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <build>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-eclipse-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <downloadSources>true</downloadSources>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <finalName>start</finalName>
|
|
|
- <appendAssemblyId>false</appendAssemblyId>
|
|
|
- <descriptorRefs>
|
|
|
- <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
- </descriptorRefs>
|
|
|
- <archive>
|
|
|
- <manifest>
|
|
|
- <mainClass>com.shentar.frontend.FrontMain</mainClass>
|
|
|
- </manifest>
|
|
|
- </archive>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>make-assembly</id>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>assembly</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
+<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>com</groupId>
|
|
|
+ <artifactId>dedup</artifactId>
|
|
|
+ <version>3.2</version>
|
|
|
+ <name>dedup</name>
|
|
|
+ <url>http://maven.apache.org</url>
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <jetty.version>9.4.41.v20210516</jetty.version>
|
|
|
+ <jetty.alpn.api.version>1.1.2.v20150522</jetty.alpn.api.version>
|
|
|
+ <maven.compiler.source>11</maven.compiler.source>
|
|
|
+ <maven.compiler.target>11</maven.compiler.target>
|
|
|
+ </properties>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-http</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-alpn-server</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-jmx</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-servlet</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-servlets</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-server</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-io</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-webapp</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty.http2</groupId>
|
|
|
+ <artifactId>http2-server</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty.http2</groupId>
|
|
|
+ <artifactId>http2-hpack</artifactId>
|
|
|
+ <version>${jetty.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty.alpn</groupId>
|
|
|
+ <artifactId>alpn-api</artifactId>
|
|
|
+ <version>${jetty.alpn.api.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-alpn-java-server</artifactId>
|
|
|
+ <version>9.4.40.v20210413</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.xml.bind</groupId>
|
|
|
+ <artifactId>jaxb-api</artifactId>
|
|
|
+ <version>2.3.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.xml.bind</groupId>
|
|
|
+ <artifactId>jaxb-core</artifactId>
|
|
|
+ <version>2.3.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.xml.bind</groupId>
|
|
|
+ <artifactId>jaxb-impl</artifactId>
|
|
|
+ <version>2.3.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.annotation</groupId>
|
|
|
+ <artifactId>javax.annotation-api</artifactId>
|
|
|
+ <version>1.3.2</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-eclipse-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <downloadSources>true</downloadSources>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>3.0.2</version>
|
|
|
+ <inherited>true</inherited>
|
|
|
+ <configuration>
|
|
|
+ <finalName>start</finalName>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <addClasspath>true</addClasspath>
|
|
|
+ <classpathPrefix>lib/</classpathPrefix>
|
|
|
+ <mainClass>com.shentar.frontend.FrontMain</mainClass>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-dependency-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>copy-dependencies</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>copy-dependencies</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <excludeArtifactIds>junit,jasper-runtime,ant</excludeArtifactIds>
|
|
|
+ <includeTypes>jar</includeTypes>
|
|
|
+ <overWriteSnapshots>true</overWriteSnapshots>
|
|
|
+ <type>jar</type>
|
|
|
+ <outputDirectory>${project.build.directory}/dependency</outputDirectory>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
</project>
|