io7m | single-page | multi-page | epub | Montarre User Manual 1.0.0-beta0001
2. Installation
Previous
Front Matter
Up
4. Maven Plugin
Next

# 3. Usage

- 3.1. Introduction
- 3.2. Packages
- 3.3. Package Declaration
- 3.4. Maven Plugin
- 3.5. Command-Line Native Packages

## 3.1. Introduction

1
This section of the documentation describes how to use the montarre package whilst attempting to explain as little as possible of exactly how the package works. The specification section, on the other hand, goes into detail on exactly how everything works internally.

## 3.2. Packages

1
A montarre package is simply an entomos file containing the jar files that comprise an application along with detailed metadata that provides enough information to allow for easily transforming that package to any number of platform-specific package formats. A montarre package is platform-independent and thus contains the superset of all code that the application might use on all of the platforms upon which it might run. Assuming that one has a suitable Java VM installed, a montarre package can simply be unzipped and then run using the java command [1]. This, obviously, is not particularly interesting in itself, and isn't really the way montarre packages are intended to be used. The interesting aspect of a montarre package is that, with no other configuration required, the package can be used to produce a range of native packages and/or executables relevant to the current platform. For example, a user examining the package on Linux can use a single invocation of the montarre native create command to produce a Debian .deb package, a Flatpak, and/or a simple application image executable.
2
The first step in using montarre is to have your build system produce a montarre package as one of the outputs. In general, this will be accomplished with a single invocation of the Maven Plugin, but it is also possible to use the command-line tools.

## 3.3. Package Declaration

1
Every montarre package contains a package declaration. A package declaration is an XML file with an extremely strict schema, with almost no optional elements [2]. The package declaration serves two purposes:

### 3.3.2. Package Declaration Purposes

- It provides all of the metadata that is used by the tools to produce native packages. For example, the metadata contains Category elements that are used to categorize applications when converting them to Flatpaks.
- It provides a list of all of the files included in the package, along with their cryptographic hashes for integrity checks, and type information such as "this file is an icon", "this file is a platform-dependent library that is only used on Linux x86_64", and etc.

3
In a montarre package, the package declaration is always stored in a special section at the start of the file. As a concrete example, this is the package declaration taken from the montarre package itself:

### 3.3.4. Montarre Package Declaration

    <Package xmlns="urn:com.io7m.montarre.package:1">
        <Metadata ApplicationKind="CONSOLE">
            <Category Name="Building"></Category>
            <Category Name="Development"></Category>
            <Copying Copyright="Copyright © 2024 Mark Raynsford &lt;code@io7m.com> https://www.io7m.com" License="ISC"></Copying>
            <Description>
                <Text Language="en">Package Java applications</Text>
            </Description>
            <Flatpak>
                <FlatpakPermission Value="--share=network"></FlatpakPermission>
                <FlatpakPermission Value="--filesystem=home:rw"></FlatpakPermission>
                <FlatpakRuntime Name="org.freedesktop.Sdk" Role="SDK" Version="24.08"></FlatpakRuntime>
                <FlatpakRuntime Name="org.freedesktop.Platform" Role="PLATFORM" Version="24.08"></FlatpakRuntime>
            </Flatpak>
            <JavaInfo MainModule="com.io7m.montarre.cmdline/com.io7m.montarre.cmdline.MMain" RequiredJDKVersion="21" RuntimeImageKind="JDK"></JavaInfo>
            <Link Role="SCM" Target="https://www.github.com/io7m-com/montarre"></Link>
            <Link Role="ISSUES" Target="https://www.github.com/io7m-com/montarre/issues"></Link>
            <Link Role="HOME_PAGE" Target="https://www.io7m.com/software/montarre"></Link>
            <LongDescription Language="en">
                <Paragraph>The Montarre package provides a set of tools for producing native platform artifacts from platform-independent Java packages.</Paragraph>
                <Feature>A rich, strictly-defined, and well-specified packaging format that remains platform-independent whilst allowing straightforward zero-configuration transformations to a wide range of platform-specific package formats.</Feature>
                <Feature>Extensive, type-driven, ahead-of-time checking; if your package validates, you should get working native packages on all platforms.</Feature>
                <Feature>Reproducible builds by default.</Feature>
                <Feature>Support for producing simple jpackage "app-image" executables on any platform.</Feature>
                <Feature>Support for producing Debian .deb packages.</Feature>
                <Feature>Support for producing Windows MSI installers.</Feature>
                <Feature>Support for producing Flatpaks.</Feature>
                <Feature>A carefully-engineered Java API for creating, manipulating, and transforming packages.</Feature>
                <Feature>A full command-line interface built on top of the Java API.</Feature>
                <Feature>A Maven plugin for producing packages from any Maven module.</Feature>
            </LongDescription>
            <Names HumanName="Montarre" Name="com.io7m.montarre" ShortName="montarre"></Names>
            <Vendor ID="com.io7m" Name="io7m"></Vendor>
            <Version Date="2024-10-06" Number="1.0.0-SNAPSHOT"></Version>
        </Metadata>
        <Manifest>
            <Module File="lib/com.io7m.anethum.api-1.1.1.jar" HashAlgorithm="SHA-256" HashValue="bef5e82eeac406d93b993858e575ba304366ad333d54134969951d1223ff2ce8" Size="15052"></Module>
            <Module File="lib/com.io7m.blackthorne.core-2.0.2.jar" HashAlgorithm="SHA-256" HashValue="48b994b273dddd8a2a410c43db3efcd0d91a71910fc27189a24736313fb2bb23" Size="42944"></Module>
            <Module File="lib/com.io7m.blackthorne.jxe-2.0.2.jar" HashAlgorithm="SHA-256" HashValue="bfcf0e162aa3b636f29f933de5d80f01a1ee1ebb32780f1ff8ca96d56a75ecdf" Size="5166"></Module>
            <Module File="lib/com.io7m.entomos.core-1.0.0.jar" HashAlgorithm="SHA-256" HashValue="dc1a78fdcbb8738054f283b56fea4a9c795a81be7d785495e48b680b998ec089" Size="47780"></Module>
            <Module File="lib/com.io7m.ieee754b16.core-3.0.1.jar" HashAlgorithm="SHA-256" HashValue="dcc74c6914dc3c91c85d5c68a72b7993df791257938dea463897bf1783694bb6" Size="7772"></Module>
            <Module File="lib/com.io7m.jaffirm.core-4.0.1.jar" HashAlgorithm="SHA-256" HashValue="dc02592647284de9b985a3852e3ad967e9ee561d44772d3e4ecd99afbbc22f18" Size="38355"></Module>
            <Module File="lib/com.io7m.jbssio.api-3.0.0.jar" HashAlgorithm="SHA-256" HashValue="dbcf6e45d3df3360c64c748733fce458a3800d4fb6208ded61a56819b4c7e011" Size="21659"></Module>
            <Module File="lib/com.io7m.jbssio.vanilla-3.0.0.jar" HashAlgorithm="SHA-256" HashValue="822f4ad434527728e34d2c44babaef3d57e0d75b7d09c8a9190cce8a24433c76" Size="57643"></Module>
            <Module File="lib/com.io7m.jcip-2.0.1.jar" HashAlgorithm="SHA-256" HashValue="f103daf09059c6969efb7e87dbd427da9dd2b9088224f3aca36e76865edd8ba2" Size="5569"></Module>
            <Module File="lib/com.io7m.jdownload.core-1.0.0.jar" HashAlgorithm="SHA-256" HashValue="807ec26e9b987dd7e5e475f64494501582af0a89375ec106a8307102a269095d" Size="21462"></Module>
            <Module File="lib/com.io7m.jlexing.core-3.2.0.jar" HashAlgorithm="SHA-256" HashValue="e26c6046de6cf41819fe2ed15e38279ce3447cf45430166b0f25a3f589d55c93" Size="12841"></Module>
            <Module File="lib/com.io7m.jmulticlose.core-1.1.3.jar" HashAlgorithm="SHA-256" HashValue="c0e5164f515e530dc210772d98120bbf8f60c9933b9e178e3ad4dbbf4ef43b92" Size="10227"></Module>
            <Module File="lib/com.io7m.junreachable.core-4.0.2.jar" HashAlgorithm="SHA-256" HashValue="979cb909924e8ea64e17b03340c601a8e6b6e1620c4e751a0bd74a34ffb9d5e9" Size="4505"></Module>
            <Module File="lib/com.io7m.jxe.core-2.0.0.jar" HashAlgorithm="SHA-256" HashValue="3520d03a2606787c4e88625f151c9dbbc853bd4987e752c509e6030a83238b67" Size="21622"></Module>
            <Module File="lib/com.io7m.jxtrand.api-2.1.0.jar" HashAlgorithm="SHA-256" HashValue="53c1a2cc739b6359441ba7aacc2aee74166ea416060b197ef6530e8a60052b27" Size="6730"></Module>
            <Module File="lib/com.io7m.jxtrand.vanilla-2.1.0.jar" HashAlgorithm="SHA-256" HashValue="c1bbcea8b4ec0a99093e1ec745036e7849f98687158ad3b777179618052ce9b2" Size="9797"></Module>
            <Module File="lib/com.io7m.lanark.core-1.2.0.jar" HashAlgorithm="SHA-256" HashValue="c725d2de4b82b9632cc2d72219b27f5d4c4700dde3dd2905f965f06894f04503" Size="10609"></Module>
            <Module File="lib/com.io7m.montarre.adoptium-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="4e0c79dbe18d20786f92d6c8978b3213a94b48114772db93f52388f3dce8f99b" Size="33774"></Module>
            <Module File="lib/com.io7m.montarre.api-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="f8a827f86ce9d1bc6cde54e4db17a2a432677c2f7877117d0d123e1710a1858c" Size="137507"></Module>
            <Module File="lib/com.io7m.montarre.cmdline-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="e347bd89dfb53e41c78a1e19a8ed1473e2d9c07e11fce2d0519053efeba7605c" Size="53616"></Module>
            <Module File="lib/com.io7m.montarre.io-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="9892a515defae620f7ee6d3fbc8f2887a277335947f4058e53d4391bab7ebd1c" Size="41291"></Module>
            <Module File="lib/com.io7m.montarre.nativepack-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="04518a5eb1da4df6b545d8f08b4bb83c0c689a497434491132ac2e5720b75354" Size="177400"></Module>
            <Module File="lib/com.io7m.montarre.schema-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="d71defab3dfedabdd4649fb75a60a7cbd0d9c7cced2700b70b7d3090e7d356ee" Size="7271"></Module>
            <Module File="lib/com.io7m.montarre.xml_format-1.0.0-SNAPSHOT.jar" HashAlgorithm="SHA-256" HashValue="6003245560a450b37c6141c50695c5c90b7fc1c1e567cf6c0aaef2eb16ef67c8" Size="63358"></Module>
            <Module File="lib/com.io7m.quarrel.core-1.8.0.jar" HashAlgorithm="SHA-256" HashValue="1102266623a53a5b18b58ff84bdd1eae31d96052635ed3d9b59bb9948a06274e" Size="110771"></Module>
            <Module File="lib/com.io7m.quarrel.ext.logback-1.8.0.jar" HashAlgorithm="SHA-256" HashValue="5497e3eae18c0b622f92af6dcb87bc45ad5fcb87220c504a34acff43f43cd6d6" Size="5986"></Module>
            <Module File="lib/com.io7m.seltzer.api-1.3.0.jar" HashAlgorithm="SHA-256" HashValue="f7840b70ffaa925b6325ff7536188ed4984b60395f8e301e3676ad142f08eb37" Size="9085"></Module>
            <Module File="lib/com.io7m.seltzer.io-1.1.0.jar" HashAlgorithm="SHA-256" HashValue="689065a9ac0f11862c4cd8b432133626302ab39d8f145d7fffd5c4261106a371" Size="6926"></Module>
            <Module File="lib/com.io7m.streamtime.core-1.0.0.jar" HashAlgorithm="SHA-256" HashValue="d062c6142754e507c51a3e127b449ae2d95cf30afb65b4cfd6fffa7f7717a0c8" Size="9750"></Module>
            <Module File="lib/com.io7m.verona.core-1.1.0.jar" HashAlgorithm="SHA-256" HashValue="7c77d2e5e30a44991e0b31a0208c56e7f4398ce31956b2bc0b15841632468df8" Size="11849"></Module>
            <Module File="lib/com.io7m.wendover.core-1.0.2.jar" HashAlgorithm="SHA-256" HashValue="ca694244a9ad2365d2ad19c150e749877d0240f7b60343fde26b330eb181da1c" Size="15615"></Module>
            <Module File="lib/commons-codec-1.19.0.jar" HashAlgorithm="SHA-256" HashValue="5c3881e4f556855e9c532927ee0c9dfde94cc66760d5805c031a59887070af5f" Size="374716"></Module>
            <Module File="lib/commons-compress-1.28.0.jar" HashAlgorithm="SHA-256" HashValue="e1522945218456f3649a39bc4afd70ce4bd466221519dba7d378f2141a4642ca" Size="1117221"></Module>
            <Module File="lib/commons-io-2.21.0.jar" HashAlgorithm="SHA-256" HashValue="7d643a2afea8b058b762aa6fb90e5b256f6c729739f8b3784c3370ddc609e88d" Size="585274"></Module>
            <Module File="lib/commons-lang3-3.20.0.jar" HashAlgorithm="SHA-256" HashValue="69e5c9fa35da7a51a5fd2099dfe56a2d8d32cf233e2f6d770e796146440263f4" Size="713862"></Module>
            <Module File="lib/jackson-annotations-2.21.jar" HashAlgorithm="SHA-256" HashValue="53ca085f4a150f703f49e1aabd935bd03b43e1ea3d55d135438292af22cef56b" Size="82104"></Module>
            <Module File="lib/jackson-core-3.1.0.jar" HashAlgorithm="SHA-256" HashValue="4dd383f96b51b9b9ac4b74bdf1c150df0100443e1da1fba480f57da09a2dcef7" Size="600360"></Module>
            <Module File="lib/jackson-databind-3.1.0.jar" HashAlgorithm="SHA-256" HashValue="1bf5454a1d589a27ddbb91ee16f31f169b08530843f52f5e83f62c650c64516b" Size="1937846"></Module>
            <Module File="lib/jul-to-slf4j-2.0.17.jar" HashAlgorithm="SHA-256" HashValue="a7afcd23b9cfd1475e55c94f943b808c5922035e7e2c2a5c65a487a4106bc538" Size="6349"></Module>
            <Module File="lib/logback-classic-1.5.32.jar" HashAlgorithm="SHA-256" HashValue="2d4cf592db78be2de4d6140434c2fec170dcb16a09e8c8b7b207dbf5e31b848a" Size="286451"></Module>
            <Module File="lib/logback-core-1.5.32.jar" HashAlgorithm="SHA-256" HashValue="6a904d5778d0e361a9692f9cbe68b1b0620ae0f3eda2ec2ed09102755bf036c4" Size="644407"></Module>
            <Module File="lib/slf4j-api-2.0.16.jar" HashAlgorithm="SHA-256" HashValue="a12578dde1ba00bd9b816d388a0b879928d00bab3c83c240f7013bf4196c579a" Size="69435"></Module>
            <Module File="lib/xz-1.12.jar" HashAlgorithm="SHA-256" HashValue="3e158a87bd73d8afb4b6e8239c013b7d049c48563f45860ce99cd2e448cf4a6b" Size="168792"></Module>
            <Resource File="meta/bom.xml" HashAlgorithm="SHA-256" HashValue="1dcbcb2d0153cfc3ae68b988ebc6ece3ca2a604d34cce4c616fa7e87564d93c4" Role="BOM" Size="354765"></Resource>
            <Resource File="meta/icon.ico" HashAlgorithm="SHA-256" HashValue="a36ce859182d76a764bfdb2260b05e0c00580a191e7bc36155a00062ccd06b0e" Role="ICO_WINDOWS" Size="102134"></Resource>
            <Resource File="meta/icon128.png" HashAlgorithm="SHA-256" HashValue="404b0d848df4c98a02804b6e7566b4c4bf27430f7c584381d32cf43a0b3e4028" Role="ICON_128" Size="41273"></Resource>
            <Resource File="meta/icon16.png" HashAlgorithm="SHA-256" HashValue="47734e7530a565bca0d8b3c2015600441b31fe151c59855b4f0af535360e1cf9" Role="ICON_16" Size="544"></Resource>
            <Resource File="meta/icon24.png" HashAlgorithm="SHA-256" HashValue="7597832ef6ebff7f4fa8ac0c8774552f54b47391f8db8479ea96e395556c7da0" Role="ICON_24" Size="732"></Resource>
            <Resource File="meta/icon32.png" HashAlgorithm="SHA-256" HashValue="e3ea34ef4296b538d7ef5d58ad511ab5bd4b4b078a30f1910e9789143c98776a" Role="ICON_32" Size="1973"></Resource>
            <Resource File="meta/icon48.png" HashAlgorithm="SHA-256" HashValue="35d5ada26910c3f707f9b8cfb016b1dca9a575c940018fa5048d71258581b0fc" Role="ICON_48" Size="5461"></Resource>
            <Resource File="meta/icon64.png" HashAlgorithm="SHA-256" HashValue="c30a14e51ade414a6110daa447e8d44cfa10808fa9ce06b4bb67f37def7fd04e" Role="ICON_64" Size="10050"></Resource>
            <Resource File="meta/license.txt" HashAlgorithm="SHA-256" HashValue="cb2db7e26966764c369e6fb4ca08a989e752d926016dd132661a8c64b25149f4" Role="LICENSE" Size="768"></Resource>
            <Resource File="meta/screenshot.png" HashAlgorithm="SHA-256" HashValue="8341f4b229fea93885c52d7ad3797da8803d4e291b3a9e6f8c2c4d4d641637aa" Role="SCREENSHOT" Size="16002">
                <Caption>
                    <Text Language="en">The main command-line entry point.</Text>
                </Caption>
            </Resource>
        </Manifest>
    </Package>

5
You are not usually expected to write a package declaration by hand. Instead, the Maven plugin can be used to collect all of the (transitive) dependencies of a project, generate an appropriate manifest, and fill in all of the package declaration information that can be inferred from the Maven POM alone. Anything that cannot be inferred from the POM must be included as configuration parameters to the plugin.

## 3.4. Maven Plugin

1
To use the Maven plugin, simply add a plugin execution to the main module in your project:

### 3.4.2. Maven Plugin Execution

    <plugin>
      <groupId>com.io7m.montarre</groupId>
      <artifactId>com.io7m.montarre.maven_plugin</artifactId>
      <version>...</version>
      <executions>
        <execution>
          <id>make-distribution</id>
          <goals>
            <goal>package</goal>
          </goals>
          <phase>package</phase>
          <configuration>
            <validationWarningsAreErrors>true</validationWarningsAreErrors>

            <applicationKind>CONSOLE</applicationKind>

            <categories>
              <category>Development</category>
              <category>Building</category>
            </categories>

            <copyright>Copyright © 2024 Mark Raynsford &lt;code@io7m.com> https://www.io7m.com</copyright>

            <humanName>Montarre</humanName>
            <packageName>com.io7m.montarre</packageName>
            <shortName>montarre</shortName>

            <description>Package Java applications</description>

            <version>
              <number>${project.version}</number>
              <date>2024-10-06</date>
            </version>

            <vendor>
              <id>com.io7m</id>
              <name>io7m</name>
            </vendor>

            <longDescriptions>
              <longDescription>${project.basedir}/src/main/meta/description-en.xml</longDescription>
            </longDescriptions>

            <mainModule>com.io7m.montarre.cmdline/com.io7m.montarre.cmdline.MMain</mainModule>

            <requiredJDKVersion>21</requiredJDKVersion>

            <flatpak>
              <runtimes>
                <runtime>
                  <name>org.freedesktop.Sdk</name>
                  <version>24.08</version>
                  <role>SDK</role>
                </runtime>
                <runtime>
                  <name>org.freedesktop.Platform</name>
                  <version>24.08</version>
                  <role>PLATFORM</role>
                </runtime>
              </runtimes>
              <permissions>
                <permission>--share=network</permission>
                <permission>--filesystem=home:rw</permission>
              </permissions>
            </flatpak>

            <libraries>
              <excludes>
                <exclude>com\.io7m\.montarre\.cmdline-.*-main\.jar</exclude>
                <exclude>com\.io7m\.montarre\.distribution-.*</exclude>
                <exclude>maven-.*</exclude>
                <exclude>com\.io7m\.montarre\.maven_plugin-.*</exclude>
              </excludes>
            </libraries>

            <resources>
              <resource>
                <role>BOM</role>
                <file>${project.build.directory}/bom.xml</file>
                <entryName>bom.xml</entryName>
              </resource>
              <resource>
                <role>ICON_16</role>
                <file>${project.basedir}/src/main/meta/icon16.png</file>
                <entryName>icon16.png</entryName>
              </resource>
              <resource>
                <role>ICON_24</role>
                <file>${project.basedir}/src/main/meta/icon24.png</file>
                <entryName>icon24.png</entryName>
              </resource>
              <resource>
                <role>ICON_32</role>
                <file>${project.basedir}/src/main/meta/icon32.png</file>
                <entryName>icon32.png</entryName>
              </resource>
              <resource>
                <role>ICON_48</role>
                <file>${project.basedir}/src/main/meta/icon48.png</file>
                <entryName>icon48.png</entryName>
              </resource>
              <resource>
                <role>ICON_64</role>
                <file>${project.basedir}/src/main/meta/icon64.png</file>
                <entryName>icon64.png</entryName>
              </resource>
              <resource>
                <role>ICON_128</role>
                <file>${project.basedir}/src/main/meta/icon128.png</file>
                <entryName>icon128.png</entryName>
              </resource>
              <resource>
                <role>SCREENSHOT</role>
                <file>${project.basedir}/src/main/meta/screenshot.png</file>
                <entryName>screenshot.png</entryName>
                <captions>
                  <caption>
                    <language>en</language>
                    <text>The main command-line entry point.</text>
                  </caption>
                </captions>
              </resource>
              <resource>
                <role>ICO_WINDOWS</role>
                <file>${project.basedir}/src/main/meta/icon.ico</file>
                <entryName>icon.ico</entryName>
              </resource>
              <resource>
                <role>LICENSE</role>
                <file>${project.basedir}/../README-LICENSE.txt</file>
                <entryName>license.txt</entryName>
              </resource>
            </resources>
          </configuration>
        </execution>
      </executions>
    </plugin>

3
Many of the parameters are optional and are inferred from the hosting Maven project if not specified. All parameters are documented in the Maven Plugin documentation.
4
Upon running the build, a montarre package will be produced and attached to the build. Look for a file with the suffix .mpk:

### 3.4.5. mpk File

    $ ls com.io7m.montarre.distribution/target/*.mpk
    com.io7m.montarre.distribution/target/com.io7m.montarre.distribution-0.0.1-SNAPSHOT.mpk

## 3.5. Command-Line Native Packages

1
Assuming that you have an existing montarre package (we'll pretend that it's called montarre.mpk), it's possible to produce every type of native package supported by the current system with a single command. Assuming that the current system is Linux, and we're running on the x86_64 hardware architecture, we need to tell the command-line where to get a suitable Java runtime that can be used as the basis for a native package. At the time of writing, there seems to be little reason to use anything other than Eclipse Adoptium as they produce TCK certified runtimes for the widest range of platforms. We call the native create subcommand of the command-line montarre tool, passing it a couple of temporary directories that will be used for temporary files and the outputs of packaging, and a link to a suitable Temurin JRE:

### 3.5.2. Native Creation

    $ montarre native create \
      --package montarre.mpk \
      --work-directory /tmp/work0 \
      --output-directory /tmp/work0-output \
      --java-runtime-download-uri https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.4_7.tar.gz \
      --java-runtime-sha256 51fb4d03a4429c39d397d3a03a779077159317616550e4e71624c9843083e7b9 \
      --java-runtime-format TAR_GZ

3
The output of the command is a set of packages in various formats:

### 3.5.4. Native Creation Outputs

    $ ls -alF /tmp/work0-output
    total 187632
    drwxr-xr-x  2 montarre   montarre        120 Oct 15 12:13 ./
    drwxrwxrwt 30 root       root            880 Oct 16 17:37 ../
    -rw-r--r--  1 montarre   montarre    4138851 Oct 15 12:13 com.io7m.montarre-0.0.1-SNAPSHOT-any.txz
    -rw-r--r--  1 montarre   montarre   81923503 Oct 15 12:11 com.io7m.montarre-0.0.1-SNAPSHOT-x86_64-linux.txz
    -rw-r--r--  1 montarre   montarre   52665048 Oct 15 12:13 com.io7m.montarre.flatpak
    -rw-r--r--  1 montarre   montarre   53400220 Oct 15 12:11 montarre-0.0.1-SNAPSHOT-x86_64-linux.deb

5
We can see that the process produced a Debian package named montarre-0.0.1-SNAPSHOT-x86_64-linux.deb, an app-image named com.io7m.montarre-0.0.1-SNAPSHOT-x86_64-linux.txz, a shell distribution named com.io7m.montarre-0.0.1-SNAPSHOT-any.txz, and a Flatpak named com.io7m.montarre.flatpak.
6
Had this command been run on Windows, the output would likely have included an MSI installer.

## Footnotes

1 | It might be necessary to adjust the module path to account for the fact that the package might have included, for example, native libraries that should not be placed on the module path on some platforms. The included package metadata contains all of the information required to make these decisions. Most applications do not include native libraries, so the point generally stands. References to this footnote: 1
2 | The schema is so strict, in fact, that simply creating a Package element in the correct urn:com.io7m.montarre.package:1 namespace in any modern IDE will automatically create and fill in most of the elements! References to this footnote: 1

2. Installation
Previous
Front Matter
Up
4. Maven Plugin
Next
io7m | single-page | multi-page | epub | Montarre User Manual 1.0.0-beta0001