Skip to content

Commit b80da6a

Browse files
committed
com.hivemq.client -> com.hivemq.client2
hivemq-mqtt-client -> hivemq-mqtt-client2
1 parent 16939e9 commit b80da6a

File tree

705 files changed

+3860
-3860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

705 files changed

+3860
-3860
lines changed

README.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ If you use Gradle, just include the following inside your `build.gradle(.kts)` f
101101

102102
```groovy
103103
dependencies {
104-
implementation("com.hivemq:hivemq-mqtt-client:1.2.2")
104+
implementation("com.hivemq:hivemq-mqtt-client2:2.0.0")
105105
}
106106
```
107107

108108
For optional features you can choose to include additional modules:
109109

110110
```groovy
111111
dependencies {
112-
implementation(platform("com.hivemq:hivemq-mqtt-client-websocket:1.2.2"))
113-
implementation(platform("com.hivemq:hivemq-mqtt-client-proxy:1.2.2"))
114-
implementation(platform("com.hivemq:hivemq-mqtt-client-epoll:1.2.2"))
115-
implementation("com.hivemq:hivemq-mqtt-client-reactor:1.2.2")
112+
implementation(platform("com.hivemq:hivemq-mqtt-client2-websocket:2.0.0"))
113+
implementation(platform("com.hivemq:hivemq-mqtt-client2-proxy:2.0.0"))
114+
implementation(platform("com.hivemq:hivemq-mqtt-client2-epoll:2.0.0"))
115+
implementation("com.hivemq:hivemq-mqtt-client2-reactor:2.0.0")
116116
}
117117
```
118118

@@ -126,8 +126,8 @@ If you use Maven, just include the following inside your `pom.xml` file.
126126
<dependencies>
127127
<dependency>
128128
<groupId>com.hivemq</groupId>
129-
<artifactId>hivemq-mqtt-client</artifactId>
130-
<version>1.2.2</version>
129+
<artifactId>hivemq-mqtt-client2</artifactId>
130+
<version>2.0.0</version>
131131
</dependency>
132132
</dependencies>
133133
...
@@ -155,32 +155,32 @@ For optional features you can choose to include additional modules:
155155
<dependencies>
156156
<dependency>
157157
<groupId>com.hivemq</groupId>
158-
<artifactId>hivemq-mqtt-client-websocket</artifactId>
159-
<version>1.2.2</version>
158+
<artifactId>hivemq-mqtt-client2-websocket</artifactId>
159+
<version>2.0.0</version>
160160
<type>pom</type>
161161
</dependency>
162162
</dependencies>
163163
<dependencies>
164164
<dependency>
165165
<groupId>com.hivemq</groupId>
166-
<artifactId>hivemq-mqtt-client-proxy</artifactId>
167-
<version>1.2.2</version>
166+
<artifactId>hivemq-mqtt-client2-proxy</artifactId>
167+
<version>2.0.0</version>
168168
<type>pom</type>
169169
</dependency>
170170
</dependencies>
171171
<dependencies>
172172
<dependency>
173173
<groupId>com.hivemq</groupId>
174-
<artifactId>hivemq-mqtt-client-epoll</artifactId>
175-
<version>1.2.2</version>
174+
<artifactId>hivemq-mqtt-client2-epoll</artifactId>
175+
<version>2.0.0</version>
176176
<type>pom</type>
177177
</dependency>
178178
</dependencies>
179179
<dependencies>
180180
<dependency>
181181
<groupId>com.hivemq</groupId>
182-
<artifactId>hivemq-mqtt-client-reactor</artifactId>
183-
<version>1.2.2</version>
182+
<artifactId>hivemq-mqtt-client2-reactor</artifactId>
183+
<version>2.0.0</version>
184184
</dependency>
185185
</dependencies>
186186
...
@@ -198,7 +198,7 @@ To use the shaded version just append `-shaded` to the artifact name.
198198

199199
```groovy
200200
dependencies {
201-
implementation("com.hivemq:hivemq-mqtt-client-shaded:1.2.2")
201+
implementation("com.hivemq:hivemq-mqtt-client2-shaded:2.0.0")
202202
}
203203
```
204204

@@ -210,8 +210,8 @@ dependencies {
210210
<dependencies>
211211
<dependency>
212212
<groupId>com.hivemq</groupId>
213-
<artifactId>hivemq-mqtt-client-shaded</artifactId>
214-
<version>1.2.2</version>
213+
<artifactId>hivemq-mqtt-client2-shaded</artifactId>
214+
<version>2.0.0</version>
215215
</dependency>
216216
</dependencies>
217217
...
@@ -226,18 +226,18 @@ Snapshots can be obtained using [JitPack](https://jitpack.io/#hivemq/hivemq-mqtt
226226

227227
```groovy
228228
repositories {
229-
...
230-
maven { url 'https://jitpack.io' }
229+
...
230+
maven { url 'https://jitpack.io' }
231231
}
232232
233233
dependencies {
234-
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client:develop-SNAPSHOT")
234+
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2:develop-SNAPSHOT")
235235
236-
// snapshots for optional modules
237-
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-websocket:develop-SNAPSHOT"))
238-
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-proxy:develop-SNAPSHOT"))
239-
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-epoll:develop-SNAPSHOT"))
240-
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client-reactor:develop-SNAPSHOT")
236+
// snapshots for optional modules
237+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2-websocket:develop-SNAPSHOT"))
238+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2-proxy:develop-SNAPSHOT"))
239+
implementation(platform("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2-epoll:develop-SNAPSHOT"))
240+
implementation("com.github.hivemq.hivemq-mqtt-client:hivemq-mqtt-client2-reactor:develop-SNAPSHOT")
241241
}
242242
```
243243

@@ -256,7 +256,7 @@ dependencies {
256256
<dependencies>
257257
<dependency>
258258
<groupId>com.github.hivemq.hivemq-mqtt-client</groupId>
259-
<artifactId>hivemq-mqtt-client</artifactId>
259+
<artifactId>hivemq-mqtt-client2</artifactId>
260260
<version>develop-SNAPSHOT</version>
261261
</dependency>
262262
</dependencies>
@@ -265,39 +265,39 @@ dependencies {
265265
<dependencies>
266266
<dependency>
267267
<groupId>com.github.hivemq.hivemq-mqtt-client</groupId>
268-
<artifactId>hivemq-mqtt-client-websocket</artifactId>
268+
<artifactId>hivemq-mqtt-client2-websocket</artifactId>
269269
<version>develop-SNAPSHOT</version>
270270
<type>pom</type>
271271
</dependency>
272272
</dependencies>
273273
<dependencies>
274274
<dependency>
275275
<groupId>com.github.hivemq.hivemq-mqtt-client</groupId>
276-
<artifactId>hivemq-mqtt-client-proxy</artifactId>
276+
<artifactId>hivemq-mqtt-client2-proxy</artifactId>
277277
<version>develop-SNAPSHOT</version>
278278
<type>pom</type>
279279
</dependency>
280280
</dependencies>
281281
<dependencies>
282282
<dependency>
283283
<groupId>com.github.hivemq.hivemq-mqtt-client</groupId>
284-
<artifactId>hivemq-mqtt-client-epoll</artifactId>
284+
<artifactId>hivemq-mqtt-client2-epoll</artifactId>
285285
<version>develop-SNAPSHOT</version>
286286
<type>pom</type>
287287
</dependency>
288288
</dependencies>
289289
<dependencies>
290290
<dependency>
291291
<groupId>com.github.hivemq.hivemq-mqtt-client</groupId>
292-
<artifactId>hivemq-mqtt-client-reactor</artifactId>
292+
<artifactId>hivemq-mqtt-client2-reactor</artifactId>
293293
<version>develop-SNAPSHOT</version>
294294
</dependency>
295295
</dependencies>
296296
...
297297
</project>
298298
```
299299

300-
Change the artifact name to `hivemq-mqtt-client-shaded` to get snapshots of the shaded version.
300+
Change the artifact name to `hivemq-mqtt-client2-shaded` to get snapshots of the shaded version.
301301

302302
JitPack works for all branches and also specific commits.
303303
Just specify `<branch>-SNAPSHOT` or the first 10 digits of the commit id in the version.
@@ -734,7 +734,7 @@ API but return `Completable`.
734734

735735
[Semantic Versioning](https://semver.org/) is used.
736736

737-
All code inside `com.hivemq.client.internal` packages must not be used directly. It can change at any time and is not
737+
All code inside `com.hivemq.client2.internal` packages must not be used directly. It can change at any time and is not
738738
part of the public API.
739739

740740
Interfaces annotated with `DoNotImplement` must not be implemented. The implementation is provided by the library.

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ allprojects {
2323
plugins.apply("com.github.sgtsilvio.gradle.metadata")
2424

2525
metadata {
26-
moduleName.set("com.hivemq.client.mqtt")
26+
moduleName.set("com.hivemq.client2.mqtt")
2727
readableName.set("HiveMQ MQTT Client")
2828
organization {
2929
name.set("HiveMQ and the HiveMQ Community")
@@ -158,10 +158,10 @@ allprojects {
158158
tasks.jar {
159159
withConvention(aQute.bnd.gradle.BundleTaskConvention::class) {
160160
bnd("Export-Package: " +
161-
"com.hivemq.client.annotations.*," +
162-
"com.hivemq.client.mqtt.*," +
163-
"com.hivemq.client.rx.*," +
164-
"com.hivemq.client.util.*")
161+
"com.hivemq.client2.annotations.*," +
162+
"com.hivemq.client2.mqtt.*," +
163+
"com.hivemq.client2.rx.*," +
164+
"com.hivemq.client2.util.*")
165165
}
166166
}
167167

@@ -176,7 +176,7 @@ tasks.shadowJar {
176176
}
177177
})
178178

179-
val shadePrefix = "com.hivemq.client.internal.shaded."
179+
val shadePrefix = "com.hivemq.client2.internal.shaded."
180180
val shadeFilePrefix = shadePrefix.replace(".", "_")
181181
relocate("io.netty", "${shadePrefix}io.netty")
182182
relocate("META-INF/native/libnetty", "META-INF/native/lib${shadeFilePrefix}netty")

epoll/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
description = "Adds dependencies for the HiveMQ MQTT Client epoll module"
99

1010
metadata {
11-
moduleName.set("com.hivemq.client.mqtt.epoll")
11+
moduleName.set("com.hivemq.client2.mqtt.epoll")
1212
readableName.set("HiveMQ MQTT Client epoll module")
1313
}
1414

examples/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
description = "Examples using the HiveMQ MQTT Client"
99

1010
metadata {
11-
moduleName.set("com.hivemq.client.mqtt.examples")
11+
moduleName.set("com.hivemq.client2.mqtt.examples")
1212
readableName.set("HiveMQ MQTT Client examples")
1313
}
1414

examples/src/main/java/com/hivemq/client/mqtt/examples/AsyncDemo.java renamed to examples/src/main/java/com/hivemq/client2/mqtt/examples/AsyncDemo.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.hivemq.client.mqtt.examples;
17+
package com.hivemq.client2.mqtt.examples;
1818

19-
import com.hivemq.client.mqtt.datatypes.MqttQos;
20-
import com.hivemq.client.mqtt.mqtt5.Mqtt5AsyncClient;
21-
import com.hivemq.client.mqtt.mqtt5.Mqtt5Client;
19+
import com.hivemq.client2.mqtt.datatypes.MqttQos;
20+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5AsyncClient;
21+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5Client;
2222

2323
import java.util.concurrent.TimeUnit;
2424

examples/src/main/java/com/hivemq/client/mqtt/examples/Mqtt5Features.java renamed to examples/src/main/java/com/hivemq/client2/mqtt/examples/Mqtt5Features.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.hivemq.client.mqtt.examples;
18-
19-
import com.hivemq.client.mqtt.MqttGlobalPublishFilter;
20-
import com.hivemq.client.mqtt.datatypes.MqttQos;
21-
import com.hivemq.client.mqtt.mqtt5.Mqtt5AsyncClient;
22-
import com.hivemq.client.mqtt.mqtt5.Mqtt5BlockingClient;
23-
import com.hivemq.client.mqtt.mqtt5.Mqtt5Client;
24-
import com.hivemq.client.mqtt.mqtt5.message.connect.Mqtt5ConnAck;
25-
import com.hivemq.client.mqtt.mqtt5.message.disconnect.Mqtt5DisconnectReasonCode;
26-
import com.hivemq.client.mqtt.mqtt5.message.subscribe.Mqtt5RetainHandling;
27-
import com.hivemq.client.mqtt.mqtt5.message.subscribe.Mqtt5SubAck;
17+
package com.hivemq.client2.mqtt.examples;
18+
19+
import com.hivemq.client2.mqtt.MqttGlobalPublishFilter;
20+
import com.hivemq.client2.mqtt.datatypes.MqttQos;
21+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5AsyncClient;
22+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5BlockingClient;
23+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5Client;
24+
import com.hivemq.client2.mqtt.mqtt5.message.connect.Mqtt5ConnAck;
25+
import com.hivemq.client2.mqtt.mqtt5.message.disconnect.Mqtt5DisconnectReasonCode;
26+
import com.hivemq.client2.mqtt.mqtt5.message.subscribe.Mqtt5RetainHandling;
27+
import com.hivemq.client2.mqtt.mqtt5.message.subscribe.Mqtt5SubAck;
2828

2929
import java.util.concurrent.CountDownLatch;
3030

examples/src/main/java/com/hivemq/client/mqtt/examples/ReconnectStrategy.java renamed to examples/src/main/java/com/hivemq/client2/mqtt/examples/ReconnectStrategy.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.hivemq.client.mqtt.examples;
17+
package com.hivemq.client2.mqtt.examples;
1818

19-
import com.hivemq.client.mqtt.mqtt5.Mqtt5BlockingClient;
20-
import com.hivemq.client.mqtt.mqtt5.Mqtt5Client;
21-
import com.hivemq.client.mqtt.mqtt5.lifecycle.Mqtt5DisconnectedContext;
19+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5BlockingClient;
20+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5Client;
21+
import com.hivemq.client2.mqtt.mqtt5.lifecycle.Mqtt5DisconnectedContext;
2222

2323
import java.time.LocalTime;
2424
import java.util.concurrent.CompletableFuture;

examples/src/main/java/com/hivemq/client/mqtt/examples/RequestResponse.java renamed to examples/src/main/java/com/hivemq/client2/mqtt/examples/RequestResponse.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.hivemq.client.mqtt.examples;
17+
package com.hivemq.client2.mqtt.examples;
1818

19-
import com.hivemq.client.mqtt.datatypes.MqttQos;
20-
import com.hivemq.client.mqtt.mqtt5.Mqtt5Client;
21-
import com.hivemq.client.mqtt.mqtt5.message.publish.Mqtt5Publish;
19+
import com.hivemq.client2.mqtt.datatypes.MqttQos;
20+
import com.hivemq.client2.mqtt.mqtt5.Mqtt5Client;
21+
import com.hivemq.client2.mqtt.mqtt5.message.publish.Mqtt5Publish;
2222

2323
/**
2424
* Shows how to implement a request/response pattern using response topic and correlation data.

gradle/japicc.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ allprojects {
189189
val command = listOf(
190190
"perl", bin.resolve("japi-compliance-checker.pl").path,
191191
"-lib", artifactId,
192-
"-skip-internal-packages", "com.hivemq.client.internal",
192+
"-skip-internal-packages", "com.hivemq.client2.internal",
193193
"-non-impl", nonImplFile.path,
194194
"-check-annotations", "-s",
195195
prevJar.path, jar.path)

proxy/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
description = "Adds dependencies for the HiveMQ MQTT Client proxy module"
99

1010
metadata {
11-
moduleName.set("com.hivemq.client.mqtt.proxy")
11+
moduleName.set("com.hivemq.client2.mqtt.proxy")
1212
readableName.set("HiveMQ MQTT Client proxy module")
1313
}
1414

0 commit comments

Comments
 (0)