build : 发布插件
This commit is contained in:
@@ -32,63 +32,63 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<!-- <build>-->
|
<build>
|
||||||
<!-- <!– 默认生效的插件 –>-->
|
<!-- 默认生效的插件 -->
|
||||||
<!-- <plugins>-->
|
<plugins>
|
||||||
<!-- <plugin>-->
|
<plugin>
|
||||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
<groupId>org.springframework.boot</groupId>
|
||||||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<!-- <executions>-->
|
<executions>
|
||||||
<!-- <execution>-->
|
<execution>
|
||||||
<!-- <goals>-->
|
<goals>
|
||||||
<!-- <goal>repackage</goal>-->
|
<goal>repackage</goal>
|
||||||
<!-- </goals>-->
|
</goals>
|
||||||
<!-- </execution>-->
|
</execution>
|
||||||
<!-- </executions>-->
|
</executions>
|
||||||
<!-- <!– 排除静态编译类的插件,为打包的 jar 瘦身 –>-->
|
<!-- 排除静态编译类的插件,为打包的 jar 瘦身 -->
|
||||||
<!-- <configuration>-->
|
<configuration>
|
||||||
<!-- <excludes>-->
|
<excludes>
|
||||||
<!-- <exclude>-->
|
<exclude>
|
||||||
<!-- <groupId>org.projectlombok</groupId>-->
|
<groupId>org.projectlombok</groupId>
|
||||||
<!-- <artifactId>lombok</artifactId>-->
|
<artifactId>lombok</artifactId>
|
||||||
<!-- </exclude>-->
|
</exclude>
|
||||||
<!-- <exclude>-->
|
<exclude>
|
||||||
<!-- <groupId>org.mapstruct</groupId>-->
|
<groupId>org.mapstruct</groupId>
|
||||||
<!-- <artifactId>mapstruct-processor</artifactId>-->
|
<artifactId>mapstruct-processor</artifactId>
|
||||||
<!-- </exclude>-->
|
</exclude>
|
||||||
<!-- </excludes>-->
|
</excludes>
|
||||||
<!-- </configuration>-->
|
</configuration>
|
||||||
<!-- </plugin>-->
|
</plugin>
|
||||||
<!-- <!– 编译插件 –>-->
|
<!-- 编译插件 -->
|
||||||
<!-- <plugin>-->
|
<plugin>
|
||||||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<!-- <configuration>-->
|
<configuration>
|
||||||
<!-- <source>17</source>-->
|
<source>17</source>
|
||||||
<!-- <target>17</target>-->
|
<target>17</target>
|
||||||
<!-- <encoding>UTF-8</encoding>-->
|
<encoding>UTF-8</encoding>
|
||||||
<!-- <compilerArgs>-->
|
<compilerArgs>
|
||||||
<!-- <arg>-parameters</arg>-->
|
<arg>-parameters</arg>
|
||||||
<!-- <arg>--add-opens</arg>-->
|
<arg>--add-opens</arg>
|
||||||
<!-- <arg>java.base/java.lang=ALL-UNNAMED</arg>-->
|
<arg>java.base/java.lang=ALL-UNNAMED</arg>
|
||||||
<!-- </compilerArgs>-->
|
</compilerArgs>
|
||||||
<!-- <!– 注解静态编译功能 注:仅支持 maven-compiler-plugin 的 version 在3.6.0 以上才生效 –>-->
|
<!-- 注解静态编译功能 注:仅支持 maven-compiler-plugin 的 version 在3.6.0 以上才生效 -->
|
||||||
<!-- <annotationProcessorPaths>-->
|
<annotationProcessorPaths>
|
||||||
<!-- <!– 必须配置 lombok 的注解编译,否则会因为配置了(mapstruct-processor)启动了导致 lombok 对内部类的静态编译失效 –>-->
|
<!-- 必须配置 lombok 的注解编译,否则会因为配置了(mapstruct-processor)启动了导致 lombok 对内部类的静态编译失效 -->
|
||||||
<!-- <path>-->
|
<path>
|
||||||
<!-- <groupId>org.projectlombok</groupId>-->
|
<groupId>org.projectlombok</groupId>
|
||||||
<!-- <artifactId>lombok</artifactId>-->
|
<artifactId>lombok</artifactId>
|
||||||
<!-- <version>${lombok.version}</version>-->
|
<version>${lombok.version}</version>
|
||||||
<!-- </path>-->
|
</path>
|
||||||
<!-- <path>-->
|
<path>
|
||||||
<!-- <groupId>org.mapstruct</groupId>-->
|
<groupId>org.mapstruct</groupId>
|
||||||
<!-- <artifactId>mapstruct-processor</artifactId>-->
|
<artifactId>mapstruct-processor</artifactId>
|
||||||
<!-- <version>${org.mapstruct.version}</version>-->
|
<version>${org.mapstruct.version}</version>
|
||||||
<!-- </path>-->
|
</path>
|
||||||
<!-- </annotationProcessorPaths>-->
|
</annotationProcessorPaths>
|
||||||
<!-- </configuration>-->
|
</configuration>
|
||||||
<!-- </plugin>-->
|
</plugin>
|
||||||
<!-- </plugins>-->
|
</plugins>
|
||||||
|
|
||||||
<!-- </build>-->
|
</build>
|
||||||
</project>
|
</project>
|
||||||
Reference in New Issue
Block a user