Skip to content

Commit e84987d

Browse files
committed
Fix build error
1 parent 747d3bf commit e84987d

File tree

4 files changed

+7
-31
lines changed

4 files changed

+7
-31
lines changed

iotdb-client/session/pom.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@
5959
<artifactId>tsfile</artifactId>
6060
<version>${tsfile.version}</version>
6161
</dependency>
62-
<dependency>
63-
<groupId>at.yawk.lz4</groupId>
64-
<artifactId>lz4-java</artifactId>
65-
<scope>runtime</scope>
66-
</dependency>
6762
<dependency>
6863
<groupId>org.apache.iotdb</groupId>
6964
<artifactId>iotdb-thrift</artifactId>
@@ -126,15 +121,6 @@
126121
</execution>
127122
</executions>
128123
</plugin>
129-
<plugin>
130-
<groupId>org.apache.maven.plugins</groupId>
131-
<artifactId>maven-dependency-plugin</artifactId>
132-
<configuration>
133-
<usedDependencies>
134-
<usedDependency>at.yawk.lz4:lz4-java</usedDependency>
135-
</usedDependencies>
136-
</configuration>
137-
</plugin>
138124
</plugins>
139125
</build>
140126
<profiles>

iotdb-core/datanode/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@
299299
<groupId>org.java-websocket</groupId>
300300
<artifactId>Java-WebSocket</artifactId>
301301
</dependency>
302-
<dependency>
303-
<groupId>at.yawk.lz4</groupId>
304-
<artifactId>lz4-java</artifactId>
305-
</dependency>
306302
<dependency>
307303
<groupId>junit</groupId>
308304
<artifactId>junit</artifactId>

iotdb-core/datanode/src/test/java/org/apache/iotdb/db/auth/role/LocalFileRoleManagerTest.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.apache.iotdb.db.utils.EnvironmentUtils;
3131
import org.apache.iotdb.db.utils.constant.TestConstant;
3232

33-
import io.jsonwebtoken.lang.Assert;
3433
import org.apache.commons.io.FileUtils;
3534
import org.junit.After;
3635
import org.junit.Before;
@@ -171,8 +170,8 @@ public void testPathCheckForUpgrade() throws AuthException, IllegalPathException
171170
}
172171
}
173172
}
174-
Assert.isTrue(manager.getRole("test").getPathPrivilegeList().size() == 4);
175-
Assert.isTrue(!manager.getRole("test").getServiceReady());
173+
assertEquals(4, manager.getRole("test").getPathPrivilegeList().size());
174+
assertFalse(manager.getRole("test").getServiceReady());
176175
manager.checkAndRefreshPathPri();
177176

178177
// after refresh. we will have three path:
@@ -217,17 +216,17 @@ public void testPrivRefreshSingle() throws AuthException, IllegalPathException {
217216
PartialPath path2 = new PartialPath("root.d.a");
218217
for (PrivilegeType pri : item.getSubPri()) {
219218
if (pri.isPathRelevant()) {
220-
Assert.isTrue(manager.getRole("test").checkPathPrivilege(path1, pri.ordinal()));
221-
Assert.isTrue(manager.getRole("test").checkPathPrivilege(path2, pri.ordinal()));
219+
assertTrue(manager.getRole("test").checkPathPrivilege(path1, pri.ordinal()));
220+
assertTrue(manager.getRole("test").checkPathPrivilege(path2, pri.ordinal()));
222221
manager.getRole("test").removePathPrivilege(path1, pri.ordinal());
223222
manager.getRole("test").removePathPrivilege(path2, pri.ordinal());
224223
} else {
225-
Assert.isTrue(manager.getRole("test").checkSysPrivilege(pri.ordinal()));
224+
assertTrue(manager.getRole("test").checkSysPrivilege(pri.ordinal()));
226225
manager.getRole("test").removeSysPrivilege(pri.ordinal());
227226
}
228227
}
229-
Assert.isTrue(manager.getRole("test").getPathPrivilegeList().isEmpty());
230-
Assert.isTrue(manager.getRole("test").getSysPrivilege().isEmpty());
228+
assertTrue(manager.getRole("test").getPathPrivilegeList().isEmpty());
229+
assertTrue(manager.getRole("test").getSysPrivilege().isEmpty());
231230
}
232231
}
233232
}

pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -314,11 +314,6 @@
314314
<artifactId>bcprov-jdk18on</artifactId>
315315
<version>${bouncycastle.version}</version>
316316
</dependency>
317-
<dependency>
318-
<groupId>org.bouncycastle</groupId>
319-
<artifactId>bcpkix-jdk18on</artifactId>
320-
<version>${bouncycastle.version}</version>
321-
</dependency>
322317
<dependency>
323318
<groupId>commons-io</groupId>
324319
<artifactId>commons-io</artifactId>

0 commit comments

Comments
 (0)