Name the 3 build lifecycle of maven.
Answer / Jagdeesh Chandra Kesharwani
The three main build lifecycles in Apache Maven are: Default, Site, and Clean. The Default lifecycle includes phases for compiling source code, running tests, and packaging the application. The Site lifecycle is used for generating project documentation and reports. The Clean lifecycle, as mentioned earlier, cleans up all output directories.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the main advantages of maven?
What is the pom packaging in maven?
What would the command mvn clean do?
How does maven look for a dependency or resource?
What is a transitive dependency in maven?
Where do you find the class files when you compile a Maven project?
What is a goal in maven terminology?
How maven handles and determines what version of dependency will be used when multiple versions of an artifact are found?
What are the repositories in maven?
Name the 3 build lifecycle of maven.
What is a cyclic dependency?
List all the dependency scope in maven.