Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

<feat> add base build plugin to promote the priority of sofaserverles… #424

Closed

Conversation

CodeNoobKing
Copy link
Contributor

sofaservelress 需要在基座上打一些补丁以和中间件兼容,确保单 JVM 多应用的模式下不出问题。
该构建插件保证 sofasreverless 打补丁的同名类会被优先加载。

Motivation

Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.

Modification

Describe the idea and modifications you've done.

Result

Resolved or fixed #398

If there is no issue then describe the changes introduced by this PR.

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (45850ad) 81.57% compared to head (7e50c6d) 81.67%.
Report is 12 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #424      +/-   ##
============================================
+ Coverage     81.57%   81.67%   +0.09%     
- Complexity       65       66       +1     
============================================
  Files            41       41              
  Lines          1015     1015              
  Branches         90       90              
============================================
+ Hits            828      829       +1     
  Misses          135      135              
+ Partials         52       51       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lvjing2
Copy link
Collaborator

lvjing2 commented Dec 29, 2023

  1. 新建 samples
  2. 补充单测

LOGGER.info("Spring Boot Version: " + SpringApplication.class.getPackage().getImplementationVersion());
LOGGER.info("BaseApplication classLoader: " + BaseApplication.class.getClassLoader());
}
public static void main(String[] args) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议新建一个 samples 来单独介绍呢

@@ -76,6 +76,7 @@
</scm>

<modules>
<module>sofa-serverless-base-package-maven-plugin</module>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以改成这个名字:
sofa-serverless-base-maven-plugin

<groupId>org.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-base-package-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>0.0.1-SNAPSHOT</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

版本号和 sofa serverless runtime 保持一直

</plugin>
<plugin>
<groupId>org.example</groupId>
<artifactId>sofa-serverless-base-build</artifactId>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是叫这个插件吗?

@CodeNoobKing CodeNoobKing deleted the dev-build-adapter branch January 2, 2024 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

【特性】SOFAARK 三方包基座适配代码需要在编译期间自动解决。
2 participants