From 7fc2d4db0603bfe826a8ddb8259ecfd88d30f192 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 16 三月 2023 17:53:32 +0800 Subject: [PATCH] 接口优化 --- ycl-platform/pom.xml | 100 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 94 insertions(+), 6 deletions(-) diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml index 084ec6a..78d280f 100644 --- a/ycl-platform/pom.xml +++ b/ycl-platform/pom.xml @@ -26,25 +26,113 @@ <version>1.0.0</version> </dependency> <dependency> - <groupId>commons-httpclient</groupId> - <artifactId>commons-httpclient</artifactId> - <version>3.0.1</version> - </dependency> - <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>com.ycl</groupId> + <artifactId>ycl-generator</artifactId> + <version>1.0.0</version> + <scope>compile</scope> + </dependency> </dependencies> +<!-- <build>--> +<!-- <finalName>ycl-platform</finalName>--> +<!-- <plugins>--> +<!-- <plugin>--> +<!-- <groupId>org.springframework.boot</groupId>--> +<!-- <artifactId>spring-boot-maven-plugin</artifactId>--> +<!-- </plugin>--> +<!-- </plugins>--> +<!-- </build>--> + <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> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>3.2.2</version> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <classpathPrefix>lib/</classpathPrefix> +<!-- <mainClass>your.class</mainClass>--> + </manifest> + </archive> + </configuration> </plugin> </plugins> </build> + + + </project> -- Gitblit v1.8.0