Blame view

urbanops-module-iot/urbanops-module-iot-gateway/pom.xml 2.74 KB
2f252ffd   王彪总   feat(pay): 实现支付宝支...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
  <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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <parent>
          <artifactId>urbanops-module-iot</artifactId>
          <groupId>com.zteits.boot</groupId>
          <version>${revision}</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
      <packaging>jar</packaging>
      <artifactId>urbanops-module-iot-gateway</artifactId>
  
      <name>${project.artifactId}</name>
      <description>
          iot 模块下,设备网关:
          ① 功能一:接收来自设备的消息,并进行解码(decode)后,发送到消息网关,提供给 iot-biz 进行处理
          ② 功能二:接收来自消息网关的消息(由 iot-biz 发送),并进行编码(encode)后,发送给设备
      </description>
  
      <dependencies>
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>urbanops-module-iot-core</artifactId>
              <version>${revision}</version>
          </dependency>
  
          <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-web</artifactId>
          </dependency>
  
          <!-- 消息队列相关 -->
          <dependency>
              <groupId>org.apache.rocketmq</groupId>
              <artifactId>rocketmq-spring-boot-starter</artifactId>
              <!-- TODO @芋艿:消息队列,后续可能去掉,默认不使用 rocketmq -->
  <!--            <optional>true</optional> -->
          </dependency>
  
          <!-- 工具类相关 -->
          <dependency>
              <groupId>io.vertx</groupId>
              <artifactId>vertx-web</artifactId>
          </dependency>
  
          <!-- MQTT 相关 -->
          <dependency>
              <groupId>io.vertx</groupId>
              <artifactId>vertx-mqtt</artifactId>
          </dependency>
  
          <!-- 测试相关 -->
          <dependency>
              <groupId>com.zteits.boot</groupId>
              <artifactId>urbanops-spring-boot-starter-test</artifactId>
              <scope>test</scope>
          </dependency>
      </dependencies>
  
      <build>
          <!-- 设置构建的 jar 包名 -->
          <finalName>${project.artifactId}</finalName>
          <plugins>
              <!-- 打包 -->
              <plugin>
                  <groupId>org.springframework.boot</groupId>
                  <artifactId>spring-boot-maven-plugin</artifactId>
                  <executions>
                      <execution>
                          <goals>
                              <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
                          </goals>
                      </execution>
                  </executions>
              </plugin>
          </plugins>
      </build>
  
  </project>