Add release notes to aggregation

This commit is contained in:
stianst 2018-06-14 08:31:24 +02:00 committed by Stian Thorgersen
parent c08cc3039b
commit 2d64137ab7
2 changed files with 23 additions and 0 deletions

View file

@ -56,6 +56,12 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.keycloak.documentation</groupId>
<artifactId>release-notes</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
</dependencies>
<build>
@ -177,6 +183,22 @@
</resources>
</configuration>
</execution>
<execution>
<id>copy-release_notes</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}/release_notes/</outputDirectory>
<resources>
<resource>
<directory>../release_notes/target/generated-docs</directory>
<include>**/**</include>
</resource>
</resources>
</configuration>
</execution>
<execution>
<id>copy-upgrading</id>
<phase>process-resources</phase>

View file

@ -41,6 +41,7 @@ li a:hover {
<li><a href="server_development/${masterFile}.html">Server Development</a></li>
<li><a href="authorization_services/${masterFile}.html">Authorization Services</a></li>
<li><a href="upgrading/${masterFile}.html">Upgrading</a></li>
<li><a href="release_notes/${masterFile}.html">Release Notes</a></li>
</ul>
</body>
</html>