Skip to content

Commit a002cb7

Browse files
committed
🚧 work in progress
1 parent 4e7e35a commit a002cb7

File tree

3 files changed

+92
-9
lines changed

3 files changed

+92
-9
lines changed

groza-transport-coap/pom.xml

Lines changed: 72 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,87 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<!--
2+
3+
Copyright © 2018-2021 The Groza Authors
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
17+
-->
218
<project xmlns="http://maven.apache.org/POM/4.0.0"
319
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
420
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<version>1.0-SNAPSHOT</version>
523
<parent>
624
<artifactId>groza</artifactId>
725
<groupId>iot.technology</groupId>
826
<version>1.0-SNAPSHOT</version>
927
</parent>
10-
<modelVersion>4.0.0</modelVersion>
1128

29+
<groupId>iot.technology.transport</groupId>
1230
<artifactId>groza-transport-coap</artifactId>
31+
<packaging>jar</packaging>
32+
33+
<name>Groza :: Transport :: CoAP</name>
34+
<url>https://www.groza.com</url>
1335

1436
<properties>
15-
<maven.compiler.source>8</maven.compiler.source>
16-
<maven.compiler.target>8</maven.compiler.target>
37+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1738
</properties>
1839

40+
<dependencies>
41+
<dependency>
42+
<groupId>org.eclipse.californium</groupId>
43+
<artifactId>californium-core</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.springframework</groupId>
47+
<artifactId>spring-context-support</artifactId>
48+
</dependency>
49+
<dependency>
50+
<groupId>org.springframework</groupId>
51+
<artifactId>spring-context</artifactId>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.slf4j</groupId>
55+
<artifactId>slf4j-api</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.slf4j</groupId>
59+
<artifactId>log4j-over-slf4j</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>ch.qos.logback</groupId>
63+
<artifactId>logback-core</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>ch.qos.logback</groupId>
67+
<artifactId>logback-classic</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.springframework.boot</groupId>
71+
<artifactId>spring-boot-starter-test</artifactId>
72+
<scope>test</scope>
73+
</dependency>
74+
<dependency>
75+
<groupId>junit</groupId>
76+
<artifactId>junit</artifactId>
77+
<scope>test</scope>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.mockito</groupId>
81+
<artifactId>mockito-core</artifactId>
82+
<scope>test</scope>
83+
</dependency>
84+
</dependencies>
85+
86+
1987
</project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import org.springframework.stereotype.Service;
2+
3+
/**
4+
* @author jamesmsw
5+
* @date 2021/4/22 5:18 下午
6+
*/
7+
@Service("CoapTransportService")
8+
public class CoapTransportService {
9+
}

pom.xml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
<java.version>1.8</java.version>
4242
<netty-all.version>4.1.42.Final</netty-all.version>
4343
<hutool.version>4.1.6</hutool.version>
44-
<spring-boot.version>2.0.5.RELEASE</spring-boot.version>
45-
<spring.version>5.0.9.RELEASE</spring.version>
44+
<spring-boot.version>2.3.9.RELEASE</spring-boot.version>
45+
<spring.version>5.2.10.RELEASE</spring.version>
4646
<lombok.version>1.16.18</lombok.version>
4747
<slf4j.version>1.7.7</slf4j.version>
4848
<logback.version>1.2.3</logback.version>
49-
<junit.version>4.13.1</junit.version>
50-
<mockito.version>1.9.5</mockito.version>
49+
<junit.version>4.12</junit.version>
50+
<mockito.version>3.3.3</mockito.version>
5151
<guava.version>28.2-jre</guava.version>
52-
<californium.version>1.0.2</californium.version>
52+
<californium.version>2.6.1</californium.version>
5353
<jackson.version>2.12.1</jackson.version>
5454
<commons-lang3.version>3.4</commons-lang3.version>
5555
<gson.version>2.6.2</gson.version>
@@ -195,6 +195,12 @@
195195
<version>${junit.version}</version>
196196
<scope>test</scope>
197197
</dependency>
198+
<dependency>
199+
<groupId>org.mockito</groupId>
200+
<artifactId>mockito-core</artifactId>
201+
<version>${mockito.version}</version>
202+
<scope>test</scope>
203+
</dependency>
198204
<dependency>
199205
<groupId>org.mockito</groupId>
200206
<artifactId>mockito-all</artifactId>

0 commit comments

Comments
 (0)