How Maven works is, if you run a command for any of the lifecycle phases, it executes each default life cycle phase in order, before executing the command itself. Now that we have Maven setup, let's dig deeper into the features of Maven. deploy - done in the build environment, copies the final package to the remote repository for sharing with other developers and projects.
VIRTUALBOX MAC OS HIGH SIERRA ISO MAC OS X
package - take the compiled code and package it in its distributable format, such as a JAR. For people with the black screen problem or Guro Meditation error, change operating system version from macOS 10.13 High Sierra (64-bit) or macOS 10.12 Sierra (64-bit) to just the Mac OS X (64-bit) and If didn’t work then settle the Video Memory Size to 128 MB from Virtual machine settings.These tests should not require the code be packaged or deployed test - test the compiled source code using a suitable unit testing framework.compile - compile the source code of the project.validate - validate the project is correct and all necessary information is available.These are the default life cycle phases in maven What clean does (common in both the commands) - removes all files generated by the previous buildĬoming to the difference between the commands package and install, you first need to understand the lifecycle of a maven project