1 Star 0 Fork 19

forkzj/wm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jar.xml 7.29 KB
一键复制 编辑 原始数据 按行查看 历史
鬼画符 提交于 2023-02-27 13:32 . 优化日志管理time
<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.xnx3.wangmarket.wm</groupId>
<artifactId>wm</artifactId>
<packaging>jar</packaging>
<version>2.34</version>
<name>wm</name>
<description>wm.zvo.cn</description>
<parent>
<groupId>com.xnx3.wangmarket.wm</groupId>
<artifactId>parent</artifactId>
<version>2.26</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 编译时的编码 -->
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<java.version>1.8</java.version>
</properties>
<repositories>
<repository>
<id>maven-ali</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>bintray</name>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<id>maven-guanfang</id>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<!-- 打包成jar时,忽略的包 -->
<exclude>**/com/Application*</exclude>
<exclude>**/com/j2ee/Test*</exclude>
<exclude>/*.properties</exclude>
<exclude>**/static/**</exclude>
</excludes>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/com/Application*</exclude>
<exclude>**/com/j2ee/Test*</exclude>
<exclude>**/static/**</exclude>
</excludes>
</configuration>
</plugin>
<!-- GPG -->
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<skip>true</skip>
</configuration>
</plugin> -->
</plugins>
<resources>
<!-- 将 resource/META-INF 下的配置文件拷贝到jar包 META-INF 目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/resources</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>./</targetPath>
<includes>
<include>META-INF/**</include>
</includes>
</resource>
<!-- 将 resource/META-INF 下的配置文件拷贝到jar包 META-INF 目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/resources</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>./</targetPath>
<includes>
<include>*.xml</include>
<include>*.properties</include>
<include>*.json</include>
<include>*.db</include>
</includes>
</resource>
<!-- 打包时将jsp文件拷贝到META-INF目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/</targetPath>
<includes>
<include>wm/**</include>
<include>module/**</include>
</includes>
</resource>
<!-- 打包时将jsp文件拷贝到META-INF目录下 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp/WEB-INF</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/WEB-INF/</targetPath>
<includes>
<include>view/**</include>
</includes>
</resource>
<!-- 将 resource/static 下的配置文件拷贝到jar包 -->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/resources/static/</directory>
<!-- 注意此次必须要放在此目录下才能被访问到 -->
<targetPath>META-INF/resources/</targetPath>
<includes>
<include>js/**</include>
<include>css/**</include>
<include>module/**</include>
<include>index.html</include>
</includes>
</resource>
</resources>
</build>
<dependencies>
<!-- FTP上传组文件,如果不需要FTP功能,无需引入此 -->
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>3.3</version>
</dependency>
</dependencies>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/forkzj/wm.git
git@gitee.com:forkzj/wm.git
forkzj
wm
wm
master

搜索帮助