...

Mobile App Development - Maven

Back to Course

Lesson Description


Lession - #410 Maven Site Lifecycle


Maven Site Lifecycle Phases

pre-site
site
post-site
site-send Calling one phase of the site lifecycle brings about the execution of all phases up to an including that phase. Assuming we execute a "mvn site" order, we will execute the pre-site and site stages. On the off chance that we play out a "mvn site-send", we will execute the pre-site, site, post-site, and site-deloy stages.

The expert "site:site" objective is normally bound to the site stage, and the expert "site:deploy" objective is bound to the site-send stage. The pre-site and post-site stages normally aren't utilized, however they can be used to perform and sort of pre-documentation or post-documentation undertakings, and the post-site stage might actually be utilized for any errands expected before a site sending.

In typical use, you'll play out a "mvn clean site" to clean an undertaking and create new documentation, and you'll play out a "mvn clean site-send" to clean a venture, produce a site, and convey that site. The "perfect" stage is really a stage in the clean lifecycle, which tidies up the form (target>
catalog, which as a rule comprises of erasing the substance of the objective registry. In this way, a "mvn clean site" really plays out the pre-perfect and clean periods of the clean lifecycle and afterward plays out the pre-site and site periods of the site lifecycle. A "mvn clean site-send" plays out the pre-perfect and clean periods of the clean lifecycle followed by the pre-site, site, post-site, and site-convey periods of the site lifecycle.

Site life cycle