|
122 | 122 | <xmlunit1.version>1.6</xmlunit1.version> |
123 | 123 | <xmlunit.version>2.7.0</xmlunit.version> |
124 | 124 | <xom.version>1.3.7</xom.version> |
125 | | - <docs.resources.version>0.2.5</docs.resources.version> |
| 125 | + <spring-asciidoctor-backends.version>0.0.3</spring-asciidoctor-backends.version> |
126 | 126 | </properties> |
127 | 127 |
|
128 | 128 | <dependencyManagement> |
|
229 | 229 | <version>${woodstox.version}</version> |
230 | 230 | <scope>test</scope> |
231 | 231 | </dependency> |
232 | | - <dependency> |
233 | | - <groupId>io.spring.docresources</groupId> |
234 | | - <artifactId>spring-doc-resources</artifactId> |
235 | | - <version>${docs.resources.version}</version> |
236 | | - <type>zip</type> |
237 | | - <optional>true</optional> |
238 | | - </dependency> |
239 | 232 | </dependencies> |
240 | 233 |
|
241 | 234 | <build> |
|
530 | 523 | <build> |
531 | 524 |
|
532 | 525 | <plugins> |
533 | | - <plugin> |
534 | | - <groupId>org.apache.maven.plugins</groupId> |
535 | | - <artifactId>maven-dependency-plugin</artifactId> |
536 | | - <executions> |
537 | | - <execution> |
538 | | - <id>unpack-doc-resources</id> |
539 | | - <goals> |
540 | | - <goal>unpack-dependencies</goal> |
541 | | - </goals> |
542 | | - <phase>generate-resources</phase> |
543 | | - <inherited>false</inherited> |
544 | | - <configuration> |
545 | | - <includeGroupIds>io.spring.docresources</includeGroupIds> |
546 | | - <includeArtifactIds>spring-doc-resources</includeArtifactIds> |
547 | | - <includeTypes>zip</includeTypes> |
548 | | - <excludeTransitive>true</excludeTransitive> |
549 | | - <outputDirectory>${project.build.directory}/refdocs/</outputDirectory> |
550 | | - </configuration> |
551 | | - </execution> |
552 | | - </executions> |
553 | | - </plugin> |
554 | 526 | <plugin> |
555 | 527 | <groupId>org.apache.maven.plugins</groupId> |
556 | 528 | <artifactId>maven-resources-plugin</artifactId> |
|
577 | 549 | <plugin> |
578 | 550 | <groupId>org.asciidoctor</groupId> |
579 | 551 | <artifactId>asciidoctor-maven-plugin</artifactId> |
580 | | - <version>2.1.0</version> |
| 552 | + <version>2.2.2</version> |
581 | 553 | <dependencies> |
582 | 554 | <dependency> |
583 | 555 | <groupId>org.asciidoctor</groupId> |
584 | 556 | <artifactId>asciidoctorj-pdf</artifactId> |
585 | | - <version>1.5.4</version> |
| 557 | + <version>2.3.0</version> |
586 | 558 | </dependency> |
587 | 559 | <dependency> |
588 | | - <groupId>org.asciidoctor</groupId> |
589 | | - <artifactId>asciidoctorj-epub3</artifactId> |
590 | | - <version>1.5.1</version> |
| 560 | + <groupId>io.spring.asciidoctor.backends</groupId> |
| 561 | + <artifactId>spring-asciidoctor-backends</artifactId> |
| 562 | + <version>${spring-asciidoctor-backends.version}</version> |
591 | 563 | </dependency> |
592 | 564 | </dependencies> |
593 | 565 | <executions> |
|
599 | 571 | <goal>process-asciidoc</goal> |
600 | 572 | </goals> |
601 | 573 | <configuration> |
602 | | - <backend>html5</backend> |
| 574 | + <backend>spring-html</backend> |
603 | 575 | <outputDirectory>${project.build.directory}/site/reference/html</outputDirectory> |
604 | 576 | <sourceHighlighter>highlight.js</sourceHighlighter> |
605 | 577 | <attributes> |
606 | 578 | // these attributes are required to use the doc resources |
607 | 579 | <docinfo>shared</docinfo> |
608 | 580 | <stylesdir>css/</stylesdir> |
609 | | - <stylesheet>spring.css</stylesheet> |
| 581 | + <stylesheet>site.css</stylesheet> |
610 | 582 | <linkcss>true</linkcss> |
611 | 583 | <icons>font</icons> |
612 | 584 | <highlightjsdir>js/highlight</highlightjsdir> |
|
630 | 602 | </configuration> |
631 | 603 | </execution> |
632 | 604 |
|
633 | | - <execution> |
634 | | - <id>epub</id> |
635 | | - <phase>generate-resources</phase> |
636 | | - <inherited>false</inherited> |
637 | | - <goals> |
638 | | - <goal>process-asciidoc</goal> |
639 | | - </goals> |
640 | | - <configuration> |
641 | | - <outputDirectory>${project.build.directory}/site/reference/epub</outputDirectory> |
642 | | - <backend>epub3</backend> |
643 | | - <sourceHighlighter>coderay</sourceHighlighter> |
644 | | - </configuration> |
645 | | - </execution> |
646 | 605 | </executions> |
647 | 606 |
|
648 | 607 | <configuration> |
|
659 | 618 | <baseDir>${project.basedir}</baseDir> |
660 | 619 | </attributes> |
661 | 620 | </configuration> |
662 | | - |
663 | 621 | </plugin> |
664 | 622 | <plugin> |
665 | 623 | <groupId>org.apache.maven.plugins</groupId> |
|
760 | 718 | </profiles> |
761 | 719 |
|
762 | 720 | <repositories> |
| 721 | + <repository> |
| 722 | + <id>spring-release</id> |
| 723 | + <name>Spring Releases</name> |
| 724 | + <url>https://repo.spring.io/releases</url> |
| 725 | + <snapshots> |
| 726 | + <enabled>false</enabled> |
| 727 | + </snapshots> |
| 728 | + </repository> |
763 | 729 | <repository> |
764 | 730 | <id>spring-libs-snapshot</id> |
765 | 731 | <url>https://repo.spring.io/libs-snapshot</url> |
|
0 commit comments