diff --git a/pom.xml b/pom.xml
index a10e855db..f7bb6a9d6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,19 +14,23 @@
clearing-parent
platform-parent
+ z-distr
- 11
- 11
+ 17
+ 17
utf-8
- 11
+ 17
Maven
SPCEX-1.0.0.0
2.3.12.RELEASE
+
+ ${folder_root_clearing_temp}
+ ${folder_root_clearing}/clearing-parent/backend-api
3.12.4
@@ -165,6 +169,23 @@
+
+ org.commonjava.maven.plugins
+ directory-maven-plugin
+ 0.3.1
+
+
+ directories
+
+ highest-basedir
+
+ validate
+
+ folder_root_clearing_temp
+
+
+
+
\ No newline at end of file
diff --git a/z-distr/pom.xml b/z-distr/pom.xml
new file mode 100644
index 000000000..cb9c71113
--- /dev/null
+++ b/z-distr/pom.xml
@@ -0,0 +1,147 @@
+
+
+
+ clearing
+ ru.spcex.clearing
+ SPCEX-1.0.0.0
+
+ 4.0.0
+
+ z-distr
+
+
+ 11
+ 11
+ ${project.basedir}/target/clearing
+ ${project.basedir}/target/clearing/modules
+
+
+
+
+ ru.spcex.clearing
+ backend-api
+
+
+
+
+
+ distr
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-clean-plugin
+
+
+ auto-clean
+ initialize
+
+ clean
+
+
+
+
+ ${project.basedir}/target/clearing
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+
+ distr--copy-resources
+ prepare-package
+
+ copy-resources
+
+
+ ${folder.clearing.distr}
+ ${project.build.sourceEncoding}
+
+
+ src/main/resources/distr
+
+
+
+
+
+
+
+
+
+ com.coderplus.maven.plugins
+ copy-rename-maven-plugin
+ 1.0.1
+
+
+ copy-backend-api-bin
+ prepare-package
+
+ copy
+
+
+ ${folder_root_clearing_backend-api}/target/backend-api.jar
+
+ ${folder.clearing.distr.modules}/backend-api/backend-api.jar
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+
+
+ src/main/assembly/zip-distr.xml
+
+ clearing
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
+
+
+
+
+ coverage
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+
+
+ report-aggregate
+ verify
+
+ report-aggregate
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/z-distr/src/main/assembly/assembly-1.1.0.xsd b/z-distr/src/main/assembly/assembly-1.1.0.xsd
new file mode 100644
index 000000000..40c08b5da
--- /dev/null
+++ b/z-distr/src/main/assembly/assembly-1.1.0.xsd
@@ -0,0 +1,1303 @@
+
+
+
+
+ 1.0.0+
+
+
+ An assembly defines a collection of files usually distributed in an
+ archive format such as zip, tar, or tar.gz that is generated from a
+ project. For example, a project could produce a ZIP assembly which
+ contains a project's JAR artifact in the root directory, the
+ runtime dependencies in a lib/ directory, and a shell script to launch
+ a stand-alone application.
+
+
+
+
+
+
+ 1.0.0+
+
+
+ An assembly defines a collection of files usually distributed in an
+ archive format such as zip, tar, or tar.gz that is generated from a
+ project. For example, a project could produce a ZIP assembly which
+ contains a project's JAR artifact in the root directory, the
+ runtime dependencies in a lib/ directory, and a shell script to launch
+ a stand-alone application.
+
+
+
+
+
+
+ 1.0.0+
+
+ Sets the id of this assembly. This is a symbolic name for a
+ particular assembly of files from this project. Also, aside from
+ being used to distinctly name the assembled package by attaching
+ its value to the generated archive, the id is used as your
+ artifact's classifier when deploying.
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies the formats of the assembly. Multiple formats can be
+ supplied and the Assembly Plugin will generate an archive for each
+ desired formats. When deploying your project, all file formats
+ specified will also be deployed. A format is specified by supplying
+ one of the following values in a <format> subelement:
+ <ul>
+ <li><b>"zip"</b> - Creates a ZIP file format</li>
+ <li><b>"gz"</b> - Creates a GZIP format</li>
+ <li><b>"tar"</b> - Creates a TAR format</li>
+ <li><b>"tar.gz"</b> - Creates a gzip'd TAR format</li>
+ <li><b>"tar.bz2"</b> - Creates a bzip'd TAR format</li>
+ </ul>
+
+
+
+
+
+
+
+
+
+
+
+ 0.0.0+
+
+ Includes a base directory in the final archive. For example,
+ if you are creating an assembly named "your-app", setting
+ includeBaseDirectory to true will create an archive that
+ includes this base directory. If this option is set to false
+ the archive created will unzip its content to the current
+ directory. Default value is true.
+
+
+
+
+
+ 1.1.0
+
+ Sets the base directory of the resulting assembly archive. If this is not
+ set and includeBaseDirectory == true, ${project.build.finalName} will be used instead.
+ (Since 2.2)
+
+
+
+
+
+ 0.0.0+
+
+ Includes a site directory in the final archive. The site directory
+ location of a project is determined by the siteDirectory parameter
+ of the Assembly Plugin. Default value is false.
+
+
+
+
+
+ 1.1.0
+
+
+ Set of components which filter various container descriptors out of
+ the normal archive stream, so they can be aggregated then added.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies which module files to include in the assembly. A moduleSet
+ is specified by providing one or more of <moduleSet>
+ subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies which groups of files to include in the assembly. A
+ fileSet is specified by providing one or more of <fileSet>
+ subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies which single files to include in the assembly. A file
+ is specified by providing one or more of <file>
+ subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies which dependencies to include in the assembly. A
+ dependencySet is specified by providing one or more of
+ <dependencySet> subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies which repository files to include in the assembly. A
+ repository is specified by providing one or more of
+ <repository> subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies the shared components xml file locations to include in the
+ assembly. The locations specified must be relative to the basedir of
+ the project. When multiple componentDescriptors are found, their
+ contents are merged. Check out the <a href="component.html">
+ descriptor components</a> for more information. A
+ componentDescriptor is specified by providing one or more of
+ <componentDescriptor> subelements.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.1.0
+
+ Configures a filter for files headed into the assembly archive, to enable
+ aggregation of various types of descriptor fragments, such as components.xml,
+ web.xml, etc.
+
+
+
+
+
+ 1.1.0
+
+ The handler's plexus role-hint, for lookup from the container.
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Defines a Maven repository to be included in the assembly. The artifacts
+ available to be included in a repository are your project's dependency
+ artifacts. The repository created contains the needed metadata entries
+ and also contains both sha1 and md5 checksums. This is useful for creating
+ archives which will be deployed to internal repositories.
+
+ <br/><b>NOTE:</b> Currently, only artifacts from the central repository
+ are allowed.
+
+
+
+
+
+
+ 1.0.0+
+
+ If set to true, this property will trigger the creation of repository
+ metadata which will allow the repository to be used as a functional remote
+ repository. Default value is false.
+
+
+
+
+
+ 1.0.0+
+
+
+ Specifies that you want to align a group of artifacts to a specified
+ version. A groupVersionAlignment is specified by providing one or
+ more of <groupVersionAlignment> subelements.
+
+
+
+
+
+
+
+
+
+
+
+ 1.1.0
+
+ Specifies the scope for artifacts included in this repository.
+ Default scope value is "runtime". (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <include> subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ <excludes> represents no exclusions.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+ Allows a group of artifacts to be aligned to a specified version.
+
+
+
+
+
+ 1.0.0+
+
+ The groupId of the artifacts for which you want to align the
+ versions.
+
+
+
+
+
+ 1.0.0+
+
+ The version you want to align this group to.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define the
+ artifactIds of the artifacts to exclude. If none is present, then
+ <excludes> represents no exclusions. An exclude is specified
+ by providing one or more of <exclude> subelements.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+ A file allows individual file inclusion with the option to change
+ the destination filename not supported by fileSets.
+
+
+
+
+
+ 1.0.0+
+
+ Sets the absolute or relative path from the module's directory
+ of the file to be included in the assembly.
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+ Sets the destination filename in the outputDirectory.
+ Default is the same name as the source's file.
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Sets the line-endings of the files in this file.
+ Valid values are:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+
+
+
+
+
+ 1.0.0+
+
+ Sets whether to determine if the file is filtered.
+
+
+
+
+
+
+
+ 1.0.0+
+
+ A fileSet allows the inclusion of groups of files into the assembly.
+
+
+
+
+
+ 1.0.0+
+
+ Sets the absolute or relative location from the module's
+ directory. For example, "src/main/bin" would select this
+ subdirectory of the project in which this dependency is defined.
+
+
+
+
+
+ 1.0.0+
+
+
+ Sets the line-endings of the files in this fileSet.
+ Valid values:
+ <ul>
+ <li><b>"keep"</b> - Preserve all line endings</li>
+ <li><b>"unix"</b> - Use Unix-style line endings</li>
+ <li><b>"lf"</b> - Use a single line-feed line endings</li>
+ <li><b>"dos"</b> - Use DOS-style line endings</li>
+ <li><b>"crlf"</b> - Use Carraige-return, line-feed line endings</li>
+ </ul>
+
+
+
+
+
+
+ 1.1.0
+
+ Whether to filter symbols in the files as they are copied, using
+ properties from the build configuration. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <include> subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ <excludes> represents no exclusions.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ A moduleSet represent one or more project <module> present inside
+ a project's pom.xml. This allows you to include sources or binaries
+ belonging to a project's <modules>.
+
+ <br/><b>NOTE:</b> When using <moduleSets> from the command-line, it
+ is required to pass first the package phase by doing: "mvn package
+ assembly:assembly". This bug/issueId is scheduled to be addressed by Maven 2.1.
+
+
+
+
+
+
+ 1.1.0
+
+ If set to false, the plugin will exclude sub-modules from processing in this ModuleSet.
+ Otherwise, it will process all sub-modules, each subject to include/exclude rules.
+ Default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+
+ This is a list of <include/> subelements, each containing a
+ module reference of the type groupId:artifactId. Modules matching
+ these elements will be included in this set. If none is present,
+ then <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ This is a list of <exclude/> subelements, each containing a
+ module reference of the type groupId:artifactId. Modules matching
+ these elements will be excluded from this set.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+ When this is present, the plugin will include the source files of
+ the included modules from this set in the resulting assembly.
+
+
+
+
+
+ 1.0.0+
+
+ When this is present, the plugin will include the binaries of the
+ included modules from this set in the resulting assembly.
+
+
+
+
+
+
+
+ 1.0.0+
+
+ Contains configuration options for including the source files of a
+ project module in an assembly.
+
+
+
+
+
+ 1.1.0
+
+
+ Specifies which groups of files from each included module to include in the assembly. A
+ fileSet is specified by providing one or more of <fileSet> subelements. (Since 2.2)
+
+
+
+
+
+
+
+
+
+
+
+ 1.1.0
+
+
+ Specifies whether the module's finalName should be prepended to the outputDirectory
+ values of any fileSets applied to it. Default value is true. (Since 2.2)
+
+
+
+
+
+
+ 1.1.0
+
+
+ Specifies whether sub-module directories below the current module should be excluded
+ from fileSets applied to that module. This might be useful if you only mean to copy
+ the sources for the exact module list matched by this ModuleSet, ignoring (or processing
+ separately) the modules which exist in directories below the current one.
+ Default value is true. (Since 2.2)
+
+
+
+
+
+
+ 1.1.0
+
+ Sets the mapping pattern for all module base-directories included in this assembly.
+ NOTE: This field is only used if includeModuleDirectory == true.
+ Default is the module's ${artifactId} in 2.2-beta-1, and ${module.artifactId} in subsequent versions. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <include> subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ <excludes> represents no exclusions.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+ Contains configuration options for including the binary files of a
+ project module in an assembly.
+
+
+
+
+
+ 1.1.0
+
+ When specified, the attachmentClassifier will cause the assembler to look at artifacts
+ attached to the module instead of the main project artifact. If it can find an attached
+ artifact matching the specified classifier, it will use it; otherwise, it will throw an
+ exception. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ If set to true, the plugin will include the direct and transitive dependencies of
+ of the project modules included here. Otherwise, it will only include the module
+ packages only. Default value is true.
+
+
+
+
+
+ 1.1.0
+
+
+ Specifies which dependencies of the module to include in the assembly. A
+ dependencySet is specified by providing one or more of
+ <dependencySet> subelements. (Since 2.2)
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+ If set to true, this property will unpack all module packages
+ into the specified output directory. When set to false
+ module packages will be included as archives (jars).
+ Default value is true.
+
+
+
+
+
+ 1.1.0
+
+ Allows the specification of includes and excludes, along with filtering options, for items
+ unpacked from a module artifact. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the mapping pattern for all dependencies included
+ in this assembly.
+ Default is ${module.artifactId}-${module.version}${dashClassifier?}.${module.extension}.
+ (Since 2.2-beta-2; 2.2-beta-1 uses ${artifactId}-${version}${dashClassifier?}.${extension})
+
+
+
+
+
+ 1.1.0
+
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <include> subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ <excludes> represents no exclusions.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+
+
+ 1.1.0
+
+ Specifies options for including/excluding/filtering items extracted from an archive. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Set of patterns for matching items to be included from an archive as it is unpacked. (Since 2.2)
+
+
+
+
+
+
+
+
+
+
+ 1.1.0
+
+ Set of patterns for matching items to be excluded from an archive as it is unpacked. (Since 2.2)
+
+
+
+
+
+
+
+
+
+
+ 1.1.0
+
+ Whether to filter symbols in the files as they are unpacked from the archive, using
+ properties from the build configuration. (Since 2.2)
+
+
+
+
+
+
+
+ 1.0.0+
+
+ A dependencySet allows inclusion and exclusion of project dependencies
+ in the assembly.
+
+
+
+
+
+ 1.0.0+
+
+ Sets the mapping pattern for all dependencies included in this
+ assembly. Default is ${artifact.artifactId}-${artifact.version}${dashClassifier?}.${artifact.extension}.
+ (Since 2.2-beta-2; 2.2-beta-1 uses ${artifactId}-${version}${dashClassifier?}.${extension})
+
+
+
+
+
+ 1.0.0+
+
+ If set to true, this property will unpack all dependencies
+ into the specified output directory. When set to false
+ dependencies will be includes as archives (jars). Can only unpack
+ jar, zip, tar.gz, and tar.bz archives. Default value is false.
+
+
+
+
+
+ 1.1.0
+
+ Allows the specification of includes and excludes, along with filtering options, for items
+ unpacked from a dependency artifact. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the dependency scope for this dependencySet.
+ Default scope value is "runtime".
+
+
+
+
+
+ 1.1.0
+
+ Determines whether the artifact produced during the current project's
+ build should be included in this dependency set. Default value is true,
+ for backward compatibility. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Determines whether the attached artifacts produced during the current project's
+ build should be included in this dependency set. Default value is false. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Determines whether transitive dependencies will be included in the processing of
+ the current dependency set. If true, includes/excludes/useTransitiveFiltering
+ will apply to transitive dependency artifacts in addition to the main project
+ dependency artifacts. If false, useTransitiveFiltering is meaningless, and
+ includes/excludes only affect the immediate dependencies of the project.
+ By default, this value is true. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Determines whether the include/exclude patterns in this dependency set will be applied to
+ the transitive path of a given artifact. If true, and the current artifact is a transitive
+ dependency brought in by another artifact which matches an inclusion or exclusion pattern,
+ then the current artifact has the same inclusion/exclusion logic applied to it as well. By
+ default, this value is false, in order to preserve backward compatibility with version 2.1.
+ This means that includes/excludes only apply directly to the current artifact, and not to
+ the transitive set of artifacts which brought it in. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ When specified as true, any include/exclude patterns which aren't used to filter an actual
+ artifact during assembly creation will cause the build to fail with an error. This is meant
+ to highlight obsolete inclusions or exclusions, or else signal that the assembly descriptor
+ is incorrectly configured. (Since 2.2)
+
+
+
+
+
+ 1.1.0
+
+ Whether standard exclusion patterns, such as those matching CVS and Subversion
+ metadata files, should be used when calculating the files affected by this set.
+ For backward compatibility, the default value is true. (Since 2.2)
+
+
+
+
+
+ 1.0.0+
+
+ Sets the output directory relative to the root
+ of the root directory of the assembly. For example,
+ "log" will put the specified files in the log directory.
+
+
+
+
+
+ 1.0.0+
+
+
+ When <include> subelements are present, they define a set of
+ files and directory to include. If none is present, then
+ <includes> represents all valid values.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ When <exclude> subelements are present, they define a set of
+ files and directory to exclude. If none is present, then
+ <excludes> represents no exclusions.
+
+
+
+
+
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the file mode of the files included.
+ Format: (User)(Group)(Other) where each component is a sum of Read = 4,
+ Write = 2, and Execute = 1. For example, the value 0644
+ translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+ 1.0.0+
+
+
+ Similar to a UNIX permission, sets the directory mode of the directories
+ included. Format: (User)(Group)(Other) where each component is a sum of
+ Read = 4, Write = 2, and Execute = 1. For example, the value
+ 0755 translates to User read-write, Group and Other read-only.
+ <a href="http://www.onlamp.com/pub/a/bsd/2000/09/06/FreeBSD_Basics.html">(more on unix-style permissions)</a>
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/z-distr/src/main/assembly/zip-distr.xml b/z-distr/src/main/assembly/zip-distr.xml
new file mode 100644
index 000000000..140af671a
--- /dev/null
+++ b/z-distr/src/main/assembly/zip-distr.xml
@@ -0,0 +1,14 @@
+
+ distributive
+ /
+
+ zip
+
+
+
+ ${project.build.directory}/clearing
+ clearing-distributive
+
+
+
\ No newline at end of file
diff --git a/z-distr/src/main/resources/distr/modules/backend-api/Dockerfile b/z-distr/src/main/resources/distr/modules/backend-api/Dockerfile
new file mode 100644
index 000000000..1ce623b61
--- /dev/null
+++ b/z-distr/src/main/resources/distr/modules/backend-api/Dockerfile
@@ -0,0 +1,43 @@
+FROM debian:stable-20220125
+
+
+###############################################################################################################################################
+# Global system deps
+###############################################################################################################################################
+
+RUN apt update \
+ && apt install apt-file -y \
+ && apt upgrade -y
+
+RUN apt install -y \
+ wget \
+ tzdata \
+ curl \
+ ca-certificates
+
+###############################################################################################################################################
+# Java
+###############################################################################################################################################
+
+ENV JAVA_VERSION jdk17.0.4+8
+
+RUN set -eux; \
+ ESUM='637a742591f75447eaab1f23942db038d411686f'; \
+ BINARY_URL='https://download.bell-sw.com/java/17.0.4+8/bellsoft-jdk17.0.4+8-linux-amd64.tar.gz'; \
+ curl -LfsSo /tmp/bellsoft-jdk.tar.gz ${BINARY_URL}; \
+ mkdir -p /opt/java/bellsoft-jdk; \
+ cd /opt/java/bellsoft-jdk; \
+ tar -xf /tmp/bellsoft-jdk.tar.gz --strip-components=1; \
+ rm -rf /tmp/bellsoft-jdk.tar.gz;
+
+RUN /opt/java/bellsoft-jdk/bin/java --version
+
+ENV JAVA_HOME=/opt/java/bellsoft-jdk/ \
+ PATH="/opt/java/bellsoft-jdk/bin:$PATH"
+
+RUN java --version
+#
+ADD backend-api.jar /deployments/backend-api.jar
+USER root
+RUN mkdir ./logs
+ENV JAVA_APP_JAR=backend-api.jar
diff --git a/z-distr/src/main/resources/distr/modules/sh/buid.sh b/z-distr/src/main/resources/distr/modules/sh/buid.sh
new file mode 100644
index 000000000..ce3510809
--- /dev/null
+++ b/z-distr/src/main/resources/distr/modules/sh/buid.sh
@@ -0,0 +1 @@
+docker build -t backend-api ../backend-api/
\ No newline at end of file