Maven assembly plugin examples

This extends the Maven assembly plugin with additional examples to create an assembly by controlling what artifacts get included in the archive.

Example 1: dev-assembly.xml

The datasource and properties files are packaged for DEV environment.

Example 2: dev-assembly.xml

Control what maven dependency jars and class files are included in the archive.

Example 2: dev-assembly.xml

to include all the jar dependencies in the pom.xml, but exclude some

Example 3

The power of includes and excludes. In this example, the whole spring libraries were included from the pom, and out of the inclusions some were excluded.


Java Developer Interview Q&As

800+ Java Interview Q&As

Top