Learn Maven in 55 mins only || A quick overview on Maven || Classroom session

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so in maven what happens that JDK library that we have to everything should be there first of all to in fact to run your maven projects also we need Eureka we need Java development kit available it should be available on your machine but there are some external libraries also there dr. we have some language like once I believe me at selenium webdriver type which is available in the form of Java so latest library let's say 2.13 is already there and let's see this is a library name some other library let's see we have exchanging library we have some other library let's say Apache point a pas we have some other libraries like the sea we are using cucumber libraries we have let you do log4j it's also there some other libraries with you maybe some other XYZ library you are using something any expensi and i breeze you are using these libraries obviously we are working on java so everything will be a benevolent test indeed or jar a project Oh API on the jar files will be there will merge our files into their log fortune on jar file XYZ don't charge friends so everything selenium also provides all the jar files so everything will be there in the form of in charge bytes right and each and every memory is having its own version may be silly means having two point one three this change is having something that c 3.0 mine or some point you don't know you know something like that I'm just randomly giving some number right same thing for you to remember block for J and for X Y Z also let you from some point find X version is available or something like this each and every library is having its own version so what exactly we do define all these libraries in a maven project and all these libraries will be stored somewhere in your form dot XML file so this is your bounded XML file so former XML file is the heart of the program part of the project in which all the libraries we have defined lexicon this is a full format xml file this section is for dependency section and we have already seen that now what is the purpose of these dependencies why we are using this thing we can download our pens and we can use that also a normal Java project why you are using mimin so maven why we are using because it's having couple of advantages the first advantage is that dependency management tool automatically it will take care of your dependencies that's it you just need to give the latest version automatically it will download the things from internet because these libraries are available on the maven server in the industry and the market is already available in them that is for its centralized maven repository okay even repository and that is centralized which is freely available in the market by everyone and the lot of libraries are available in this particular repository we have testgen GB here J unit selenium remember PI API lock for J X Y Z so coolly on 20 blah blah there's so many libraries are available htmlunit driver ghost driver fine time care there are so many things are available over here okay for Java development point of view although they are using so many languages they're using hyper made they are using Spring Framework or n number of things they are using it's everything is available on these maven repository having some version name this is let's see this is version number one okay this is version number 1 this is node number 2 3 4 1 2 1 point 2 1 1 point 3 1 something like this each and every it's having its own Virgie and let's say this is selenium and selenium is having around 2 point 1 3 version is available and on the previous version also available dates on maven repository is a huge repository the selenium is started let's see from 0.1 till 2.13 all the different versions are available on this particular and even the concentrate centralized repository in baba Kate right so what exactly you just pass the version name hg1 1.53 it will pick 1.53 from here so all the repositories are available okay according to their version so they are maintaining the versioning also in maven depository over here and we are not bothering about it who is taking care of all those things that's a separate module depository taken care by it may be some organization or maybe some centralized repository is created tomorrow in fact you are the let's see Naveen sitting over here in India Bangkok and this guy created some cool or API or cool framework or something like this I just create I convert into my I can order into multiple job - and then you are fine and I magister my you know register my tool or AP over here so let's say this is my Italy every multiple jar files on it this is my ap so who did that I mean did that this does it similarly there are number of contributors are available in the market they are releasing their restaurant a TV or HDTV client or blah blah blah so many things are there nowadays ok but this maven depositor is only a movie for Java let's see so they have given everything over here so you want let's the XLS reader I can wander into jar file and I can put it over here with some name or margin number so you just need to add an amine excellence jar file over here ok in the form of dependency which will be built from here from this particular maven depository right so this is a second advantage that you can create your own deposit ready tomorrow let's see Carly Anning is creating some different repository of some fun to tool you are craving and you wanted okay a community and and all the automation in dunya they want they should use that it's freely available open source so all the open source jar files are available over there this is what I try to say and then she will circulate into social media that okay see this is this is a cool stuff I have created please use it something like this if any bug fixes are there you will be releasing next version 1.02 2.0 3.0 4.0 and you will keep adding new features and you will keep adding enhancing the framework and enhancing the bugs and I mean fixing the bugs and everything and then you will keep giving the new versions or to the community in the form of favorite maven repository so that she'll be always these there are so many versions are available why selenium to open one trees available maybe they have fixed couple of issues or maybe they have given some new features right so the stamina is I'm getting invested yeah sorry guys so this is an advantage okay I can create my own and all these depository I can access in my project and this is my project somewhere and trading here in Bangor and my eclipse I can use it but make sure that okay you are connected over the Internet otherwise you won't be able to do that make sure that okay because this is the sender is it positively if you are making them connection with these days right make sure they're talking you are having internet with you so and add all the dependents over here I will get all the jar files in the project step in maven intimately it will create one folder that folders one dot m2 folder dot m2 voltar internally it will be available over here in this particular folder lies all the dependencies jar files will be stored all the jar files will be stored over the selenium phi api remember whatever the dependence is you have given in your project all the files will be stored over here and the moment you create the project what whenever it is a whatever required jar files are available it will pick from this dot m to folder and then it will be used at your project level right so this is the second thing third thing is that maven lifecycle now what we do that maven each having its own life cycle first it will initialize so three four steps are there first it will finish line this is called initialization second thing is called it is compiling it will come by right and then scope and then run it and then end so this is the basic life cycle of maven they will ask you a time of interview that it will initialize then if you compile it will define the scope and then it will run it and then it will end the program or something like that and all these things are happening through some plugins so some plugins are available so we have different plugins we have combined compiler plugin okay we have surefire plug-in okay so I'll tell you what is the purpose of compiler plugin in Java plug-in when these things so these are the plugins are also a little bit right so we have the pregnancy section we have this is called plug-in section in your form but XML file in everything associated with your project make sure that we you are connected to the Internet to download all these jar files with you liked it so let's create one maven project and then I already told you how to create wave and project as guru you click on project and select my own pocket click on next click on next so here I am giving the tea my first and article tidy you can give any article trade units and giving the same name click on finish so you will see that my first mavin demo1 maven project the folder structure of maven potted will be like this this is a project having SRC me in Java having SRC 10 Java JRE system library got added at this very gate and memin dependencies currently it depends what kind of dependencies we have in our XML file so it will add on Road XML file directly and then by default it is having this Jai your library there's just a minute actually I ordered something just yeah sorry guys actually I ordered something anyway so I can see that yes Jai genotype 3 is already available and you can see generate library got added automatically okay fine default now if I'm going to add some other libraries so how to add that so let's say I want to add selenium that we now go to slay me HQ dot o-r-g and simple like selenium maven you see that 3.13 love anyone I think it's recently two days back on weekly to add this press ctrl shift F for formatting sometime what happens what okay it's giving this adder that artifact is missing missing article see when one thing is missing maybe it's not able to connect and not able to download it properly some some error is there because but if see that 3.13 is available such kind of edits are coming when 3.14 you are using in the three 3.14 itself not available over here okay sorry it's 12.1 figure you 3.13 entry which even one three three four phase irrelevant but you are using the Chi 3.14 it should not available so such kind of errors are coming sometimes like this but now we are getting this error that 3.13 is also not available it's missing artifact right so what to do as simple get the properties and get the location and then go to that location in my command prompt in my terminal okay and I will go to that directory like this and then simple and use maven clean install maven clean install and run this command let's see what happens you can see it is actually downloading selenium Java 3.13 can you see that it's downloading all the artifacts slid iam 3.13 so sometimes on Eclipse it doesn't work so you have to it's actually downloading all the jar files and it's successful you can see build a success the moment you get this message build is successful and then and just you will see I'll just refresh this project and strength error is there and I'll do one thing you can see that okay all the selenium jar files are available over here but I'll do one thing it is right-click on it and then go to maven and update project and click on okay so you will see that all the dependencies got added over here all the selenium dependencies automatically got added and this error is also gone so you have to build it like this maven clean install so through try to build it once again because it already downloaded all the jar files into n2 no it's not mean to download it will directly take it from m2 folder so now it's not downloading because we have already downloaded right so now let's say you change the version to 3.1 do you see that oh you know I don't know what with frequent one thing I'm going to move back to 3.1 to again you have to build it may one clean install now so simple one two let's change already edited by m2 so it's not going to download but it will be replaced over here now it is 3.1 P now let's you are writing 3.14 which is actually not available and then if you try to Maybin K install on the giving error because missing artifact and air also it's same built failure the project ok 3.14 it's trying to access through I was catcher in the local repository eventually when we attempt it until the update interval or the same something something it's they 10th but the build is failure because this is missing three point one four zero is missing no dependency information available it's a it's not available obviously so it will not be able to download and then each one so again let's say coming back to three point 1 3 then again we install so whenever you are changing the version you always move and clean install if it is available inside the end to reconceive a tree and do like folder it will take its own good if it is needed to download the new one it will download the new now again back to 3.13 fine let's change some other dependencies have it good yeah like you went to the command prompt the location could you show that again how did you go I mean which how did you take that location so to take that location this pocket we have to reach at this level right click go to properties the source and this is a location of this project what is the project location right is that same thing yeah that's you seem okay with me when it's and isn't even this Rajat it says the moon project right okay then go to that and then when we when you achieve it the command may even clean install so it's doing based on the form dot XML whatever dependencies we have given yes it is reading this hombre signify that the interim now even so to me even command from the command line so we need to install maven separately right hmm and set the path variable yes so the using maven there's download may be available in the form of a zip file you need to download and some variables environment variable path here to say it's very easy and to in the score home you have to add and then you have to restart your laptop to set the environment variable properly we can check the steps on Google okay because in Mac there is a separate configuration in Windows I like I'm not using an event those machine so I cannot show you but it's very very suitable okay so just do it and then only this these commands will work live and clean install and everything will work I mean one more question we don't have diffident dependencies for drivers right chromedriver i driver you can add no dependence all we see everything in the market everything is available in the form of evidence is more suitable like HTML a driver we have the dependency right so let's add and similarly you want to use HTML in a driver so I will add a dependency for that so so that's a 2.5 - is the latest version so we should always use pick the latest version coffee this you go to your form dot and HTML in a driver 2.5 2 is available over here and simple and do one they may believe me strong you see that yes build a successful ok build success and we will see HTML no driver should be added over here you can see HTML unit to find one - maybe this jar file they haven't changed the name but HTML new driver got added over here see htmlunit core also what are it so some HT minute ok got added over here right now let's add this thing also ascend you also it deston Gmail so exchanging mavin is 6.13 let's copy this for our automation purpose guys we have to use compile instead of the scope is Comfort otherwise you can they move the scope and then simple but it may when clean install it's compiling and then it's build a successful we will see the test in G you can see H over here 6.11 or dot three years available so des changing is also here right and then just format how to do the formatting over here in this press control shift s so exchange e is also here let's say I want to move it to test ng six point what is a version that you previous version a six point one point two point one one let's see let's do it for experiment maven clear install again build is successful everything is green very successful and you can see in our Eclipse 6.11 is available right so you can change it like this similarly you can add patch upon a PA you log4j but others you get to do it after and remove this Jo is ready I will make them so J unit is gone now what I'll do that I will they believe this package delete this dummy package and create a test case quickly let's see my quickly I'll create a couple of glass with some dummy methods in the mean test methods this plus one after eight test of the void let's see a one method this testing coming from exchange I'll apply a 1 a 2 a 3 a 4 a 1 a 2 a 3 a 4 and let's same printing will be the class then only four methods are available right now see let's run it from the command prompt which clear the control first using clear method and then mavin clean install right so if you see first it was compiling it was checking the latest is scanning the project it was checking that okay any plugins are available or something like this any think we have to download nothing to download it's already available inside and to folder it will take it from there and then in the end it will execute your test cases how many test cases were there it is trying to execute to your test case and trying the fourth - kisses were there friend take test class one one one but four times four test cases zero failure so it's actually executing your test cases as well getting a point it's actually executing your test cases as well right now let's see you create one more s-class test class number two click on finish and having four different methods and test transfer back to the fight and then again I'll execute it from commanding move until install see now a test case is code executed zero faith let's see it deliberately I make one test case for this right a third clue it should expect true but an acyl false so this a four will be failed inside this test is to trust to the dot Java so all the compiler chisel is done it's running your test case and same out of eight one test is not available Vidya one expected true one but found false right okay which is this is also fun and create one class over here inside SRC main Java no yes three and living in the two two methods over here okay let's run it again but eight plus two I don't need to execute ten test cases right four plus four plus two but it's not picking test clear class number three dots our buyer because maven that's why this is the significance of SRC main Java necesitas Java maven will check on the inside SRC test data so in maven there is a rule all the test cases should be returned inside this source folder SRC test Java if you are writing any test case inside SRC main Java it will never be paid fire leave it okay master what it you know how to install that surefire plug-in and compile it I'm coming on that way so guys whatever there is Deepti nothing that means SRC test Java all testing G test cases should be written there and all the Java code with a public static void main should be written under SRC mean slash Trevor oh you have to change the language the first line is correct all the test cases test ng generator whatever test cases you are adding it should be written inside SRC test server those files those Java classes should be written over them but other utility methods or XLS reader on your page object model like all those page classes all the other classes except from test classes it should be written under SRC main Java SRC main job should not have should not contain any any test class or any test cases why because it will not think maven will not make those those test methods so always that's nice it is Java in today's cases the moment you join any new project if they are using women project immediately go there and then check under Assad s Java where test classes will be there you can scroll there and then see what if you know these things then only you will get to know right then why how will you get to it it's nothing written away but it comes with your experience of various board ways as it is gamma and then you will see you together if they are writing some test cases inside as I see main job immediately you can tell them no this is not the right way of writing the code only utilities functions libraries should be created under a sauce manger that is your main good test code should be written inside SRC tester now one question so so the base class we create like in the framework so that is created in main are test and say the mode okay in base class you're not writing any mysticism with you okay now whatever is explaining here some plugins so how to add those plug-in inside your form code excellently so this is a dependency section this is left so if you see you read this particular form but XML file this is the project XML name's Emma n s means namespace so this is a namespace according to maven Apache dot o R it is organization I think this is a standard organization using four point zero four zero maven this is an XML namespace according to the w3 standard w3.org this is a schema they have given and the schema location is available somewhere on the repository and this is a patch a schema for these two scheme my location they have given and the model version is scope and 0 for 0 of you make sure that ok you don't delete these lights that's why you are able to connect to those Mable that centralized deposit just because of these things and then you have your group ID your artifact ID inversion and tomorrow I'll create this jar file and it deployed somewhere okay the maven deposit you and then I will give it to you that okay and then you will add these three things in your palm to XML file right and then you will and then I have done the packaging in the form of jar file that's why you are getting jar for you and you can give your own version I can give my own version like 1.0 2.0 and I can create it again my first name and demo on the bean XLS reader or artifact ID is this party dot levine dot XLS leader and 1.0 don't you think it looks like this guru by the artifact ID version for selenium also guru piety people typing and gold so selenium developers they are doing the same thing they are writing the code they have merged it together in the form of jar file and that's why they are given to you they have given to you and 3.1.3 is available with the market ready is the version pay you guys same thing you can do it for your project as well right this group ID and artifact ID do we use any on particular naming conventions because I see that many of people using comm dot this is its name there means yes so let's see and let's you're working with Amazon so obviously you ever give to our group ID if you want to obviously showcase your come feeling well let's see if I'm using the bean or dimensional app so I can use the bean automation labs or selenium dot XLS reader something like this and give you an artefact ID from theater so you can give any name it doesn't matter but they mean that mention you should follow like this so there are lot of people's Google is giving lot of libraries Apache is a company they are giving out of libraries Apache ie is there and Apache Tomcat servers are available there's so many libraries provided by Apache into it is a company in Bangalore they have given one karate framework product potential it's a part of JavaScript but Amazon they are building something Walmart they are building something in that so all the open-source communities they are giving some group ID artifact ID according to their name test mg is open source so techs changey they are writing like this / RG Tata change ey o RG this is a lot of open source organization so that's why they are using / G tomorrow I'll be using like this Oh RG dot maybe not to mention labs dot XLS reader or something like this so you can use like this so you can get the point is what exactly I'm trying to say right nobody will tell you such things you can create your group ID artefact ID version ID and then convert into jar file and then give it to someone and then they will be using this particular group ID artifact ID and versioning and they will automatically accelerator will be circulated to the entire world right so what exactly I am doing in my project currently I have created my own frame book and you have converted everything into jar file and I have given to these things what is the advantage of this thing no one can see my code read what exactly I averted so no one can steal it no one can see what exactly kind of framework I have designed just need to use my libraries you use my can I see test genitor garfield source for no extra sickly you have to check the source code and check the download the source code and everything because there is a rule in open source that if this is the open source the for should be should be given but I'm giving the jar file I don't know what exactly they have written inside these are files if you see all the maven dependencies are fine there are so many I don't know what is written in selenium chromedriver or jar or edge dot jar or Firefox or number of jar files support or job right they already just they mmm it's a thousand Java classes they have combined into 10 to 20 jar files and they have given to us we are not bothered about what exactly they have written we are just using the method okay like this but how will you get to know what are different classes methods then you have to release a Java doc a Java documentation you have to release that's another rule right what is the rule if 6.1.3 is there it's your responsibility that you have to provide proper explanation what exactly you are to go into you know you are going to give in 6.1.3 selenium responsibility is that what exactly you are giving in this version 3.1.3 version see if you have see they have written if you are using maven you will find all the selenium maven artifacts directly in the central centralized maven repository over here right so you have to download like this and for selenium Firefox driver so after dependency HTML you drive a separate dependency selenium server there is a separate dependency like this or phantoms yes they have separate dependencies like this so what I'm trying to say if 3.1.3 is available of selenium artifact is available or jar files are available it's so Airy responsibility otherwise how when I get to know on you don't have time what do you want me to do you want me to go to your jar for I mean jar files check each and every Java code and then what exactly kind of method and the classes or interfaces or the logic you have written know if I'm providing excellence reader or Java it's my responsibility to give you all the methods the explanation properly the proper documentation it's my responsibility so that's why this documentation comes into the picture here you will see the complete Java doc right what do you mean by each and everything when complete Java doc is available over here wait or Javadoc is available in the form of I mean this is a documentation sorry this is for Javadoc if you see complete information about classes at the packet assistants and I told you what webdriver is an interface so we will go to W and we will see the webdriver is an interface or not them see this is webdriver just click on it the driver is an interface it's returning their documentation in someone I mean in few days back someone was challenging me that okay no webdriver it's a class that nonsense there he was like unnecessarily arguing with me that no Naveen webdriver is a class and I was actually nothing then how can you say that the penguin is a class and he was giving his own different concept and he does guys around 15 years of experience in the industry in automation and I was so surprised and then I told him do you know what is what is the purpose of Java documentation he doesn't know what is Java doc and then I explained him like this see this is an EM driver interface and this is the documentation published by say in image pirata Balaji available on the gate of repository and this is it's clearly written webdriver in the interface forget about this documentation can you create the object of interface he said no and then why are you saying you've ever ever an interface and then he was actually writing my private eye or equal to you their driver and then it gives was giving at it then he got to know and then he said sorry to me I mean I don't want that he should say sorry but this is a lot of lot of people they are they're not aware about all these things ways and nobody will tell you you have to do such experiments in with the experiment will come so the driver has an interface and all the methods it's their responsibility they have given the proper documentation it's written over there what is the purpose of get method load a new web page in the current terms it will go what is a gate current URL what is get title get data we are passing it it returns the title of the current page so complete documentation is available and the driver is an interface so chrome driver is implemented class so in C chrome trailer is implementing what or implemented interface to Chrome drivers implementing all these interfaces so multiple enter of inheritance is allowed in Java this chrome driver is inheriting multiple inner interfaces and it's implementing webdriver also right please always read these Java doc whenever a new thing is available in the market test indeed about off p2j unit Java doubt about your boy AP exam about ok what it or it's too much or I'm explaining like too much or it has okay so this is Java documentation guys is given and dependency is also available over here now let's talk about plugins so we will see that dependency section is starting from here and ending over here okay this is the dependencies like starting and ending okay so this is a starting for will you get to know simple dependencies back I have written and slash dependence slash dependencies means it's getting ended over here now we will add some plugins so plugins there is no need to remember the syntax you just need to add the plug-in how to I nobody will ask you the plug-in information the plugins index non that's a stupid question nobody will ask you okay so let me give you the plug-in I have some plugins usually okay so plugins will be available inside as plugins and then be a multiple plugins plug-in number one plug-in number two and then login number three okay so we will take any one more compiler again so we will take from here to here plugins to plug in C we take copy go to this format xml file and after property which is a trojan move these spaces we have to add the simple tag also they build should be ended like this before dependency here you can forget about this resource and on substance and so let's have a quick look we will compile it again don't worry it's a dependency is make sure dependencies okay so we will do one thing this builder actually nothing very careful like after method you build is dependencies are not part of building the dependence is a separate section and build all the plugins are coming under build section this is the build component actually three things are here we have plug-in three plugins are available inside the dependencies are not part of the page one so fine and now what I have to do the are to know simple will see the first plug-in is compiler plugin and what is a point iteration one one chicken when check the version I have given so compiler cracking is used to come by for surefire plug-in is used to execute your expenses if any test cases are available and you have one configuration tag is there if you really want to configure that okay so testing it on example fine if you want to execute okay so just create one test changer dot XML file then it will be created over here that even if the test on you know tech semi final now and then source plug-in that it will create your jar file it will build it actually in the form of the jar file it will convert the source in the form of jar the Buddha's jar sometimes developers they give more for awar file that is my part I will fight so we don't need anyone by about a new file because we are not going to apply on Tomcat or something so simple jar file so these are the three plugins and then I'll go to my command prompt and then simple and right maven clean install so whenever you are making changes in form vertex if I make sure that okay you are fine perfectly fine and okay that's fine that is a test case failure okay so do one thing now we will add this test Jenny dot XML file in which so in which we will add these two classes test case number one and two and we will execute from maven directly okay so what exactly we will do you think this it's ANSI main resources we will create let me carry it as I see main resources the source folder exchange a dot XML file and then I'll make some changes so I don't know what I mean is Fleur and my name will be let's see my demo test automation suite will be my demo test beauties this package so we will be giving this uncomment it these spaces are necessary so that is the testament is name equal to my demo test and where exactly you know our classes are available so I will do one thing I will create a package proper package let Sigma packet is form dot test package and inside these these classes Condor tests test class number one and test class number two okay just chill get out excellent now I will give the package name what is the package name for me dot test dot s class number one don't write Java and then same thing for let's dress number two okay then I'll add this test in Y dot XML file which is available don't give the exact pathways that see driver you do drive or something like this either it mister it should start from SRC and available over here SRC main resources SRC main resources test change' dot XML and salty main resources let's check it out XML we have to give the source folder path that's it and then save it and then now we will do one thing let's run this maven clean install okay so you can see that what failed total a test cases are there right and then one desk is portrayed so actually it is speaking now testing you got eczema things so in that mean we'll do one thing let's see I commend the slide and then the question is actually picking up a one clean stone now it's picking because I have commented test case number two trans number two it's actually taking only test class number one so you can execute like this and it found erroneous new dependency or maybe some plug-in is available actually downloading and then executing your build total test cases for okay and let's say I'll move this test class number three also from here to here the uncommented and we will add let's press number three else and number three and that's clear and install total ten test cases are there and one failure because obviously assert two is that in say no expect test phase number three also class number three also right so there's no need to do build again in the game right every time we are doing a one clean install me when you install so let's see everything build is perfectly fine everything is up-to-date all the dependencies you know downloaded properly we can do one thing simple now you just want to execute a test cases without building the project work I'll get it again why are you wasting your time so simple right maven test just execute a test case directly hit the test cases by using maven tests it's largely hitting the main interest it's not doing any downloading stuff another simple it will fit your test cases right so Shana plug-in is there where you have to give your this thing testing it out xml fine it's a very very very important into the equation Java plug-in let's check it out examine this configuration suite XML files him to give them if we have multiple dot XML regression sanity you can give on the file path over here if you pick one never like this cool and we will do the same integration with ten kids because Jenkins will read this Mabel to Palma de XML file and then Jenkins will come over here and then it will try to execute your destiny dot XML file from there and then it will generate the report it will execute the program right one more thing is there you want to clean install but you don't want to execute let's say you have 100 test cases because if you write maven clean install writes maybe you want to download couple of things we have added a couple of things but I don't know what my test cases to be executed I just want to build my project because let's say you have tomorrow thousand test cases right now we have only ten test cases and we have not written any selenium logic over there so that's why quickly within two three second it's getting executed but the morality you have thrown in test cases and if you do this maven clean strong unnecessary will pick all the test cases inside SRC tense Java it will try to execute and will die it will take lot of time it will take ages to execute the complete build so there is one more option may want we install - be skip test is equal to true it means please escape the test cases - the Skip test is equal to 2c now it did not take any test receipt no test cases it did not take any test case so - days skip is equal to test is equal to true a quick build will be happened and then without executing your decks pieces this is wonderful apples they do they are also reading the unit level text pieces so whenever they have to whenever they have to do the build they have built unless in hundred two hundred test cases they want to do the build quickly and they want to give it to you so immediately will be given to you okay with this - d skip that's equal to true you can do it means please skip the test piece is equal to 2 means please step on the test assessed and just bend it quickly and generate the Japheth okay and where exactly generating the sharp and see this on this folder this is my project name my first arrow is 0.01 snapshots for say torture this is the jar file but created and it move to over here user Naveen I told you they taught em to one folder is their repository and then jar files will be a little you can see snapshot dot judgment and developers although they are doing the same thing they will give you this folder I mean I mean this path location path and you need to download this warfighter jar file and then you have to deploy it on Tomcat this is what DevOps guys are doing DevOps guys are taking this jar file or one file and their decline one down here through maven or through some Jenkins or ten Finn's pipeline with all those ups okay
Info
Channel: Naveen AutomationLabs
Views: 12,069
Rating: 4.8865247 out of 5
Keywords: Maven, Ant, Maven with testNG, Maven with Selenium, Maven build tool, Maven Architecture, JAR with Maven, Naveen AutomationLabs
Id: -Alf8-kU4G8
Channel Id: undefined
Length: 56min 42sec (3402 seconds)
Published: Fri Jun 29 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.