Skip to content

Commit

Permalink
feat: log-record-core 1.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
qqxx6661 committed Jan 11, 2024
1 parent 277443d commit 7176e1e
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ SpringBoot3(JDK17+)请引用:
</dependency>
```

> 最新版本号请查阅[`Maven`公共仓库](https://search.maven.org/artifact/cn.monitor4all/log-record-starter)
> 最新版本号请查阅[`Maven`公共仓库](https://mvnrepository.com/artifact/cn.monitor4all/log-record-starter)

## 项目背景
Expand Down Expand Up @@ -906,6 +906,10 @@ https://github.com/qqxx6661/systemLog

由于拆分了父子模块,在不同JDK下,请重新编译log-record-core,再编译对应版本的log-record-starter,否则会导致编译失败(单元测试异常)。

### 发布版本注意

请将log-record-core, log-record-starter, log-record-springboot3-starter都编译打包发布到Maven公共仓库。

### 配套教程文章

- 如何使用注解优雅的记录操作日志
Expand Down
149 changes: 149 additions & 0 deletions log-record-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,153 @@
</dependency>
</dependencies>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>actable</distribution>
</license>
</licenses>

<developers>
<developer>
<name>Zhendong Yang</name>
<email>yangzd1993@foxmail.com</email>
<organization>monitor4all</organization>
</developer>
</developers>

<scm>
<tag>master</tag>
<url>git@github.com:qqxx6661/log-record.git</url>
<connection>git@github.com:qqxx6661/log-record.git</connection>
<developerConnection>git@github.com:qqxx6661/log-record.git</developerConnection>
</scm>

<distributionManagement>
<!-- 申明打包到Github私有Maven仓库 -->
<!-- <repository>-->
<!-- <id>github</id>-->
<!-- <name>GitHub OWNER Apache Maven Packages</name>-->
<!-- <url>https://maven.pkg.github.com/qqxx6661/log-record</url>-->
<!-- </repository>-->

<!-- 申明打包到Maven公有仓库 -->
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>


<profiles>
<profile>
<id>user</id>
<properties>
<!-- 可自行更改 -->
<doc.path>${java.home}/../bin/javadoc</doc.path>
</properties>
</profile>

<!-- 原pom参数,默认执行 -->
<profile>
<id>admin</id>
<activation>
<!-- 默认激活此profile -->
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<doc.path>${java.home}/../bin/javadoc</doc.path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<javadocExecutable>${doc.path}</javadocExecutable>
<source>8</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 7176e1e

Please sign in to comment.