提交 ae6593fa 编写于 作者: 小傅哥's avatar 小傅哥

feat:发包配置 jdk17 v1.3

上级 88e864b7
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
### 1. 生成 ### 1. 生成
```shell ```shell
md5 ddd-scaffold-lite-jdk17-1.0.pom > ddd-scaffold-lite-jdk17-1.0.pom.md5 md5 ddd-scaffold-lite-jdk17-1.1.pom > ddd-scaffold-lite-jdk17-1.1.pom.md5
shasum ddd-scaffold-lite-jdk17-1.0.pom > ddd-scaffold-lite-jdk17-1.0.pom.sha1 shasum ddd-scaffold-lite-jdk17-1.1.pom > ddd-scaffold-lite-jdk17-1.1.pom.sha1
``` ```
```shell ```shell
......
...@@ -5,14 +5,21 @@ ...@@ -5,14 +5,21 @@
<groupId>io.github.fuzhengwei</groupId> <groupId>io.github.fuzhengwei</groupId>
<artifactId>ddd-scaffold-lite-jdk17</artifactId> <artifactId>ddd-scaffold-lite-jdk17</artifactId>
<version>1.0</version> <version>1.3</version>
<packaging>maven-archetype</packaging> <!-- <packaging>maven-archetype</packaging>-->
<!-- <packaging>jar</packaging>--> <packaging>jar</packaging>
<name>ddd-scaffold-lite-jdk17-v1.0</name> <name>ddd-scaffold-lite-jdk17-v1.0</name>
<url>https://github.com/fuzhengwei/ddd-scaffold-lite</url> <url>https://github.com/fuzhengwei/ddd-scaffold-lite</url>
<description>ddd scaffold lite ddd jdk 17 by xiaofuge</description> <description>ddd scaffold lite ddd jdk 17 by xiaofuge</description>
<scm>
<connection>scm:git:https://github.com/spring-projects/spring-boot/xfg-frame-archetype.git</connection>
<developerConnection>scm:git:https://github.com/spring-projects/spring-boot/xfg-frame-archetype.git</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/spring-projects/spring-boot/xfg-frame-archetype</url>
</scm>
<licenses> <licenses>
<license> <license>
<name>Apache</name> <name>Apache</name>
...@@ -45,7 +52,7 @@ ...@@ -45,7 +52,7 @@
<maven-checksum-plugin.version>1.10</maven-checksum-plugin.version> <maven-checksum-plugin.version>1.10</maven-checksum-plugin.version>
</properties> </properties>
<build> <!--<build>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.archetype</groupId> <groupId>org.apache.maven.archetype</groupId>
...@@ -135,9 +142,9 @@ ...@@ -135,9 +142,9 @@
</plugins> </plugins>
</build> </build>-->
<profiles> <!-- <profiles>
<profile> <profile>
<id>release</id> <id>release</id>
<build> <build>
...@@ -145,12 +152,12 @@ ...@@ -145,12 +152,12 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version> <!-- 使用最新版本 --> <version>2.9.1</version> &lt;!&ndash; 使用最新版本 &ndash;&gt;
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<goals> <goals>
<goal>jar</goal> <!-- 绑定到 jar 目标 --> <goal>jar</goal> &lt;!&ndash; 绑定到 jar 目标 &ndash;&gt;
</goals> </goals>
<configuration> <configuration>
<additionalparam>-Xdoclint:none</additionalparam> <additionalparam>-Xdoclint:none</additionalparam>
...@@ -164,10 +171,170 @@ ...@@ -164,10 +171,170 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
</profiles> </profiles>-->
<scm>
<url>https://github.com/spring-projects/spring-boot/xfg-frame-archetype</url>
</scm> <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<encoding>UTF-8</encoding>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</plugin>
<!-- central发布插件 -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>ossrh</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
<!-- <waitUntil>published</waitUntil>-->
</configuration>
</plugin>
<!-- source源码插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- javadoc插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<!-- /Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc -->
<javadocExecutable>${java.home}${file.separator}..${file.separator}bin${file.separator}javadoc</javadocExecutable>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<!--gpg加密-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<configuration>
<!--指定用于签名的 GPG 密钥名称。-->
<keyname>ossrh</keyname>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.10</version>
<executions>
<execution>
<id>create-checksums</id>
<goals>
<goal>artifacts</goal>
</goals>
<configuration>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
</algorithms>
<attachChecksums>true</attachChecksums>
</configuration>
</execution>
<execution>
<id>create-pom-checksums</id>
<goals>
<goal>files</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>*.pom</include>
</includes>
</fileSet>
</fileSets>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
</algorithms>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project> </project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册