Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Kwan的解忧杂货铺@新空间代码工作室
SpringCloudAlibaba
提交
4f9821d0
S
SpringCloudAlibaba
项目概览
Kwan的解忧杂货铺@新空间代码工作室
/
SpringCloudAlibaba
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SpringCloudAlibaba
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4f9821d0
编写于
2月 03, 2023
作者:
Q
qinyingjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:打包处理
上级
f49edb78
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
14 addition
and
87 deletion
+14
-87
nacos-server-common/pom.xml
nacos-server-common/pom.xml
+2
-32
nacos-server-consumer/pom.xml
nacos-server-consumer/pom.xml
+1
-18
nacos-server-producer/pom.xml
nacos-server-producer/pom.xml
+1
-18
nacos-server-sentinel-consumer/pom.xml
nacos-server-sentinel-consumer/pom.xml
+5
-16
nacos-server-sentinel-consumer/src/main/java/com/kwan/springcloudalibaba/SentinelConsumerApplication.java
.../kwan/springcloudalibaba/SentinelConsumerApplication.java
+2
-2
nacos-server-sentinel-consumer/src/test/java/com/kwan/springcloudalibaba/SentinelConsumerApplicationTests.java
.../springcloudalibaba/SentinelConsumerApplicationTests.java
+1
-1
pom.xml
pom.xml
+2
-0
未找到文件。
nacos-server-common/pom.xml
浏览文件 @
4f9821d0
...
...
@@ -11,43 +11,13 @@
<artifactId>
nacos-server-common
</artifactId>
<name>
nacos-server-common
</name>
<description>
nacos-server-common
</description>
<version>
1.0.0
</version>
<properties>
<java.version>
1.8
</java.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<spring-boot.version>
2.3.0.RELEASE
</spring-boot.version>
<spring-cloud-alibaba.version>
2.2.1.RELEASE
</spring-cloud-alibaba.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
com.alibaba.cloud
</groupId>
<artifactId>
spring-cloud-alibaba-dependencies
</artifactId>
<version>
${spring-cloud-alibaba.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.cloud</groupId>-->
<!-- <artifactId>spring-cloud-dependencies</artifactId>-->
<!-- <version>${spring-cloud.version}</version>-->
<!-- <type>pom</type>-->
<!-- <scope>import</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-dependencies
</artifactId>
<version>
${spring-boot.version}
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
\ No newline at end of file
nacos-server-consumer/pom.xml
浏览文件 @
4f9821d0
...
...
@@ -24,6 +24,7 @@
<dependency>
<groupId>
com.kwan.springcloudalibaba
</groupId>
<artifactId>
nacos-server-common
</artifactId>
<version>
1.0.0
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -80,22 +81,4 @@
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
7
</source>
<target>
7
</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
nacos-server-producer/pom.xml
浏览文件 @
4f9821d0
...
...
@@ -25,6 +25,7 @@
<dependency>
<groupId>
com.kwan.springcloudalibaba
</groupId>
<artifactId>
nacos-server-common
</artifactId>
<version>
1.0.0
</version>
</dependency>
<dependency>
...
...
@@ -81,22 +82,4 @@
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
7
</source>
<target>
7
</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
nacos-server-sentinel-consumer/pom.xml
浏览文件 @
4f9821d0
...
...
@@ -17,6 +17,7 @@
<dependency>
<groupId>
com.kwan.springcloudalibaba
</groupId>
<artifactId>
nacos-server-common
</artifactId>
<version>
1.0.0
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -62,6 +63,10 @@
<groupId>
com.alibaba.csp
</groupId>
<artifactId>
sentinel-datasource-nacos
</artifactId>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
...
...
@@ -89,20 +94,4 @@
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
7
</source>
<target>
7
</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
nacos-server-sentinel-consumer/src/main/java/com/kwan/springcloudalibaba/SentinelApplication.java
→
nacos-server-sentinel-consumer/src/main/java/com/kwan/springcloudalibaba/Sentinel
Consumer
Application.java
浏览文件 @
4f9821d0
...
...
@@ -12,9 +12,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @date : 2023/1/17 12:37
*/
@SpringBootApplication
public
class
SentinelApplication
{
public
class
Sentinel
Consumer
Application
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
SentinelApplication
.
class
,
args
);
SpringApplication
.
run
(
Sentinel
Consumer
Application
.
class
,
args
);
}
}
nacos-server-sentinel-consumer/src/test/java/com/kwan/springcloudalibaba/SentinelApplicationTests.java
→
nacos-server-sentinel-consumer/src/test/java/com/kwan/springcloudalibaba/Sentinel
Consumer
ApplicationTests.java
浏览文件 @
4f9821d0
...
...
@@ -4,7 +4,7 @@ import org.junit.jupiter.api.Test;
import
org.springframework.boot.test.context.SpringBootTest
;
@SpringBootTest
class
SentinelApplicationTests
{
class
Sentinel
Consumer
ApplicationTests
{
@Test
void
contextLoads
()
{
...
...
pom.xml
浏览文件 @
4f9821d0
...
...
@@ -56,10 +56,12 @@
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
3.0.1
</version>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.10.1
</version>
<configuration>
<source>
7
</source>
<target>
7
</target>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录