1 Star 0 Fork 93

甘军/jfinal-undertow

forked from JFinal/jfinal-undertow 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 5.93 KB
一键复制 编辑 原始数据 按行查看 历史
JFinal 提交于 2022-10-16 20:43 . jfinal undertow 3.3 release ^_^
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jfinal</groupId>
<artifactId>jfinal-undertow</artifactId>
<version>3.3</version>
<packaging>jar</packaging>
<name>jfinal-undertow</name>
<url>https://jfinal.com</url>
<description>jfinal undertow</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<issueManagement>
<system>Github Issue</system>
<url>https://gitee.com/jfinal/jfinal-undertow/issues</url>
</issueManagement>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>jfinal</id>
<name>James</name>
<email>jfinal@126.com</email>
<url>https://jfinal.com/user/1</url>
</developer>
</developers>
<scm>
<connection>scm:git:git@gitee.com:jfinal/jfinal-undertow.git</connection>
<developerConnection>scm:git:git@gitee.com:jfinal/jfinal-undertow.git</developerConnection>
<url>git@gitee.com:jfinal/jfinal-undertow.git</url>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<repositories>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<!-- jfinal -->
<dependency>
<groupId>com.jfinal</groupId>
<artifactId>jfinal</artifactId>
<version>5.0.3</version>
<scope>provided</scope>
</dependency>
<!-- undertow -->
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
<version>2.2.20.Final</version>
</dependency>
<!-- servlet,每次升级时需检查两项 exclusion 中的 groupId 是否完全一致,确保排除生效 -->
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-servlet</artifactId>
<version>2.2.20.Final</version>
<exclusions>
<exclusion>
<!-- 不启用 jboss servlet api,而是启用后面的 javax.servlet-api。后者少了 java 源码,其它完全一样 -->
<groupId>org.jboss.spec.javax.servlet</groupId>
<artifactId>jboss-servlet-api_4.0_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.spec.javax.annotation</groupId>
<!-- 注意将来升到 2.1.x 以后,以下要改成: jboss-annotations-api_1.3_spec -->
<artifactId>jboss-annotations-api_1.3_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
</dependency>
<!-- WebSocket 支持,开发 WebSocket 功能时需要添加此依赖,并要去掉 scope 的 provided 配置 -->
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-websockets-jsr</artifactId>
<version>2.2.20.Final</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>jfinal-undertow</finalName>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<!-- **/* 写法,可以将各级子目录下的资源文件被打包 -->
<include>**/*.jf</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<!-- java8 保留参数名编译参数 -->
<arg>-parameters</arg>
<!-- 输出详细信息 -->
<arg>-verbose</arg>
<!--<arg>-Xlint:all,-options,-path</arg>-->
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<configuration>
<!-- 解决 java8 发布到 maven 异常 -->
<additionalparam>-Xdoclint:none</additionalparam>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 安装源码到本地仓库 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 部署到 maven 中心库: mvn clean deploy -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<!-- 对应 maven settings.xml 中的 server 配置 -->
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/gj11307/jfinal-undertow.git
git@gitee.com:gj11307/jfinal-undertow.git
gj11307
jfinal-undertow
jfinal-undertow
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385