Blog Archives

Maven assembly & Shade plugins examples & uber jar creation

Maven assembly plugin is primarily intended to allow users to aggregate the project output along with its dependencies, modules, site documentation, and other files into a single distribution archive like zip, tar, tar.gz, war, etc. Another example where this is handy is to create deployable files for different environments like myapp-1.10-SNAPSHOT-dev.zip,

Read more ›



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.

Read more ›



800+ Java Interview Q&As Menu

Top