File tree Expand file tree Collapse file tree
src/main/java/software/xdev/tci/network
db-jdbc-spring-orm-hibernate Expand file tree Collapse file tree Original file line number Diff line number Diff line change 316316 </properties >
317317 </rule >
318318
319+ <rule name =" EnsureZipEntryNameIsSanitized"
320+ language=" java"
321+ message=" ZipEntry name should be sanitized"
322+ class=" net.sourceforge.pmd.lang.rule.xpath.XPathRule" >
323+ <description >
324+ ZipEntry name should be sanitized.
325+ Unsanitized names may contain '..' which can result in path traversal ("ZipSlip").
326+
327+ You can suppress this warning when you properly sanitized the name.
328+ </description >
329+ <priority >4</priority >
330+ <properties >
331+ <property name =" xpath" >
332+ <value >
333+ <![CDATA[
334+ //MethodCall[pmd-java:matchesSig('java.util.zip.ZipEntry#getName()') or pmd-java:matchesSig('org.apache.commons.compress.archivers.ArchiveEntry#getName()')]
335+ ]]>
336+ </value >
337+ </property >
338+ </properties >
339+ </rule >
340+
319341 <rule name =" JavaObjectSerializationIsUnsafe"
320342 language=" java"
321343 message=" Using Java Object (De-)Serialization is unsafe and has led to too many security vulnerabilities"
Original file line number Diff line number Diff line change @@ -202,8 +202,9 @@ jobs:
202202 modules=($(grep -ozP '(?<=module>)[^<]+' 'pom.xml' | tr -d '\0'))
203203 for m in "${modules[@]}"
204204 do
205- echo "$m/target/site -> ./target/site/$m"
206- cp -r $m/target/site ./target/site/$m
205+ echo "$m/target/site -> ./target/$m"
206+ mkdir -p ./target/$m
207+ cp -r $m/target/site ./target/$m
207208 done
208209
209210 - name : Deploy to Github pages
Original file line number Diff line number Diff line change 1+ # 2.9.0
2+ * Update to Testcontainers v2
3+
14# 2.8.2
25* Updated dependencies
36
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo</groupId >
99 <artifactId >advanced-demo</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >entities-metamodel</artifactId >
1313
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo</groupId >
99 <artifactId >advanced-demo</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >entities</artifactId >
1313
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo.it</groupId >
99 <artifactId >integration-tests</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >persistence-it</artifactId >
1313
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo</groupId >
99 <artifactId >advanced-demo</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212
1313 <groupId >software.xdev.tci.demo.it</groupId >
1414 <artifactId >integration-tests</artifactId >
15- <version >2.8.3 -SNAPSHOT</version >
15+ <version >2.9.0 -SNAPSHOT</version >
1616 <packaging >pom</packaging >
1717
1818 <modules >
2828 <dependency >
2929 <groupId >software.xdev.tci.demo.it</groupId >
3030 <artifactId >tci-db</artifactId >
31- <version >2.8.3 -SNAPSHOT</version >
31+ <version >2.9.0 -SNAPSHOT</version >
3232 </dependency >
3333
3434 <dependency >
3535 <groupId >software.xdev.tci.demo.it</groupId >
3636 <artifactId >tci-webapp</artifactId >
37- <version >2.8.3 -SNAPSHOT</version >
37+ <version >2.9.0 -SNAPSHOT</version >
3838 </dependency >
3939
4040 <dependency >
7171 <type >pom</type >
7272 <scope >import</scope >
7373 </dependency >
74+ <dependency >
75+ <groupId >org.testcontainers</groupId >
76+ <artifactId >testcontainers-bom</artifactId >
77+ <version >2.0.0</version >
78+ <type >pom</type >
79+ <scope >import</scope >
80+ </dependency >
7481
7582 <!-- Tests -->
7683 <!-- Unit-Tests -->
8693 <dependency >
8794 <groupId >software.xdev</groupId >
8895 <artifactId >testcontainers-advanced-imagebuilder</artifactId >
89- <version >2.3 .0</version >
96+ <version >2.4 .0</version >
9097 </dependency >
9198
9299 <!-- Utility for proxies in tests -->
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo.it</groupId >
99 <artifactId >integration-tests</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >tci-db</artifactId >
1313
3535 <!-- TestContainers -->
3636 <dependency >
3737 <groupId >org.testcontainers</groupId >
38- <artifactId >jdbc</artifactId >
38+ <artifactId >testcontainers- jdbc</artifactId >
3939 <scope >compile</scope >
4040 </dependency >
4141
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo.it</groupId >
99 <artifactId >integration-tests</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >tci-webapp</artifactId >
1313
Original file line number Diff line number Diff line change 77 <parent >
88 <groupId >software.xdev.tci.demo.it</groupId >
99 <artifactId >integration-tests</artifactId >
10- <version >2.8.3 -SNAPSHOT</version >
10+ <version >2.9.0 -SNAPSHOT</version >
1111 </parent >
1212 <artifactId >webapp-it</artifactId >
1313
You can’t perform that action at this time.
0 commit comments