Skip to main content

Posts

Showing posts with the label assembly plugin

Multi Module Maven Project Using Assembly Plugin

  Maven is a very flexible and powerful technology. Anyone in Java software industry is suggested to make use of it. This document will describe multi module maven project. Assembly plugin is used to merge outputs of modules into one jar. Provided project is a full fledged Java project which uses spring framework for dependency injection, hibernate for ORM. The project comes with several basic classes to make use of the project architecture and show use of some usefull patterns. All project files are attached to the end of this document. 1.        Parent Pom Lists all submodules and uses maven-assembly-module. <? xml   version = "1.0"   encoding = "UTF-8"   standalone = "no" ?> <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/...