diff --git a/parent/pom.xml b/parent/pom.xml index bb233cad..523090ee 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -244,11 +244,19 @@ ${project.build.directory}/shared-resources + ${project.build.directory}/doc-resources true true + + org.springframework.doc-resources + spring-doc-resources + 0.1.1-SNAPSHOT + provided + zip + org.springframework.data.build spring-data-build-resources @@ -287,6 +295,31 @@ + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-shared-resources + + unpack-dependencies + + initialize + + + + org.springframework.doc-resources + spring-doc-resources + zip + true + ${doc.resources} + + + @@ -341,12 +374,6 @@ generate-resources - - - - - - @@ -380,13 +407,62 @@ + + create-docs-working-directory + initialize + + + + + + + + + + + + + + + + + + + + + + + + run + + + rename-reference-docs package + + + + + + + + + + + + + + + + + + + @@ -431,20 +507,24 @@ process-asciidoc + ${project.build.directory}/working html5 - ${project.root}/target/site/reference/html + ${project.build.directory}/generated-docs false prettify true font true + ./stylesheets spring.css + shared + left - + - ${project.root}/src/main/asciidoc - index.adoc book ${project.version} @@ -484,7 +570,7 @@ ${spring} ${releasetrain} true - 3 + 4 true