Edit D:\rfid\ACS\sip2server\sip2server\META-INF\maven\com.jishen\acsserver\pom.xml
<?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.jishen</groupId> <artifactId>acsserver</artifactId> <version>1.0</version> <properties> <!--??????????????????????????????????aven??????????????????--> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>4.0.10.Final</version> </dependency> <dependency> <groupId>com.arronlong</groupId> <artifactId>httpclientutil</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.1.41</version> </dependency> <!-- https://mvnrepository.com/artifact/log4j/log4j --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> </dependencies> <build> <finalName>Sip2server-o</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.3</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <!--<plugin>--> <!--<artifactId>maven-compiler-plugin</artifactId>--> <!--<configuration>--> <!--<source>1.8</source>--> <!--<target>1.8</target>--> <!--</configuration>--> <!--</plugin>--> <!-- ?????ar??? --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.0</version> <configuration> <outputDirectory>${project.build.directory}/sip2</outputDirectory> <archive> <manifestEntries> <Class-Path>.</Class-Path> </manifestEntries> <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> <mainClass>com.jishen.acsserver.ACSServer</mainClass> </manifest> </archive> <!--<plugin>--> <!--<groupId>org.apache.maven.plugins</groupId>--> <!--<artifactId>maven-jar-plugin</artifactId>--> <!--<version>2.6</version>--> <!--<configuration>--> <!--<archive>--> <!--<manifest>--> <!--<addClasspath>true</addClasspath>--> <!--<classpathPrefix>lib/</classpathPrefix>--> <!--<mainClass>com.jishen.acsserver.ACSServer</mainClass>--> <!--</manifest>--> <!--</archive>--> <!--<excludes>--> <!--<exclude>**/server.properties</exclude>--> <!--<exclude>**/*.xml</exclude>--> <!--<exclude>**/*.yml</exclude>--> <!--<exclude>static/**</exclude>--> <!--<exclude>templates/**</exclude>--> <!--</excludes>--> <!--</configuration>--> <!--</plugin>--> <!--????????ar??????--> <excludes> <exclude>**/*.xml</exclude> <exclude>**/*.conf</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.bat</exclude> <exclude>**/*.docx</exclude> </excludes> </configuration> </plugin> <!-- maven???????????? --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.7</version> <executions> <execution> <id>copy-resources</id> <!-- here the phase you need --> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/sip2</outputDirectory> <resources> <resource> <directory>src/main/resources</directory> <includes> <exclude>**/*.xml</exclude> <exclude>**/*.conf</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.bat</exclude> <exclude>**/*.docx</exclude> </includes> <!--<filtering>true</filtering>--> </resource> <resource> <directory>src/main/webapp</directory> <!-- ???build?????????????????ase directory??????????????????????????/META-INF/resources/??/resources/??/static/??/public/,??????????????? --> <targetPath>public</targetPath> </resource> </resources> <encoding>UTF-8</encoding> </configuration> </execution> </executions> </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> <outputDirectory>${project.build.directory}/sip2/lib</outputDirectory> <!-- ?????????????? --> <excludeTransitive>false</excludeTransitive> <!-- ?????? --> <stripVersion>false</stripVersion> </configuration> </execution> </executions> </plugin> <!--<plugin>--> <!--<groupId>org.apache.maven.plugins</groupId>--> <!--<artifactId>maven-dependency-plugin</artifactId>--> <!--<version>2.10</version>--> <!--<executions>--> <!--<execution>--> <!--<id>copy-dependencies</id>--> <!--<phase>package</phase>--> <!--<goals>--> <!--<goal>copy-dependencies</goal>--> <!--</goals>--> <!--<configuration>--> <!--<outputDirectory>${project.build.directory}/lib</outputDirectory>--> <!--</configuration>--> <!--</execution>--> <!--</executions>--> <!--</plugin>--> <!--???mvn ??????????????????--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> <configuration> <!--??????--> <!--<testFailureIgnore>true</testFailureIgnore>--> <!--??????--> <skipTests>true</skipTests> </configuration> </plugin> </plugins> </build> </project>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de