How to assemble a zip using Maven?

Hello dear programmers! I had never used mavrom and while for me it is the dark forest. There is a Maven project with the dependencies of asciidoc, which in the Assembly generates a pdf file. I this file wrapped in a zip artifact, so I could use it as a dependency. I enclose pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelversion>4.0.0</modelversion>
<parent>
<groupid>com.imc.dynamic</groupid>
<artifactid>dynamic</artifactid>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactid>doc</artifactid>
<packaging>pom</packaging>

the <properties>
<asciidoctor.maven.plugin.version>1.5.3</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>1.5.0-alpha.11</asciidoctorj.pdf.version>
<asciidoctorj.version>1.5.4</asciidoctorj.version>
<jruby.version>1.7.21</jruby.version>
</properties>
<build>
<plugins>
<plugin>
<groupid>org.asciidoctor</groupid>
<artifactid>asciidoctor-maven-plugin</artifactid>
 <version>${asciidoctor.maven.plugin.version}</version> 
<dependencies>
<dependency>
<groupid>org.asciidoctor</groupid>
<artifactid>asciidoctorj-pdf</artifactid>
<version>${asciidoctorj.pdf.version}</version>
</dependency>
 <!-- Comment this section to use the default jruby artifact provided by the plugin -->
<dependency>
<groupid>org.jruby</groupid>
<artifactid>jruby-complete</artifactid>
<version>${jruby.version}</version>
</dependency>
 <!-- Comment this section to use the default AsciidoctorJ artifact provided by the plugin -->
<dependency>
<groupid>org.asciidoctor</groupid>
<artifactid>asciidoctorj</artifactid>
<version>${asciidoctorj.version}</version>
</dependency>
<dependency>
<groupid>org.slf4j</groupid>
<artifactid>slf4j-api</artifactid>
<version>1.7.7</version>
</dependency>
<dependency>
<groupid>ch.qos.logback</groupid>
<artifactid>logback-classic</artifactid>
<version>1.1.3</version>
</dependency>
<dependency>
<groupid>ch.qos.logback</groupid>
<artifactid>logback-core</artifactid>
<version>1.1.3</version>
</dependency>
</dependencies>
<executions>
<execution>
 <id>output-html</id> 
 <phase>generate-resources</phase> 
<goals>
 <goal>process-asciidoc</goal> 
</goals>
 </execution> 
</executions>
<configuration>
<sourcedocumentname>Main_Adoc.adoc</sourcedocumentname>
<backend>pdf</backend>
<doctype>book</doctype>
</configuration>
</plugin>
</plugins>
</build>
</project>
July 9th 19 at 13:08

Find more questions by tags JavaApache Maven