{"id":13401536,"url":"https://github.com/eugenp/tutorials","last_synced_at":"2025-05-12T16:15:00.479Z","repository":{"id":37270634,"uuid":"9754983","full_name":"eugenp/tutorials","owner":"eugenp","description":"Getting Started with Spring Boot 3: ","archived":false,"fork":false,"pushed_at":"2025-05-03T13:08:24.000Z","size":112310,"stargazers_count":37136,"open_issues_count":53,"forks_count":54318,"subscribers_count":1498,"default_branch":"master","last_synced_at":"2025-05-05T14:10:54.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bit.ly/github-ls","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eugenp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-modules/apache-shiro/.gitignore","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2013-04-29T18:26:36.000Z","updated_at":"2025-05-04T05:17:06.000Z","dependencies_parsed_at":"2023-10-14T17:25:14.951Z","dependency_job_id":"b04aeacd-6dc4-4b1c-b80a-2f18d61a7165","html_url":"https://github.com/eugenp/tutorials","commit_stats":{"total_commits":21979,"total_committers":1350,"mean_commits":16.28074074074074,"dds":0.9322535147185951,"last_synced_commit":"0deb25bd546cb75cb02aac4322564d35a83fb7dd"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenp%2Ftutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenp%2Ftutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenp%2Ftutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenp%2Ftutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugenp","download_url":"https://codeload.github.com/eugenp/tutorials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253774582,"owners_count":21962199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:01:03.833Z","updated_at":"2025-05-12T16:14:55.471Z","avatar_url":"https://github.com/eugenp.png","language":"Java","readme":"# Cloning the repository\n\nIf you are getting an error while cloning the repository, try running:\ngit config --global http.postBuffer 5000000\n\nThis will increase the buffer size from the default 1MiB to 5MiB.\n\nTo revert this value to the default, use:\ngit config --global http.postBuffer 1000000\n \n\nThe Courses\n==============================\n\n\n\"Learn Spring\" Course: \u003cbr/\u003e\n**[\u003e\u003e LEARN SPRING - THE MASTER CLASS](https://www.baeldung.com/learn-spring-course?utm_source=github\u0026utm_medium=social\u0026utm_content=tutorials\u0026utm_campaign=ls#master-class)**\n\n\"REST With Spring\" Course: \u003cbr/\u003e\n**[\u003e\u003e THE REST WITH SPRING - MASTER CLASS](https://www.baeldung.com/rest-with-spring-course?utm_source=github\u0026utm_medium=social\u0026utm_content=tutorials\u0026utm_campaign=rws#master-class)**\n\n\"Learn Spring Security\" Course: \u003cbr/\u003e\n**[\u003e\u003e LEARN SPRING SECURITY - MASTER CLASS](https://www.baeldung.com/learn-spring-security-course?utm_source=github\u0026utm_medium=social\u0026utm_content=tutorials\u0026utm_campaign=lss#master-class)**\n\n\n\nJava and Spring Tutorials\n================\n\nThis project is **a collection of small and focused tutorials** - each covering a single and well-defined area of development in the Java ecosystem. \nA strong focus of these is the Spring Framework - Spring, Spring Boot and Spring Security. \nIn addition to Spring, the modules here cover several aspects of Java. \n\nProfile-based segregation\n====================\n\nWe use Maven build profiles to segregate the huge list of individual projects in our repository.\n\nThe projects are broadly divided into 4 lists: default, default-jdk17, default-jdk8 and default-heavy. \n\nNext, they are segregated further based on the tests that we want to execute.\n\nWe also have a parents profile to build only parent modules.\n\nTherefore, we have a total of 9 profiles:\n\n| Profile           | Includes                    | Type of test enabled |\n|-------------------|-----------------------------|----------------------|\n| default           | JDK21 projects              | *UnitTest            |\n| integration       | JDK21 projects              | *IntegrationTest     |\n| default-jdk17     | JDK17 projects              | *UnitTest            |\n| integration-jdk17 | JDK17 projects              | *IntegrationTest     |\n| default-jdk22     | JDK22 projects              | *UnitTest            |\n| integration-jdk22 | JDK22 projects              | *IntegrationTest     |\n| default-jdk23     | JDK23 projects              | *UnitTest            |\n| integration-jdk23 | JDK23 projects              | *IntegrationTest     |\n| default-heavy     | Heavy/long running projects | *UnitTest            |\n| integration-heavy | Heavy/long running projects | *IntegrationTest     |\n| default-jdk8      | JDK8  projects              | *UnitTest            |\n| integration-jdk8  | JDK8  projects              | *IntegrationTest     |\n| parents           | Set of parent modules       | None                 |\n\nBuilding the project\n====================\n\nThough it should not be needed often to build the entire repository at once because we are usually concerned with a specific module.\n\nBut if we want to, we can invoke the below command from the root of the repository if we want to build the entire repository with only Unit Tests enabled:\n\n`mvn clean install -Pdefault,default-heavy`\n\nor if we want to build the entire repository with Integration Tests enabled, we can do:\n\n`mvn clean install -Pintegration,integration-heavy`\n\nAnalogously, for the JDK8 projects the commands are:\n\n`mvn clean install -Pdefault-jdk8`\n\nand\n\n`mvn clean install -Pintegration-jdk8`\n\nBuilding a single module\n====================\nTo build a specific module, run the command: `mvn clean install` in the module directory.\n\nIt can happen that your module is part of a parent module e.g. `parent-boot-1`,`parent-spring-5` etc, then you will need to build the parent module first so that you can build your module.\nWe have created a `parents` profile that you can use to build just the parent modules, just run the profile as:\n`mvn clean install -Pparents`\n\n\nBuilding modules from the root of the repository\n====================\nTo build specific modules from the root of the repository, run the command: `mvn clean install --pl akka-modules,algorithms-modules -Pdefault` in the root directory.\n\nHere `akka-modules` and `algorithms-modules` are the modules that we want to build and `default` is the maven profile in which these modules are present.\n\n\nRunning a Spring Boot module\n====================\nTo run a Spring Boot module, run the command: `mvn spring-boot:run` in the module directory.\n\n\nWorking with the IDE\n====================\nThis repo contains a large number of modules. \nWhen you're working with an individual module, there's no need to import all of them (or build all of them) - you can simply import that particular module in either Eclipse or IntelliJ. \n\n\nRunning Tests\n=============\nThe command `mvn clean install` from within a module will run the unit tests in that module.\nFor Spring modules this will also run the `SpringContextTest` if present.\n\nTo run the integration tests, use the command:\n\n`mvn clean install -Pintegration` or\n\n`mvn clean install -Pintegration-heavy` or\n\n`mvn clean install -Pintegration-jdk8`\n\ndepending on the list where our module exists\n","funding_links":[],"categories":["Java","学习资料","Programming Language Tutorials","Tutorial","HarmonyOS"],"sub_categories":["For Scala","Java","Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenp%2Ftutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugenp%2Ftutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenp%2Ftutorials/lists"}