648 Star 4.6K Fork 1.1K

鬼画符 / wangmarket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 7.25 KB
一键复制 编辑 原始数据 按行查看 历史
鬼画符 提交于 2023-12-12 18:01 . pom v6.5
<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</groupId>
<artifactId>wangmarket</artifactId>
<packaging>war</packaging>
<name>wangmarket</name>
<version>6.5</version>
<description>网市场云建站系统</description>
<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>
<!-- 定义公共资源版本 -->
<parent>
<groupId>com.xnx3.wangmarket.wm</groupId>
<artifactId>parent</artifactId>
<version>3.10</version>
</parent>
<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>
<finalName>wangmarket</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<!--指定外部lib,打包时一并将外部jar打包-->
<arg>-extdirs</arg>
<arg>${project.basedir}/src/main/webapp/WEB-INF/lib</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<failOnMissingWebXml>false</failOnMissingWebXml>
<webResources>
<resource>
<directory>src/main/resources/static</directory>
<targetPath>static</targetPath>
<filtering>true</filtering>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!-- 没有该配置,devtools 不生效 -->
<fork>true</fork>
<mainClass>com.Application</mainClass>
</configuration>
</plugin>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<!-- <execution>
<id>attach-sources</id>
<phase>deploy</phase>
</execution> -->
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<source>${java.version}</source>
</configuration>
</execution>
</executions>
</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>
</plugin>
-->
</plugins>
<resources>
<!-- 打包时将jsp文件拷贝到META-INF目录下-->
<resource>
<!-- 指定resources插件处理哪个目录下的资源文件 -->
<directory>src/main/webapp</directory>
<!--注意此次必须要放在此目录下才能被访问到-->
<targetPath>META-INF/resources</targetPath>
<includes>
<include>**/**</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/**</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>
<dependencies>
<!-- http/https请求工具 https://github.com/xnx3/http.java -->
<dependency>
<groupId>cn.zvo.http</groupId>
<artifactId>http</artifactId>
<version>1.0</version>
</dependency>
<!-- ueditor编辑器 https://github.com/xnx3/ueditor-fileupload -->
<dependency>
<groupId>cn.zvo.fileupload</groupId>
<artifactId>fileupload-framework-ueditor</artifactId>
<version>1.3</version>
</dependency>
<!-- 本地的基础功能如数据库操作等。这个wm文档及源码在 http://wm.zvo.cn -->
<dependency>
<groupId>com.xnx3.wangmarket.wm</groupId>
<artifactId>wm</artifactId>
<version>3.14</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/wm-3.14.jar</systemPath>
</dependency>
<!-- 使用的HTML可视化,开源仓库: https://github.com/xnx3/HtmlVisualEditor -->
<dependency>
<groupId>com.xnx3.wangmarket.plugin.HtmlVisualEditor</groupId>
<artifactId>wangmarket.plugin.HtmlVisualEditor</artifactId>
<version>3.0.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/wangmarket.plugin.HtmlVisualEditor-3.0.2.jar</systemPath>
</dependency>
</dependencies>
<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>
</project>
Java
1
https://gitee.com/mail_osc/wangmarket.git
git@gitee.com:mail_osc/wangmarket.git
mail_osc
wangmarket
wangmarket
master

搜索帮助