From 880fc6d48baef3f4112a3a602be044ed1bc04fb5 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 30 九月 2022 17:36:05 +0800
Subject: [PATCH] 优化代码

---
 service-user/pom.xml |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/service-user/pom.xml b/service-user/pom.xml
index f005ed9..6542c55 100755
--- a/service-user/pom.xml
+++ b/service-user/pom.xml
@@ -21,4 +21,42 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
+    <build>
+        <finalName>service-user</finalName>
+	        <plugins>
+	            <plugin>
+	                <groupId>org.apache.maven.plugins</groupId>
+	                <artifactId>maven-dependency-plugin</artifactId>
+	                <version>2.10</version>
+	                <executions>
+	                    <execution>
+	                        <id>unpack</id>
+	                        <phase>generate-resources</phase>
+	                        <goals>
+	                            <goal>unpack</goal>
+	                        </goals>
+	                        <configuration>
+	                            <artifactItems>
+	                                <artifactItem>
+	                                    <groupId>com.java110</groupId>
+	                                    <artifactId>java110-interface</artifactId>
+	                                    <version>${microcommunity.version}</version>
+	                                    <type>jar</type>
+	                                    <overWrite>true</overWrite>
+	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
+	                                </artifactItem>
+	                            </artifactItems>
+	                        </configuration>
+	                    </execution>
+	                </executions>
+	            </plugin>
+	            <plugin>
+	                <groupId>org.springframework.boot</groupId>
+	                <artifactId>spring-boot-maven-plugin</artifactId>
+	                <configuration>
+	                    <mainClass>com.java110.user.UserServiceApplicationStart</mainClass>
+	                </configuration>
+	            </plugin>
+	        </plugins>
+    </build>
 </project>

--
Gitblit v1.8.0