Create Package
To assemble Accelerator Package, you can use the Maven assembly plugin at http://maven.apache.org/plugins/maven-assembly-plugin/.
Example:
Basic assembly descriptor (produces the Accelerator Package structure):
<?xml version="1.0"?>
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
   <id>accelerator</id>
   <formats>
       <format>jar</format>
   </formats>
   <includeBaseDirectory>false</includeBaseDirectory>
   <fileSets>
       <fileSet>
           <directory>${basedir}</directory>
           <outputDirectory>/</outputDirectory>
           <includes>
               <include>pom.xml</include>
               <include>steps.json</include>
               <include>definition/</include>
               <include>data/</include>
           </includes>
       </fileSet>
   </fileSets>
</assembly>
Assembly plugin in the pom.xml build.plugins section:
<plugin>
 <!-- disable default jar creation -->
 <artifactId>maven-jar-plugin</artifactId>
 <executions>
     <execution>
         <id>default-jar</id>
         <phase>none</phase>
     </execution>
 </executions>
</plugin>
<plugin>
 <artifactId>maven-assembly-plugin</artifactId>
 <version>3.2.0</version>
 <configuration>
     <descriptors>
         <descriptor>src/assembly/accelerator.xml</descriptor>
     </descriptors>
     <finalName>${project.build.finalName}</finalName>
     <appendAssemblyId>false</appendAssemblyId>
 </configuration>
 <executions>
     <execution>
         <id>make-assembly</id>
         <phase>package</phase>
         <goals>
<goal>single</goal>
         </goals>
     </execution>
 </executions>
</plugin>
Â
Assembly plugin call on the command line:
mvn package
Or you can call the assembly plugin:
This assembly configuration produces the file: target/accelerator-date-utils-1.1.0.jar.
PlatformManager version 1.75.0