Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
i查拉图斯特拉如是
1024程序员开源挑战赛
提交
efe84311
1
1024程序员开源挑战赛
项目概览
i查拉图斯特拉如是
/
1024程序员开源挑战赛
与 Fork 源项目一致
Fork自
GitCode / 1024程序员开源挑战赛(10.23-11.14)
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
1
1024程序员开源挑战赛
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
efe84311
编写于
11月 10, 2022
作者:
S
Steven
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
重构包路径导入
上级
b85a62d8
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
21 addition
and
26 deletion
+21
-26
mq-artemis/pom.xml
mq-artemis/pom.xml
+3
-3
mq-common/pom.xml
mq-common/pom.xml
+1
-2
mq-kafka/pom.xml
mq-kafka/pom.xml
+1
-1
mq-pulsar/pom.xml
mq-pulsar/pom.xml
+3
-3
mq-rocketmq/pom.xml
mq-rocketmq/pom.xml
+2
-4
mq-rocketmq/src/main/java/com/example/mqrocketmq/service/demo2/CartEventProducer.java
...m/example/mqrocketmq/service/demo2/CartEventProducer.java
+0
-2
pom.xml
pom.xml
+11
-11
未找到文件。
mq-artemis/pom.xml
浏览文件 @
efe84311
...
...
@@ -20,10 +20,10 @@
</properties>
<dependencies>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version
>
<scope>
compile
</scope
>
<!-- <version>0.0.1-SNAPSHOT</version>--
>
<!-- <scope>compile</scope>--
>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
mq-common/pom.xml
浏览文件 @
efe84311
...
...
@@ -10,8 +10,7 @@
<!-- <version>0.0.1-SNAPSHOT</version>-->
<!-- </parent>-->
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.example.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<properties>
...
...
mq-kafka/pom.xml
浏览文件 @
efe84311
...
...
@@ -87,7 +87,7 @@
<artifactId>
spring-boot-starter-log4j2
</artifactId>
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<!-- <version>0.0.1-SNAPSHOT</version>-->
<scope>
compile
</scope>
...
...
mq-pulsar/pom.xml
浏览文件 @
efe84311
...
...
@@ -72,10 +72,10 @@
<artifactId>
spring-boot-starter-log4j2
</artifactId>
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
0.0.1-SNAPSHOT
</version
>
<scope>
compile
</scope
>
<!-- <version>0.0.1-SNAPSHOT</version>--
>
<!-- <scope>compile</scope>--
>
</dependency>
<!--SpringBoot整合Pulsar 私人写的 -->
...
...
mq-rocketmq/pom.xml
浏览文件 @
efe84311
...
...
@@ -15,8 +15,6 @@
</parent>
<artifactId>
mq-rocketmq
</artifactId>
<groupId>
com.example
</groupId>
<version>
0.0.1-SNAPSHOT
</version>
<properties>
<java.version>
11
</java.version>
<testcontainers.version>
1.17.3
</testcontainers.version>
...
...
@@ -67,10 +65,10 @@
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<!-- <version>0.0.1-SNAPSHOT</version>-->
<scope>
compile
</scope
>
<!-- <scope>test</scope>--
>
</dependency>
<dependency>
...
...
mq-rocketmq/src/main/java/com/example/mqrocketmq/service/demo2/CartEventProducer.java
浏览文件 @
efe84311
package
com.example.mqrocketmq.service.demo2
;
import
com.example.common.entity.Book
;
import
org.apache.rocketmq.spring.core.RocketMQTemplate
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.stereotype.Component
;
...
...
pom.xml
浏览文件 @
efe84311
...
...
@@ -2,26 +2,26 @@
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<packaging>
pom
</packaging>
<modules>
<!-- <module>mq-common</module>-->
<module>
mq-kafka
</module>
<module>
mq-artemis
</module>
<module>
mq-pulsar
</module>
<module>
mq-rocketmq
</module>
</modules>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.7.2
</version>
<relativePath/>
<!-- lookup parent from repository
-->
<!-- <relativePath/> <!– lookup parent from repository –>
-->
</parent>
<groupId>
com.example
</groupId>
<artifactId>
mq-test
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
mq-test
</name>
<description>
mq-test
</description>
<packaging>
pom
</packaging>
<modules>
<!-- <module>mq-common</module>-->
<module>
mq-rocketmq
</module>
<module>
mq-artemis
</module>
<module>
mq-kafka
</module>
<module>
mq-pulsar
</module>
</modules>
<properties>
<java.version>
11
</java.version>
<testcontainers.version>
1.17.3
</testcontainers.version>
...
...
@@ -40,7 +40,7 @@
</dependency>
<dependency>
<groupId>
com.example
.common
</groupId>
<groupId>
com.example
</groupId>
<artifactId>
mq-common
</artifactId>
<version>
${mqtest.version}
</version>
</dependency>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录