The phase of the package is responsible to bundle the files into an artefact. We are creating the jar file using the mvn package command. ![]() Using it, jar is the default package which was required to set. * start of version section */ name of version - End of version section * start of artifactId section */ core - End of artifactId section * start of groupid section */ name of groupid - End of groupid section * start of model version section */ 4.0.0 - start of model version section We are creating a maven jar file with the use of the following content.īelow is the basic file syntax to create pom.xml. Basically, the maven jar will provide build jar capability. We can also alter the default content from the manifest file by using the element of archive configuration. If suppose we need to add this details into the file then we are defining the same manually. ![]() The apache version 2.1 jar plugin will use the maven Archiver 2.1, so from this version, we have no need to add the implementation and specification details into the manifest file. We are storing this manifest file into the project directory path. It will allow us to use the default manifest file. Web development, programming languages, Software testing & othersīelow are the apache maven assembly plugin version available for the general use. ![]() Start Your Free Software Development Course
0 Comments
Leave a Reply. |