In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “
…
In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “
…
Profiles are very handy in maven to use different JDK versions, include different files for different environments, etc.
Step 1: Say you have a pom.xml file using Java 7 to compile.
…
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,
…
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.
…
Enterprise projects will have multi maven modules.
Step 1: Create simple-app-parent is a package of type “pom”
press “Y” for all the questions.
Step 2: cd into your newly created root dir “simple-app-parent”
…
This extends Part 1: Creating an empty multi module maven project structure.
Dependency Management allows you to consolidate and centralize the management of dependency versions without adding dependencies which are inherited by all children.
…
This extends Part 1: Creating an empty multi module maven project structure and Part 2- Adding dependency jars to multi-module MVN project. The “pluginManagement” defines the settings for plugins that will be inherited by modules in your build.
…