1 Star 0 Fork 42

DawinZhang/JApiTest

forked from penngo/JApiTest 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 5.52 KB
一键复制 编辑 原始数据 按行查看 历史
penngo 提交于 2018-01-07 13:21 +08:00 . no message
<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.penngo</groupId>
<artifactId>JApiTest</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>JapiTest Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>jfinal</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>jetty-server</artifactId>
<version>8.1.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.20</version>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.10.3</version>
</dependency>
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.20.0</version>
</dependency>
</dependencies>
<build>
<finalName>JApiTest</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.jfinal:jfinal</include>
<include>com.jfinal:jetty-server</include>
<include>org.eclipse.jetty:*</include>
<include>javax.servlet:*</include>
</includes>
<!--
<excludes>
<exclude>junit:junit</exclude>
<exclude>com.jfinal:jfinal</exclude>
<exclude>org.freemarker:freemarker</exclude>
<exclude>com.googlecode.json-simple:json-simple</exclude>
<exclude>org.jsoup:jsoup</exclude>
<exclude>c3p0:c3p0</exclude>
<exclude>log4j:log4j</exclude>
<exclude>org.xerial:sqlite-jdbc</exclude>
</excludes>
-->
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<!--
<excludes>
<exclude>META-INF/*.SF</exclude>
</excludes> -->
<excludes>
<exclude>src/main/webapp/*</exclude>
</excludes>
</filter>
</filters>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName></shadedClassifierName>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.penngo.common.Main</mainClass>
</transformer>
</transformers>
<relocations>
<relocation>
<pattern>org.eclipse.jetty.security</pattern>
<shadedPattern>org.eclipse.jetty.security2</shadedPattern>
<!--
<excludes>
<exclude>org.eclipse.jetty.util.log</exclude>
<exclude>org.eclipse.jetty.util.log2</exclude>
</excludes> -->
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/dawinzhang/JApiTest.git
git@gitee.com:dawinzhang/JApiTest.git
dawinzhang
JApiTest
JApiTest
master

搜索帮助