From fc19db87574131df992f4794c84313f2db1516f4 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 02 三月 2023 22:08:31 +0800 Subject: [PATCH] 改变打包方式 --- ycl-smoke/pom.xml | 62 -------------------- ycl-generator/pom.xml | 1 ycl-common/pom.xml | 1 ycl-platform/pom.xml | 62 -------------------- 4 files changed, 2 insertions(+), 124 deletions(-) diff --git a/ycl-common/pom.xml b/ycl-common/pom.xml index 73d37b7..36dde88 100644 --- a/ycl-common/pom.xml +++ b/ycl-common/pom.xml @@ -45,7 +45,6 @@ <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>UTF-8</encoding> - <skip>true</skip> </configuration> </plugin> </plugins> diff --git a/ycl-generator/pom.xml b/ycl-generator/pom.xml index 012443a..58ff246 100644 --- a/ycl-generator/pom.xml +++ b/ycl-generator/pom.xml @@ -93,7 +93,6 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> - <skip>true</skip> </configuration> </plugin> </plugins> diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml index 15da2ad..006145b 100644 --- a/ycl-platform/pom.xml +++ b/ycl-platform/pom.xml @@ -39,73 +39,13 @@ </dependencies> <build> + <finalName>ycl-platform</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <!-- 濡傛灉瑕佹妸渚濊禆涓�璧锋墦鍖�,娉ㄩ噴涓嬮潰configuration --> - <configuration> - <layout>ZIP</layout> - <includes> - <!--灏嗕緷璧栧墧闄�,鍙紪璇戞墦鍖呮湰椤圭洰--> - <include> - <groupId>nothing</groupId> - <artifactId>nothing</artifactId> - </include> - </includes> - </configuration> - </plugin> - - - <!-- 璺宠繃Test娴嬭瘯鎵撳寘 --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-dependency-plugin</artifactId> - <configuration> - <outputDirectory>${project.build.directory}/lib</outputDirectory> - </configuration> - <!--鎵цpackage鏃惰嚜鍔ㄥ皢渚濊禆澶嶅埗鍑烘潵鍒�/lib涓�--> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - </execution> - </executions> - </plugin> - - - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <version>1.18.20</version> - </path> - </annotationProcessorPaths> - - <annotationProcessors> - <annotationProcessor> - lombok.launch.AnnotationProcessorHider$AnnotationProcessor - </annotationProcessor> - </annotationProcessors> - - </configuration> </plugin> </plugins> </build> - </project> diff --git a/ycl-smoke/pom.xml b/ycl-smoke/pom.xml index ca9d4e9..1ac7708 100644 --- a/ycl-smoke/pom.xml +++ b/ycl-smoke/pom.xml @@ -39,73 +39,13 @@ </dependencies> <build> + <finalName>ycl-smoke</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <!-- 濡傛灉瑕佹妸渚濊禆涓�璧锋墦鍖�,娉ㄩ噴涓嬮潰configuration --> - <configuration> - <layout>ZIP</layout> - <includes> - <!--灏嗕緷璧栧墧闄�,鍙紪璇戞墦鍖呮湰椤圭洰--> - <include> - <groupId>nothing</groupId> - <artifactId>nothing</artifactId> - </include> - </includes> - </configuration> - </plugin> - - - <!-- 璺宠繃Test娴嬭瘯鎵撳寘 --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-dependency-plugin</artifactId> - <configuration> - <outputDirectory>${project.build.directory}/lib</outputDirectory> - </configuration> - <!--鎵цpackage鏃惰嚜鍔ㄥ皢渚濊禆澶嶅埗鍑烘潵鍒�/lib涓�--> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - </execution> - </executions> - </plugin> - - - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <version>1.18.20</version> - </path> - </annotationProcessorPaths> - - <annotationProcessors> - <annotationProcessor> - lombok.launch.AnnotationProcessorHider$AnnotationProcessor - </annotationProcessor> - </annotationProcessors> - - </configuration> </plugin> </plugins> </build> - </project> -- Gitblit v1.8.0