|
122 | 122 | <xmlunit.version>2.7.0</xmlunit.version> |
123 | 123 | <xws-security.version>3.0</xws-security.version> |
124 | 124 | <xom.version>1.2.5</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> |
|
206 | 206 | <version>${woodstox.version}</version> |
207 | 207 | <scope>test</scope> |
208 | 208 | </dependency> |
209 | | - <dependency> |
210 | | - <groupId>io.spring.docresources</groupId> |
211 | | - <artifactId>spring-doc-resources</artifactId> |
212 | | - <version>${docs.resources.version}</version> |
213 | | - <type>zip</type> |
214 | | - <optional>true</optional> |
215 | | - </dependency> |
216 | 209 | </dependencies> |
217 | 210 |
|
218 | 211 | <build> |
|
501 | 494 | <id>docs</id> |
502 | 495 |
|
503 | 496 | <build> |
504 | | - |
505 | 497 | <plugins> |
506 | | - <plugin> |
507 | | - <groupId>org.apache.maven.plugins</groupId> |
508 | | - <artifactId>maven-dependency-plugin</artifactId> |
509 | | - <executions> |
510 | | - <execution> |
511 | | - <id>unpack-doc-resources</id> |
512 | | - <goals> |
513 | | - <goal>unpack-dependencies</goal> |
514 | | - </goals> |
515 | | - <phase>generate-resources</phase> |
516 | | - <inherited>false</inherited> |
517 | | - <configuration> |
518 | | - <includeGroupIds>io.spring.docresources</includeGroupIds> |
519 | | - <includeArtifactIds>spring-doc-resources</includeArtifactIds> |
520 | | - <includeTypes>zip</includeTypes> |
521 | | - <excludeTransitive>true</excludeTransitive> |
522 | | - <outputDirectory>${project.build.directory}/refdocs/</outputDirectory> |
523 | | - </configuration> |
524 | | - </execution> |
525 | | - </executions> |
526 | | - </plugin> |
527 | 498 | <plugin> |
528 | 499 | <groupId>org.apache.maven.plugins</groupId> |
529 | 500 | <artifactId>maven-resources-plugin</artifactId> |
|
550 | 521 | <plugin> |
551 | 522 | <groupId>org.asciidoctor</groupId> |
552 | 523 | <artifactId>asciidoctor-maven-plugin</artifactId> |
553 | | - <version>2.1.0</version> |
| 524 | + <version>2.2.2</version> |
554 | 525 | <dependencies> |
555 | 526 | <dependency> |
556 | 527 | <groupId>org.asciidoctor</groupId> |
557 | 528 | <artifactId>asciidoctorj-pdf</artifactId> |
558 | | - <version>1.5.4</version> |
| 529 | + <version>2.3.0</version> |
559 | 530 | </dependency> |
560 | 531 | <dependency> |
561 | | - <groupId>org.asciidoctor</groupId> |
562 | | - <artifactId>asciidoctorj-epub3</artifactId> |
563 | | - <version>1.5.1</version> |
| 532 | + <groupId>io.spring.asciidoctor.backends</groupId> |
| 533 | + <artifactId>spring-asciidoctor-backends</artifactId> |
| 534 | + <version>${spring-asciidoctor-backends.version}</version> |
564 | 535 | </dependency> |
565 | 536 | </dependencies> |
566 | 537 | <executions> |
|
572 | 543 | <goal>process-asciidoc</goal> |
573 | 544 | </goals> |
574 | 545 | <configuration> |
575 | | - <backend>html5</backend> |
| 546 | + <backend>spring-html</backend> |
576 | 547 | <outputDirectory>${project.build.directory}/site/reference/html</outputDirectory> |
577 | 548 | <sourceHighlighter>highlight.js</sourceHighlighter> |
578 | 549 | <attributes> |
579 | 550 | // these attributes are required to use the doc resources |
580 | 551 | <docinfo>shared</docinfo> |
581 | 552 | <stylesdir>css/</stylesdir> |
582 | | - <stylesheet>spring.css</stylesheet> |
| 553 | + <stylesheet>site.css</stylesheet> |
583 | 554 | <linkcss>true</linkcss> |
584 | 555 | <icons>font</icons> |
585 | 556 | <highlightjsdir>js/highlight</highlightjsdir> |
|
602 | 573 | <sourceHighlighter>coderay</sourceHighlighter> |
603 | 574 | </configuration> |
604 | 575 | </execution> |
605 | | - |
606 | | - <execution> |
607 | | - <id>epub</id> |
608 | | - <phase>generate-resources</phase> |
609 | | - <inherited>false</inherited> |
610 | | - <goals> |
611 | | - <goal>process-asciidoc</goal> |
612 | | - </goals> |
613 | | - <configuration> |
614 | | - <outputDirectory>${project.build.directory}/site/reference/epub</outputDirectory> |
615 | | - <backend>epub3</backend> |
616 | | - <sourceHighlighter>coderay</sourceHighlighter> |
617 | | - </configuration> |
618 | | - </execution> |
619 | 576 | </executions> |
620 | 577 |
|
621 | 578 | <configuration> |
|
632 | 589 | <baseDir>${project.basedir}</baseDir> |
633 | 590 | </attributes> |
634 | 591 | </configuration> |
635 | | - |
636 | 592 | </plugin> |
637 | 593 | <plugin> |
638 | 594 | <groupId>org.apache.maven.plugins</groupId> |
|
839 | 795 | </profiles> |
840 | 796 |
|
841 | 797 | <repositories> |
| 798 | + <repository> |
| 799 | + <id>spring-release</id> |
| 800 | + <name>Spring Releases</name> |
| 801 | + <url>https://repo.spring.io/release</url> |
| 802 | + <snapshots> |
| 803 | + <enabled>false</enabled> |
| 804 | + </snapshots> |
| 805 | + </repository> |
842 | 806 | <repository> |
843 | 807 | <id>spring-libs-snapshot</id> |
844 | 808 | <url>https://repo.spring.io/libs-snapshot</url> |
|
0 commit comments