Release Info
Learn about the special features of the Release Info macro and get inspiration from specific examples.
Parameters
URL to release pom.xml | Define the URL to your parent pom.xml. If the pom.xml files are not well formed the macro will not be able to render. See the chapter Release pom.xml format. |
HTTP username | This is optional. If you use Basic-Auth for your remote file enter your username. |
HTTP password | This is optional. If you use Basic-Auth for your remote file enter your password. |
User Interface
The user interface on your Confluence page will look like the example below. You can click on the date in the bottom right corner to refresh the cache.
Examples
Example 1
https://codeclou.io/test-maven-releaseinfo-macro/v1.6/public/example-release/1.5/pom.xml
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.codeclou</groupId>
<artifactId>myapp-release</artifactId>
<packaging>pom</packaging>
<name>MyApp Release</name>
<version>1.5</version>
<modules>
<module>myapp-frontend-release</module>
<module>myapp-backend-release</module>
<module>some-other-module-release</module>
</modules>
</project>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.codeclou</groupId>
<artifactId>myapp-release</artifactId>
<version>1.5</version>
</parent>
<groupId>io.codeclou</groupId>
<artifactId>myapp-frontend-release</artifactId>
<packaging>pom</packaging>
<name>MyApp Release - MyApp-Frontend</name>
<description>Some random text on MyApp Frontend</description>
<dependencies>
<dependency>
<groupId>io.codeclou</groupId>
<artifactId>myapp-frontend</artifactId>
<type>war</type>
<version>1.5.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>