build: remove unused mqtt client dependency
This commit is contained in:
@@ -201,6 +201,20 @@ class MavenModuleProfileTest {
|
||||
.doesNotContain("| 消息队列 |");
|
||||
}
|
||||
|
||||
@Test
|
||||
void yutongMqttBuildSurfaceUsesOnlyPahoClient() throws Exception {
|
||||
Document pom = rootPom();
|
||||
|
||||
assertThat(hasProjectProperty(pom, "paho-mqtt.version"))
|
||||
.isTrue();
|
||||
assertThat(hasDependency(pom, "org.eclipse.paho", "org.eclipse.paho.client.mqttv3"))
|
||||
.isTrue();
|
||||
assertThat(hasProjectProperty(pom, "fusesource-mqtt.version"))
|
||||
.isFalse();
|
||||
assertThat(hasDependency(pom, "org.fusesource.mqtt-client", "mqtt-client"))
|
||||
.isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void productionDocsDoNotAdvertiseMemorySessionStore() throws Exception {
|
||||
String runbook = Files.readString(repositoryRoot()
|
||||
|
||||
Reference in New Issue
Block a user