Cicd documentation layout


What Is meant by Dependency Management?



Download 6.25 Mb.
Page14/39
Date15.06.2023
Size6.25 Mb.
#61535
1   ...   10   11   12   13   14   15   16   17   ...   39
CIcd

5.2. What Is meant by Dependency Management?


  • Downloading dependency and transitive dependency jars and adding them to our projects class path is known as dependency management.

  • Before maven dependency management was a tedious task, by using maven this task is simple and easy.

5.3. Explanation about Maven pom.xml:


  • Maven completely works on POM.XML file.

  • Without this file, maven cannot do anything

  • Pom.xml is the core configuration file maven depends on, without this file maven can’t perform any tasks.

  • Pom.xml is kept in the project’s root directory.

Contents of POM.XML: Xml is a configuration code file which stores or configuration data or transfers information from one to another software apps [it contains start and end tags].
GroupId: Represents the company/Client for whom we are developing this project.

  • Technically this can contain any value, but according to developer’s convention it must be reverse domain name of the client.

com.yara
ArtifactId: Represents project name.
content
PackagingId: The software package that needs to be created when we build.
war

  • Jar-Collection of classes

  • War- Collection of jars and web applications

Version: Represents version of a project.
Current version number
Dependencies: Contains details of the dependency

Group, artifact, version

Plugins: It is a extra feature to the tool
:
:
:

5.4. Maven Repositories:


  • Maven repository is a server where maven manages all jar files.

  • Maven deals with three repositories:


  1. Download 6.25 Mb.

    Share with your friends:
1   ...   10   11   12   13   14   15   16   17   ...   39




The database is protected by copyright ©ininet.org 2024
send message

    Main page