Skip to content

Commit d5ff5f2

Browse files
authored
Merge pull request #636 from m-dzianishchyts/CAY-2908-update-dependencies
CAY-2908 Update dependencies
2 parents 5dc311b + 73cbbd3 commit d5ff5f2

3 files changed

Lines changed: 24 additions & 17 deletions

File tree

docs/asciidoc/cayenne-asciidoc-extension/src/main/java/org/apache/cayenne/asciidoc/CayennePostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected String extractTableOfContents(Document document, String output) {
125125
tocDoc.select("div#toc").addClass("toc-side");
126126
String toc = tocDoc.body().html();
127127

128-
Object destDir = document.getOptions().get(Options.DESTINATION_DIR);
128+
Object destDir = document.getOptions().get(Options.TO_DIR);
129129
Object docname = ((Map)document.getOptions().get(Options.ATTRIBUTES)).get("docname");
130130

131131
Path path = FileSystems.getDefault().getPath((String) destDir, docname + ".toc.html");

docs/asciidoc/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
<properties>
4343
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44-
<asciidoctorj.version>2.5.12</asciidoctorj.version>
45-
<asciidoctor.maven.plugin.version>2.2.6</asciidoctor.maven.plugin.version>
44+
<asciidoctorj.version>3.0.1</asciidoctorj.version>
45+
<asciidoctor.maven.plugin.version>3.2.0</asciidoctor.maven.plugin.version>
4646
<asciidoctorj.pdf.version>2.1.4</asciidoctorj.pdf.version>
4747
<cayenne.version>${project.version}</cayenne.version>
4848
<cayenne.major.version>5.0</cayenne.major.version>
@@ -179,4 +179,4 @@
179179
</plugins>
180180
</build>
181181

182-
</project>
182+
</project>

pom.xml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
<maven.build.timestamp.format>MMM dd yyyy HH:mm:ss</maven.build.timestamp.format>
3939
<project.build.datetime>${maven.build.timestamp}</project.build.datetime>
4040
<slf4j.version>1.7.36</slf4j.version>
41-
<ant.version>1.10.12</ant.version>
42-
<testcontainers.version>1.20.1</testcontainers.version>
43-
<mysql.connector.version>9.2.0</mysql.connector.version>
41+
<ant.version>1.10.15</ant.version>
42+
<testcontainers.version>1.21.4</testcontainers.version>
43+
<mysql.connector.version>9.5.0</mysql.connector.version>
44+
<xmlunit.version>2.9.1</xmlunit.version>
4445

45-
<maven.compiler.target>11</maven.compiler.target>
46-
<maven.compiler.source>11</maven.compiler.source>
46+
<maven.compiler.target>11</maven.compiler.target>
47+
<maven.compiler.source>11</maven.compiler.source>
4748

4849
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4950
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -331,12 +332,12 @@
331332
<dependency>
332333
<groupId>ognl</groupId>
333334
<artifactId>ognl</artifactId>
334-
<version>3.3.3</version>
335+
<version>3.3.5</version>
335336
</dependency>
336337
<dependency>
337338
<groupId>org.springframework</groupId>
338339
<artifactId>spring-core</artifactId>
339-
<version>5.3.37</version>
340+
<version>5.3.39</version>
340341
<scope>test</scope>
341342
<exclusions>
342343
<exclusion>
@@ -364,13 +365,19 @@
364365
<dependency>
365366
<groupId>org.apache.commons</groupId>
366367
<artifactId>commons-lang3</artifactId>
367-
<version>3.18.0</version>
368+
<version>3.20.0</version>
368369
</dependency>
369370
<dependency>
370371
<groupId>org.apache.velocity.tools</groupId>
371372
<artifactId>velocity-tools-generic</artifactId>
372373
<version>3.1</version>
373374
</dependency>
375+
<!-- Remove when velocity-tools-generic updates its commons-beanutils dependency. -->
376+
<dependency>
377+
<groupId>commons-beanutils</groupId>
378+
<artifactId>commons-beanutils</artifactId>
379+
<version>1.11.0</version>
380+
</dependency>
374381
<dependency>
375382
<groupId>jgraph</groupId>
376383
<artifactId>jgraph</artifactId>
@@ -390,13 +397,13 @@
390397
<dependency>
391398
<groupId>org.mockito</groupId>
392399
<artifactId>mockito-core</artifactId>
393-
<version>4.6.1</version>
400+
<version>4.11.0</version>
394401
<scope>test</scope>
395402
</dependency>
396403
<dependency>
397404
<groupId>org.hsqldb</groupId>
398405
<artifactId>hsqldb</artifactId>
399-
<version>2.7.1</version>
406+
<version>2.7.4</version>
400407
<scope>test</scope>
401408
</dependency>
402409
<!-- Derby 10.16 requires Java 17, Derby 10.15 requires additional dependency - derbytools -->
@@ -415,13 +422,13 @@
415422
<dependency>
416423
<groupId>org.xmlunit</groupId>
417424
<artifactId>xmlunit-matchers</artifactId>
418-
<version>2.9.0</version>
425+
<version>${xmlunit.version}</version>
419426
<scope>test</scope>
420427
</dependency>
421428
<dependency>
422429
<groupId>org.xmlunit</groupId>
423430
<artifactId>xmlunit-jakarta-jaxb-impl</artifactId>
424-
<version>2.9.0</version>
431+
<version>${xmlunit.version}</version>
425432
<scope>test</scope>
426433
</dependency>
427434
<dependency>
@@ -440,7 +447,7 @@
440447
<dependency>
441448
<groupId>org.apache.commons</groupId>
442449
<artifactId>commons-compress</artifactId>
443-
<version>1.26.2</version>
450+
<version>1.28.0</version>
444451
<scope>test</scope>
445452
</dependency>
446453
<dependency>

0 commit comments

Comments
 (0)