Full name:
be.hobbiton.maven:linux-packaging-maven-plugin:1.2.0:makedeb
Description:
Binds to the package lifecycle phase for artifacts of type deb
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<outputDirectory> | File | 1.1.0 | Directory containing the generated DEB. Default value is: ${project.build.directory}. |
<resourcesDirectory> | File | 1.1.0 | The directory where the resources are to be found Default value is: ${project.build.outputDirectory}. |
Name | Type | Since | Description |
---|---|---|---|
<architecture> | String | 1.1.0 | The application's Architecture Default value is: all. |
<artifacts> | ArtifactPackageEntry[] | 1.0.0 | The dependent artifacts that should be packaged.
<artifacts> <artifact> <groupId>be.hobbiton.app</groupid> <artifactId>hiapp</artifactid> <type>war</type> <classifier>jdk8</classifier> <destination>/opt/hiapp/</destination> </artifact> </artifacts> type is optional, default value = jar classifier is optional, default no classifier |
<attributes> | AttributeSelector[] | 1.1.0 | Change file and folder attributes using an Ant or Regex style file
matcher
<folders> <folder> <expression>/etc/hiapp/*</expression> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> <config>true</config> </folder> </folders> username is optional, default value = root |
<defaultDirectoryMode> | String | 1.0.0 | The mode to use for folders when there's no explicit mode set.
Specified using octal notation. Default value is: 0755. |
<defaultFileMode> | String | 1.0.0 | The mode to use for files when there's no explicit mode set.
Specified using octal notation. Default value is: 0644. |
<defaultGroupname> | String | 1.0.0 | The group name to use for files and folders when there's no
explicit group name set Default value is: root. |
<defaultUsername> | String | 1.0.0 | The username to use for files and folders when there's no explicit
username set Default value is: root. |
<dependencies> | Dependencies | 1.2.0 | Add the project's dependencies
<dependencies> <destination>/opt/lib/</destination> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> <type>maven</type> </dependencies> username is optional, default value = root
|
<depends> | String | 1.1.0 | The application's Debian package level dependencies |
<description> | String | 1.0.0 | The extended description Default value is: ${project.description}. |
<descriptionSynopsis> | String | 1.0.0 | The short description Default value is: ${project.name}. |
<finalName> | String | 1.0.1 | Name of the generated DEB. Default value is: ${project.build.finalName}. |
<folders> | FolderEntry[] | 1.0.0 | The folders that should be created and packaged.
<folders> <folder> <path>/var/log/hiapp/</path> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> </folder> </folders> username is optional, default value = root |
<homepage> | String | 1.1.0 | The application's homepage Default value is: ${project.url}. |
<links> | LinkEntry[] | 1.2.0 | The Symbolic links that should be created and packaged.
<links> <link> <path>/var/opt/data</path> <path>../../data</path> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> </link> </links> username is optional, default value = root |
<maintainer> | String | 1.0.0 | The maintainer information, if not specified the first developer
from the developer list is used or when that fails the value of the
user.name system property |
<packageName> | String | 1.1.0 | The application's Package name Default value is: ${project.artifactId}. |
<priority> | String | 1.1.0 | The application's priority |
<section> | String | 1.1.0 | The application's section |
<version> | String | 1.1.0 | The application's version, for SNAPSHOT versions, the SNAPSHOT part
is replaced with a sortable timestamp to avoid unexpected upgrade
behaviour Default value is: ${project.version}. |
<artifacts> <artifact> <groupId>be.hobbiton.app</groupid> <artifactId>hiapp</artifactid> <type>war</type> <classifier>jdk8</classifier> <destination>/opt/hiapp/</destination> </artifact> </artifacts>
type is optional, default value = jar classifier is optional, default no classifier
<folders> <folder> <expression>/etc/hiapp/*</expression> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> <config>true</config> </folder> </folders>
username is optional, default value = root
groupname is optional, default value = root
mode is optional, default value = 0755
config marks the matching files as conffile, it is optional,
default false
one of username, groupname or mode should be specified or config
should be true
<dependencies> <destination>/opt/lib/</destination> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> <type>maven</type> </dependencies>
username is optional, default value = root
groupname is optional, default value = root
mode is optional, default value = 0755
type is optional, default value = maven
type can be:
<folders> <folder> <path>/var/log/hiapp/</path> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> </folder> </folders>
username is optional, default value = root
groupname is optional, default value = root
mode is optional, default value = 0755
<links> <link> <path>/var/opt/data</path> <path>../../data</path> <username>hiuser</username> <groupname>wheel</groupname> <mode>0700</mode> </link> </links>
username is optional, default value = root
groupname is optional, default value = root
mode is optional, default value = 0644