In this session you will learn about below concepts
𝟭. 𝗠𝗮𝘃𝗲𝗻 𝗣𝗿𝗼𝗷𝗲𝗰𝘁/𝗗𝗶𝗿𝗲𝗰𝘁𝗼𝗿𝘆 𝗦𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲
𝟮. 𝗽𝗼𝗺.𝘅𝗺𝗹 𝗳𝗶𝗹𝗲
𝟯. 𝗦𝗮𝗺𝗽𝗹𝗲 𝗠𝗮𝘃𝗲𝗻 𝗽𝗿𝗼𝗷𝗲𝗰𝘁 𝗖𝗿𝗲𝗮𝘁𝗶𝗼𝗻
What is there in pom.xml
A Project Object Model or POM is the fundamental unit of work in Maven
It is an XML file that contains information about the project and configuration details
When executing a task or goal, Maven looks for the POM in the current directory
It reads the POM, gets the needed configuration information, then executes the goal
The minimum requirement for a POM are the following:
project root
modelVersion - should be set to 4.0.0
groupId - the id of the project's group.
artifactId - the id of the artifact (project)
version - the version of the artifact under the specified group
Dependencies
Plugins
Goals
Profiles
Properties
Packaging's
Results path
What to execute
Configurations
Build
Folder
src/main/java
.java files, utilities, functions/methods, libraries, [ Java Classes ]
This folder is included in the final packaging of JAR/WAR [ Business Logic ]
src/main/test
Test Cases – Unit Test Cases, Automation Test Cases, [ Test Classes - JUNIT/TESTNG ]
This folder is NOT included in the final packaging of Jar/War
src/main/resource
Configuration files - .properties files, .xml files, .txt files, .exe files, .bat files [ For Dev ]
src/test/resources
Configuration files - .properties files, .xml files, .txt files, .exe files, .bat files [ For Testers ]
Example : testng.xml files, config.properties
target
.jar file/.zip file – [ For Packaging ]
pom.xml
Properties, Dependencies, Build, Plugins, Phases, Goals
Maven Dependencies]
Dependencies are downloaded in to this folder in the form of jar files
GitHub Repo for Programs Download
https://github.com/knowledgeshare-tec...
Step by Step Selenium Learning Playlist
• Selenium
Please Join Facebook Group from below link
/ 4754296501308288
**************************************************
Refer Module wise playlist for easy learning
**************************************************
Module -1
• Selenium - Module_1
Module -2
• Selenium - Module_2
Module -3
• Selenium - Module_3
Module – 4
• Selenium - Module_4
Module – 5
• Selenium - Module_5
Module -6
• Selenium - Module_6