Skip to content

Commit

Permalink
perf: 优化发布到maven中央仓库配置
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkung22 committed Dec 25, 2024
1 parent 4a60007 commit c0d08b0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
1 change: 0 additions & 1 deletion example/gateway-api-encrypt-example/gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<nacos.version>2.0.2</nacos.version>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion example/gateway-api-encrypt-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

</project>
1 change: 0 additions & 1 deletion example/gateway-api-encrypt-example/user/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<nacos.version>2.0.2</nacos.version>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>

<dependencies>
Expand Down
1 change: 0 additions & 1 deletion futu-api-encrypt-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>


Expand Down
17 changes: 8 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,17 @@
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<excludeArtifacts>
<excludeArtifact>example</excludeArtifact>
<excludeArtifact>gateway-api-encrypt-example</excludeArtifact>
<excludeArtifact>gateway</excludeArtifact>
<excludeArtifact>user</excludeArtifact>
<excludeArtifact>spring-boot-api-encrypt-example</excludeArtifact>
<excludeArtifact>futu-api-encrypt-core</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<!--gpg 签名插件,后面需要配置-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
Expand Down

0 comments on commit c0d08b0

Please sign in to comment.