How to Create JAR of a Maven Project and reuse that JARs in another Maven Project |

Sdílet
Vložit
  • čas přidán 21. 08. 2024
  • We Will learn:
    How to Create JAR of Maven Project(main/test classes) ?
    How to reuse these JARs in some other Maven Project ?
    ==========================
    ******AJ AUTOMATION*****
    ==========================
    Hi guys, Please share the content whichever you find informative.
    ==:Useful Playlists for learning Test Automation:==
    ✅ Let's Learn the Concept in 5 To 10 Mins :=
    • Test Automation Interv...
    ✅ Selenium series videos Playlist :=
    • Selenium tutorial for ...
    ✅ Maven Tool videos playlist :=
    • Maven Tool - Necessary...
    ✅ Selenium WebDriver Exceptions Playlist :=
    • Selenium WebDriver Exc...
    ✅ Selenium Grid With Docker:==
    • Selenium Grid With Docker
    ✅ Upload and Download Files in Selenium :=
    • Selenium WebDriver - U...
    ✅ Excel and CSV files operations :=
    • Excel and CSV -- Read ...
    ✅ Java Language Concepts :=
    • Java Language Concepts...
    ✅TestNG Framework Videos:=
    • TestNG Introduction an...
    ✅ Become Master in Xpath:=
    • Xpath Introduction
    ✅ Protractor series videos playlist :=
    • Let's Learn Protractor...
    ✅ Recent Uploads :=
    • Recent Uploaded Videos
    ✅ GitHub Repo:= github.com/aja...
    ⚡️ Thanks for your support !! ⚡️
    ======================================
    *************** Thanks for watching !!*************
    ======================================
    ⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️
    #LearnSeleniumInEasyWay #SeleniumWebDriver

Komentáře • 31

  • @AJAUTOMATION
    @AJAUTOMATION  Před 3 lety +2

    Hi guys, if you like the content of the channel then plz share with your friends learning automation.
    ✅ Recent Uploads :=
    czcams.com/play/PLlc_LrU50tljOnB-LUofJpBkeSMskcQVd.html
    ✅ Selenium series videos Playlist :=
    czcams.com/play/PLlc_LrU50tliMZrnSa0a9geljzCijPDfq.html
    ✅ Maven Tool videos playlist :=
    czcams.com/play/PLlc_LrU50tlgWOrybr-Ppffg6T_1cXeUb.html
    ✅ Java Language Concepts :=
    czcams.com/play/PLlc_LrU50tliq2RV-1Yhr2IjJ5RqXCQjU.html
    ✅TestNG Framework Videos:=
    czcams.com/video/-KEg20O6Mxs/video.html
    ✅ Become Master in Xpath:=
    czcams.com/video/Wv1hHLhtnzw/video.html
    ✅ Protractor series videos playlist :=
    czcams.com/play/PLlc_LrU50tlim53VdVwAmCnBr8M2x38y8.html
    ⚡️ Thanks for your support !! ⚡️

  • @gangadharreddy4606
    @gangadharreddy4606 Před 4 měsíci +1

    Excellent vedios, keep doing more, super clarity, good teaching skills. Thank you so much for your work....

    • @AJAUTOMATION
      @AJAUTOMATION  Před 3 měsíci

      Thanks for watching and your valuable feedback. 👍🙂

  • @abhishekbhardwaj7764
    @abhishekbhardwaj7764 Před 3 lety +1

    very useful...best maven playlist non entire CZcams

  • @mohammadnaseem1956
    @mohammadnaseem1956 Před 3 lety +2

    THANK YOU SO MUCH for sharing such a wonderful video. I was so confused with the concept of Maven but it helps me a lot in finding the right track. YOU ARE A GREAT TEACHER!!!

    • @AJAUTOMATION
      @AJAUTOMATION  Před 3 lety

      Thanks for watching.. I am happy that you find it helpful..

  • @waseemmalik3281
    @waseemmalik3281 Před 2 lety +2

    the video starts from 8:11 I really don't know why this guy is taking 8 min to explain all the advantages of this method. This is the reason why we here in the first place my man xd.

  • @shouvikpradhan1094
    @shouvikpradhan1094 Před 3 lety +2

    thanks for this clear explanation

  • @c4lf4
    @c4lf4 Před rokem +1

    Thanks a lot for your time, effort and clear explanations. Awesome video!
    However, in my utility project I have an application.properties file with info regarding jdbc driver, url, user, pass... So when I create the JAR I want it to use the destination project application.properties file, rather than its own (or even combined properties if needed). But if I rename or delete the utility project application.properties file I can't generate the JAR file. Can you help me?

  • @rhalicki
    @rhalicki Před 3 lety +1

    I like very much your videos. You are a good teacher. I will share with friends. It will very helpfull if you can add subtitles in english to some videos, so i'll make easily to non english-speakers

    • @AJAUTOMATION
      @AJAUTOMATION  Před 3 lety

      Thanks Rodolfo 🤗 for your valuable feedback, will chk for subtitles.
      Thanks for watching 😊

  • @ameeruddin9986
    @ameeruddin9986 Před 4 lety +1

    Awesome video

    • @AJAUTOMATION
      @AJAUTOMATION  Před 4 lety

      Thanks for ur valuable feedback. Keep Learning Keep Sharing..

    • @mohammadnaseem1956
      @mohammadnaseem1956 Před 3 lety

      @@AJAUTOMATION where I can find the jar for the test?

  • @MuhammadAdnan-fw5vl
    @MuhammadAdnan-fw5vl Před 2 lety +1

    Hi, thank you for your thorough and easy to understand explanations. Would it be possible for you to upload the images in which you drew the architecture of maven as well? I think this would be great help. Thanks.

    • @AJAUTOMATION
      @AJAUTOMATION  Před 2 lety

      Hi @Adnan, thanks for your valuable feedback.
      Unfortunately I do not have the that images. But u can pause the video and plz take the screenshot.
      Thanks for watching 🤗

  • @EliasHossein799
    @EliasHossein799 Před rokem +1

    awesome !

  • @MANOJKUMAR-mb2uw
    @MANOJKUMAR-mb2uw Před 10 měsíci +1

    can u please explain when we dont include jar plugin but using mvn clean install one jar will be created in target folder, here why we are using jar plugin again to generate jar file.

    • @AJAUTOMATION
      @AJAUTOMATION  Před 10 měsíci

      Jar generated Without JAR plugin might not contains all the necessary things we required e.g class files and dependencies. So we add JAR plugin so that we can include whatever things we required in that JAR.
      Ex- classes from src/main/java, .classes from src/test/java, all the dependencies etc and generate JAR in a folder of your choice instead of target folder.

  • @tanmayghadge7861
    @tanmayghadge7861 Před rokem +2

    hi aj but what if project 1 is using some external jar then in project 2 we will also need those jars as well.
    does maven creates normal jar or runnable jar file?
    can we create runnable jar using maven?

    • @AJAUTOMATION
      @AJAUTOMATION  Před rokem +1

      Yes anything u required to run maven project that we need to import as external jars or add it's dependency. Maven can create jars wars as well. Maven can create runnable jar, There is video on the channel to create runnable jar using maven

    • @tanmayghadge7861
      @tanmayghadge7861 Před rokem

      @@AJAUTOMATION surelyi will watch those videos.
      I am currently at 11th video of maven.
      Side by side your testNG series also I am referring.
      Soon I will start with docker grid from your channel.
      Thanks for making these videos...they are very helpful.

  • @chopper9534
    @chopper9534 Před 2 lety +1

    For building the same in the unix environments, how to add external jar dependency on maven

    • @AJAUTOMATION
      @AJAUTOMATION  Před 2 lety

      Hi @chopper, I haven't done that.. But I think that can be done with SED cmd. Plz Check on Google for the same u can easily find it..

  • @DheerajKumar-bw4uv
    @DheerajKumar-bw4uv Před 10 měsíci

    Hi Aj, I have a requirement where I need my framework to client so that they can use utils methods of src/main/java package while writing their test scripts in src/test/java package but the catch is client should not be able to view the implementation of the methods available in src/main/java, they can only extend and use method. How can I achieve this.

  • @abhishekbhardwaj7764
    @abhishekbhardwaj7764 Před 3 lety

    When i am running a similar code with mvn clean test OR mvn clean install, it is giving error: package ${Package name} does not exist. At end you showed running the code using testNG and not using Maven. Can you please clarify??

    • @AJAUTOMATION
      @AJAUTOMATION  Před 3 lety +1

      Yes, when running with Maven, we need to have JARs along with related dependency in POM xml file. This is covered in next video in the playlist. Plz watch it u will understand everything.

  • @tanmoyroy6041
    @tanmoyroy6041 Před 2 lety

    Helpful. But keep the video short and to the point please. Don't talk more than necessary.