Deploy a Spring Boot maven project

Поділитися
Вставка
  • Опубліковано 12 гру 2022
  • Part 3 of full course on web development in Java with Spring Boot. See studycoding.org for the full course.
  • Наука та технологія

КОМЕНТАРІ • 10

  • @delsix1222
    @delsix1222 11 місяців тому +4

    that's not deploy, that's a package

  • @palantyr
    @palantyr Місяць тому

    Excellent content!

  • @aududaniels4031
    @aududaniels4031 Рік тому +1

    Great videos...Thanks a lot for these great content you are putting out my Professor😍

  • @neurosecure
    @neurosecure 2 місяці тому

    Excellent videos love revising java web development

  • @jairramirez6900
    @jairramirez6900 24 дні тому

    Great content

  • @amajout
    @amajout 7 місяців тому

    Hi! thanks for the video! but whats the deal with mvn -deploy command??

  • @prasadxev
    @prasadxev 4 місяці тому

    Great sir! .. From india😊

  • @josephmukendi4836
    @josephmukendi4836 4 місяці тому

    Great video.but Is the same procedure if using VS Code?

    • @belia_
      @belia_ 3 місяці тому +1

      Its similar, but I could not find any Configuration UI to do it with in the Run Menu, at least that I could figure to get to. Here's what I did:
      In VS Code: Inside the Explorer view (folder view) you'll see a MAVEN tab at the bottom of the explorer (underneath OUTLINE, TIMELINE, JAVA PROJECTS) - in the MAVEN tab there you'll find the Lifecycle tab, in the Lifecycle tab are the "Clean, Validate, Compile, Test, Test Compile, Package, Verify, Install, Site, and Deploy" options with a Run button next to each option.
      To run the clean and build that was done in the start of the video, you'll want to use the clean option. To do the package build nearer to the end, you'll want to use the package option. (via the run button to the right of each option for the respective build type you want to do)
      Then everything else is the same in navigating to the Target folder / folder with the .jar file in it, and running the helloworld.jar file in your command line shell. (bash / cmd / pwsh / etc)
      There's a few other ways to do it as well, if right click on the project you want to build in the MAVEN tab, there's a menu option for "Run Maven Commands" with the option for Custom commands in where you can add other options and all the other commands in there as well, kind of as he did in the UI in Eclipse for Run Configurations.
      If do a search on UA-cam there's a lot of tutorials on Maven Builds and stuff that also might be helpful to watch, one that was helpful for me was at the UA-cam url "watch?v=BOiyOmUmzwE" - Different ways to run maven projects in VS Code by the channel AJ Automation that goes through many different ways to run a maven project / builds.

    • @shockd1220
      @shockd1220 21 день тому

      @@belia_ you are insanely goated for this man.