From 880fc6d48baef3f4112a3a602be044ed1bc04fb5 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 30 九月 2022 17:36:05 +0800
Subject: [PATCH] 优化代码
---
service-dev/pom.xml | 38 ++++
service-acct/pom.xml | 38 ++++
service-community/pom.xml | 38 ++++
service-fee/pom.xml | 38 ++++
service-order/pom.xml | 56 +++++++
service-job/pom.xml | 38 ++++
service-oa/pom.xml | 38 ++++
service-store/pom.xml | 38 ++++
service-user/pom.xml | 38 ++++
service-report/pom.xml | 38 ++++
service-common/pom.xml | 38 ++++
11 files changed, 436 insertions(+), 0 deletions(-)
diff --git a/service-acct/pom.xml b/service-acct/pom.xml
index 805931c..7b20b79 100644
--- a/service-acct/pom.xml
+++ b/service-acct/pom.xml
@@ -25,4 +25,42 @@
<artifactId>alipay-sdk-java</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-acct</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.acct.AcctServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-common/pom.xml b/service-common/pom.xml
index bf31baa..c981f7e 100755
--- a/service-common/pom.xml
+++ b/service-common/pom.xml
@@ -60,4 +60,42 @@
<version>1.7</version>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-common</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.common.CommonServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-community/pom.xml b/service-community/pom.xml
index 7a4df5d..e467aa9 100755
--- a/service-community/pom.xml
+++ b/service-community/pom.xml
@@ -22,4 +22,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-community</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.community.CommunityServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-dev/pom.xml b/service-dev/pom.xml
index e9faecb..c955633 100644
--- a/service-dev/pom.xml
+++ b/service-dev/pom.xml
@@ -21,4 +21,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-dev</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.dev.DevServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-fee/pom.xml b/service-fee/pom.xml
index 6eb8d71..4429979 100755
--- a/service-fee/pom.xml
+++ b/service-fee/pom.xml
@@ -22,4 +22,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-fee</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.fee.FeeServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-job/pom.xml b/service-job/pom.xml
index 6069af2..a470cd9 100755
--- a/service-job/pom.xml
+++ b/service-job/pom.xml
@@ -35,4 +35,42 @@
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-job</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.job.JobServiceApplication</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-oa/pom.xml b/service-oa/pom.xml
index 75c8eed..8a676bd 100644
--- a/service-oa/pom.xml
+++ b/service-oa/pom.xml
@@ -21,4 +21,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-oa</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.oa.OaServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-order/pom.xml b/service-order/pom.xml
index 25b2c6e..3d5051e 100755
--- a/service-order/pom.xml
+++ b/service-order/pom.xml
@@ -36,4 +36,60 @@
<scope>test</scope>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-order</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.order.OrderServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <aggregate>true</aggregate>
+ <reportOutputDirectory>../javadocs</reportOutputDirectory>
+ <destDir>security-javadoc</destDir>
+ <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
+ <tags>
+ <tag>
+ <name>Description</name>
+ <placement>a</placement>
+ <head>鍔熻兘鎻忚堪:</head>
+ </tag>
+ </tags>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-report/pom.xml b/service-report/pom.xml
index 359c037..7592708 100755
--- a/service-report/pom.xml
+++ b/service-report/pom.xml
@@ -21,4 +21,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-report</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.report.ReportServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/service-store/pom.xml b/service-store/pom.xml
index 62ff3b7..3f0e6f2 100755
--- a/service-store/pom.xml
+++ b/service-store/pom.xml
@@ -19,4 +19,42 @@
<artifactId>java110-service</artifactId>
</dependency>
</dependencies>
+ <build>
+ <finalName>service-store</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.store.StoreServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
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