From 89b29265656ac36ee710782caa9162950e8e3973 Mon Sep 17 00:00:00 2001 From: cheng <1821349743@qq.com> Date: 星期六, 08 四月 2023 23:26:33 +0800 Subject: [PATCH] update pom --- pom.xml | 82 +++++----------------------------------- 1 files changed, 11 insertions(+), 71 deletions(-) diff --git a/pom.xml b/pom.xml index 891cd7d..91f9f7c 100644 --- a/pom.xml +++ b/pom.xml @@ -2,91 +2,31 @@ <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> <parent> - <groupId>com.lx</groupId> <artifactId>product-server</artifactId> - <version>1.0.0-SNAPSHOT</version> + <groupId>com.lx</groupId> + <version>2.0.0-release</version> </parent> - <artifactId>product-server-seal</artifactId> - <name>product-server-seal</name> - <description>product-server-seal</description> + <modelVersion>4.0.0</modelVersion> + + <artifactId>product-server-badge</artifactId> + <name>product-server-badge</name> + <version>2.0.0-release</version> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> <dependencies> <dependency> <groupId>com.lx</groupId> <artifactId>product-server-common</artifactId> - <version>1.0.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.lx</groupId> <artifactId>product-server-util</artifactId> - <version>1.0.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.lx</groupId> - <artifactId>product-server-core</artifactId> - <version>1.0.0-releases</version> + <artifactId>product-server-admin</artifactId> </dependency> - <dependency> - <groupId>org.spring</groupId> - <artifactId>spring-server-master</artifactId> - <version>1.2.6.6</version> - </dependency> </dependencies> - <build> - <plugins> - <!-- 鎵揓AR鍖� --> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <!-- 涓嶆墦鍖呰祫婧愭枃浠讹紙閰嶇疆鏂囦欢鍜屼緷璧栧寘鍒嗗紑锛� --> - <excludes> - <exclude>*.properties</exclude> - <exclude>*.xml</exclude> - </excludes> - <archive> - <manifest> - <addClasspath>true</addClasspath> - <!-- MANIFEST.MF 涓� Class-Path 鍔犲叆鍓嶇紑 --> - <classpathPrefix>lib/</classpathPrefix> - <!-- jar鍖呬笉鍖呭惈鍞竴鐗堟湰鏍囪瘑 --> - <useUniqueVersions>true</useUniqueVersions> - <!--鎸囧畾鍏ュ彛绫� --> - <mainClass>com.product.Application</mainClass> - </manifest> - <manifestEntries> - <!--MANIFEST.MF 涓� Class-Path 鍔犲叆璧勬簮鏂囦欢鐩綍 --> - <Class-Path>./resources/</Class-Path> - </manifestEntries> - - </archive> - <outputDirectory>${project.build.directory}</outputDirectory> - </configuration> - </plugin> - <!-- 鎷疯礉鏂囦欢 --> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>copy</id> - <phase>package</phase> - <configuration> - <tasks> - <copy file="${project.build.directory}/product-server-seal-1.0.0-SNAPSHOT.jar" - tofile="D:/product/workspace/product-server-install/resources/product-server/product-server-web-1.0.0-SNAPSHOT.jar" - overwrite="true"/> - </tasks> - - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - </plugins> - </build> </project> -- Gitblit v1.9.2