Configured Miredot plugin. Still need to find the best way to integrate it with site generation since it seems quite fussy at the moment.
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/8a34934b Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/8a34934b Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/8a34934b Branch: refs/heads/master Commit: 8a34934b5bbf972ac7ae5e43ae6eca64500829c2 Parents: 534a776 Author: Chris Laprun <[email protected]> Authored: Thu Nov 19 22:53:33 2015 +0100 Committer: Chris Laprun <[email protected]> Committed: Thu Nov 19 22:53:47 2015 +0100 ---------------------------------------------------------------------- rest/pom.xml | 25 +++++++++++++++++-------- src/site/site.xml | 1 + 2 files changed, 18 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8a34934b/rest/pom.xml ---------------------------------------------------------------------- diff --git a/rest/pom.xml b/rest/pom.xml index 1e05c82..0b7e462 100644 --- a/rest/pom.xml +++ b/rest/pom.xml @@ -15,8 +15,7 @@ ~ limitations under the License. --> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> @@ -36,6 +35,11 @@ <name>MireDot Releases</name> <url>http://nexus.qmino.com/content/repositories/miredot</url> </pluginRepository> + <pluginRepository> + <id>miredot-snapshots</id> + <name>MireDot Releases</name> + <url>http://nexus.qmino.com/content/repositories/miredot-snapshots</url> + </pluginRepository> </pluginRepositories> <dependencies> @@ -147,7 +151,7 @@ <outputPath>${basedir}/generated/document.html</outputPath> <swaggerDirectory>generated/swagger-ui</swaggerDirectory> <info> - <title>Documentation for Apache unomi's RESTful API</title> + <title>Documentation for Apache Unomi's RESTful API</title> <version>${project.version}</version> </info> <securityDefinitions> @@ -171,7 +175,7 @@ <plugin> <groupId>com.qmino</groupId> <artifactId>miredot-plugin</artifactId> - <version>1.6.2</version> + <version>2.0-SNAPSHOT</version> <executions> <execution> <goals> @@ -180,18 +184,23 @@ </execution> </executions> <configuration> - <license> - UHJvamVjdHxvcmcub2FzaXMtb3Blbi5jb250ZXh0c2VydmVyLmNvbnRleHQtc2VydmVyLXJlc3R8MjAxNi0xMC0xM3x0cnVlI01Dd0NGRVM3bEtxNW5lMmFEbHdSaHJoWS9PZm5Jb05mQWhRakpUV01tKzZtLzFEbmdNaEZrVDU4ZzViTy9BPT0= - </license> + <organizationId> + cfdb448b-0b4a-4416-ab1c-4604ea8907e2 + </organizationId> <output> - <title>Documentation for Apache unomi's RESTful API ${project.version}</title> + <title>Documentation for Apache Unomi's RESTful API ${project.version}</title> <html> <!-- optional html configuration --> + <location>${project.parent.build.directory}/site/rest-api-doc</location> </html> + <raml></raml> </output> <restModel> <restFramework> <name>jax-rs</name> + <cxfServiceConfig> + <item>src/main/resources/OSGI-INF/blueprint/blueprint.xml</item> + </cxfServiceConfig> </restFramework> </restModel> <!-- insert other configuration here (optional) --> http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/8a34934b/src/site/site.xml ---------------------------------------------------------------------- diff --git a/src/site/site.xml b/src/site/site.xml index f693992..d2c1228 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -117,6 +117,7 @@ <item name="Configuration" href="configuration.html" /> <item name="Cluster setup" href="clustering.html" /> <item name="Concepts" href="concepts.html"/> + <item name="REST API documentation" href="./rest-api-doc/index.html"/> <item name="Javadoc" href="./apidocs/index.html"/> </menu>
