Thanks for the patience pls share with friends
Download 1.91 Mb. Pdf ko'rish
|
devops-1
Ant
Maven Ant is a tool box. Maven is a framework. There is no life cycle. There is life cycle. 22/71 Ant doesn't have formal Maven has a convention to place source code, compiled code conventions. etc. Ant is procedural. Maven is declarative. The ant scripts are not reusable. The maven plugins are reusable. Question: What is POM In Maven? A Project Object Model (POM) provides all the configuration for a single project. General configuration covers the project's name, its owner and its dependencies on other projects. One can also configure individual phases of the build process, which are implemented as plugins. For example, one can configure the compiler-plugin to use Java version 1.5 for compilation, or specify packaging the project even if some unit tests fail. Larger projects should be divided into several modules, or sub-projects, each with its own POM. One can then write a root POM through which one can compile all the modules with a single command. POMs can also inherit configuration from other POMs. All POMs inherit from the Super POM by default. The Super POM provides default configuration, such as default source directories, default plugins, and so on. Question: What Is Maven Archetype? Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. Question: What Is Maven Artifact? In Maven artifact is simply a file or JAR that is deployed to a Maven repository. An artifact has -Group ID -Artifact ID -Version string. The three together uniquely identify the artifact. All the project dependencies are specified as artifacts. Question: What Is Goal In Maven? In Maven a goal represents a specific task which contributes to the building and managing 23/71 of a project. It may be bound to 1 or many build phases. A goal not bound to any build phase could be executed outside of the build lifecycle by its direct invocation. Question: What Is Build Profile? In Maven a build profile is a set of configurations. This set is used to define or override default behaviour of Maven build. Build profile helps the developers to customize the build process for different environments. For example you can set profiles for Test, UAT, Pre-prod and Prod environments each with its own configurations etc. Question: What Are Build Phases In Maven? There are 6 build phases. -Validate -Compile -Test -Package -Install -Deploy Question: What Is Target, Source & Test Folders In Mavn? Download 1.91 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling