From 49850562c11ade3549c35049c559535d0d5fca93 Mon Sep 17 00:00:00 2001 From: Eric Bottard Date: Tue, 29 Aug 2017 17:44:27 +0200 Subject: [PATCH] Generate aggregated API docs Fixes #145 --- pom.xml | 14 ++++ spring-shell-docs/pom.xml | 82 +++++++++++++++++++++ spring-shell-docs/src/assembly/docs-zip.xml | 4 + spring-shell-jcommander-adapter/pom.xml | 1 - spring-shell-shell1-adapter/pom.xml | 1 - 5 files changed, 100 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 53514f54..f12f8853 100644 --- a/pom.xml +++ b/pom.xml @@ -18,6 +18,8 @@ 3.3.0 3.8.0 1.8 + 1.48 + 1.2.0.RELEASE @@ -87,12 +89,24 @@ ${jline.version} runtime + + com.beust + jcommander + ${jcommander.version} + true + org.assertj assertj-core ${assertj.version} test + + + org.springframework.shell + spring-shell + ${shell1.version} + diff --git a/spring-shell-docs/pom.xml b/spring-shell-docs/pom.xml index c6e08cf9..33160724 100644 --- a/spring-shell-docs/pom.xml +++ b/spring-shell-docs/pom.xml @@ -19,8 +19,53 @@ 1.5.6 1.7.26 + + + + + org.springframework.shell + spring-shell-core + provided + + + org.springframework.shell + spring-shell-standard + provided + + + org.springframework.shell + spring-shell-standard-commands + provided + + + org.springframework.shell + spring-shell-shell1-adapter + provided + + + org.springframework.shell + spring-shell + + + + org.springframework.shell + spring-shell-jcommander-adapter + provided + + + com.beust + jcommander + provided + + + org.springframework.shell + spring-shell-table + provided + + + org.asciidoctor asciidoctor-maven-plugin @@ -87,6 +132,43 @@ + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.0.0-M1 + + + dependency-javadocs + + jar + + prepare-package + + true + + ${project.groupId}:* + + + + ${project.groupId}:spring-shell + + true + false + + + http://docs.spring.io/spring-framework/docs/current/javadoc-api/ + + http://jcommander.org/apidocs/ + https://docs.spring.io/spring-shell/docs/1.2.0.RELEASE/api/ + + -missing + + + + + + maven-assembly-plugin 3.1.0 diff --git a/spring-shell-docs/src/assembly/docs-zip.xml b/spring-shell-docs/src/assembly/docs-zip.xml index c7845cbe..a1c75122 100644 --- a/spring-shell-docs/src/assembly/docs-zip.xml +++ b/spring-shell-docs/src/assembly/docs-zip.xml @@ -21,5 +21,9 @@ index.pdf + + ${project.build.directory}/apidocs + api + \ No newline at end of file diff --git a/spring-shell-jcommander-adapter/pom.xml b/spring-shell-jcommander-adapter/pom.xml index e11c3737..bd23716e 100644 --- a/spring-shell-jcommander-adapter/pom.xml +++ b/spring-shell-jcommander-adapter/pom.xml @@ -22,7 +22,6 @@ com.beust jcommander - 1.48 true diff --git a/spring-shell-shell1-adapter/pom.xml b/spring-shell-shell1-adapter/pom.xml index 22f50cdb..9770491f 100644 --- a/spring-shell-shell1-adapter/pom.xml +++ b/spring-shell-shell1-adapter/pom.xml @@ -24,7 +24,6 @@ org.springframework.shell spring-shell - 1.2.0.RELEASE true