2016-11-14 15:21:29 +01:00
|
|
|
<!--
|
|
|
|
|
|
2018-08-01 11:01:02 +02:00
|
|
|
Copyright (c) 2018 Bosch Software Innovations GmbH and others.
|
2016-11-14 15:21:29 +01:00
|
|
|
|
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
|
are made available under the terms of the Eclipse Public License v1.0
|
|
|
|
|
which accompanies this distribution, and is available at
|
|
|
|
|
http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<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>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-parent</artifactId>
|
2020-11-03 09:59:21 +01:00
|
|
|
<version>0.3.0-SNAPSHOT</version>
|
2016-11-14 15:21:29 +01:00
|
|
|
</parent>
|
|
|
|
|
<artifactId>docs</artifactId>
|
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
<name>hawkBit :: Documentation</name>
|
2018-08-01 11:01:02 +02:00
|
|
|
<description>Documentation for hawkBit</description>
|
2016-11-14 15:21:29 +01:00
|
|
|
|
2017-04-03 15:36:50 +02:00
|
|
|
<properties>
|
2018-08-01 11:01:02 +02:00
|
|
|
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
|
2017-04-03 15:36:50 +02:00
|
|
|
</properties>
|
|
|
|
|
|
2016-11-14 15:21:29 +01:00
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
2018-08-01 11:01:02 +02:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2016-11-14 15:21:29 +01:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
2018-08-01 11:01:02 +02:00
|
|
|
<id>unpack-api-docs</id>
|
|
|
|
|
<phase>prepare-package</phase>
|
2016-11-14 15:21:29 +01:00
|
|
|
<goals>
|
2018-08-01 11:01:02 +02:00
|
|
|
<goal>unpack</goal>
|
2016-11-14 15:21:29 +01:00
|
|
|
</goals>
|
2018-08-01 11:01:02 +02:00
|
|
|
<configuration>
|
|
|
|
|
<artifactItems>
|
|
|
|
|
<artifactItem>
|
|
|
|
|
<groupId>org.eclipse.hawkbit</groupId>
|
|
|
|
|
<artifactId>hawkbit-rest-docs</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>jar</type>
|
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
|
<outputDirectory>${basedir}/content/</outputDirectory>
|
|
|
|
|
<includes>**/*.html</includes>
|
|
|
|
|
</artifactItem>
|
|
|
|
|
</artifactItems>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>install-hugo-theme</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>exec</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>install</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<executable>/bin/bash</executable>
|
|
|
|
|
<workingDirectory>${project.basedir}</workingDirectory>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>install-theme.sh</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>serve</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>exec</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>site</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<executable>hugo</executable>
|
|
|
|
|
<workingDirectory>${project.basedir}</workingDirectory>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>server</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>cleanup</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>exec</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>clean</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<executable>/bin/bash</executable>
|
|
|
|
|
<workingDirectory>${project.basedir}</workingDirectory>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>cleanup.sh</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
2016-11-14 15:21:29 +01:00
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|