{"id":21444816,"url":"https://github.com/NaluKit/gwt-maven-springboot-archetype","last_synced_at":"2025-07-14T18:31:42.823Z","repository":{"id":96250857,"uuid":"292210210","full_name":"NaluKit/gwt-maven-springboot-archetype","owner":"NaluKit","description":"This project contains Maven archetypes for modular GWT projects using Spring Boot Server","archived":false,"fork":false,"pushed_at":"2024-11-13T11:02:46.000Z","size":147,"stargazers_count":18,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-13T12:18:05.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NaluKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-02T07:24:53.000Z","updated_at":"2024-11-06T06:21:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc18d582-cab7-4058-aff5-d14e7a3b8549","html_url":"https://github.com/NaluKit/gwt-maven-springboot-archetype","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fgwt-maven-springboot-archetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fgwt-maven-springboot-archetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fgwt-maven-springboot-archetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NaluKit%2Fgwt-maven-springboot-archetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NaluKit","download_url":"https://codeload.github.com/NaluKit/gwt-maven-springboot-archetype/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225991790,"owners_count":17556362,"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-11-23T02:22:06.467Z","updated_at":"2025-07-14T18:31:42.812Z","avatar_url":"https://github.com/NaluKit.png","language":"Java","funding_links":[],"categories":["Starter"],"sub_categories":[],"readme":"# gwt-maven-springboot-archetype\n\nThis project contains a Maven archetype for modular GWT projects using Spring Boot. The repo is based on the\nimplementation of Thomas Broyer's [gwt-maven-archetypes](https://github.com/tbroyer/gwt-maven-archetypes).\n\nIf you are looking for the original archetype creator or would prefer another backend/implementation, please visit:\n[gwt-maven-archetypes](https://github.com/tbroyer/gwt-maven-archetypes).\n\n## How to use\n\n### Generate a project\n\n```shell\nmvn archetype:generate -DarchetypeGroupId=com.github.nalukit.archetype -DarchetypeVersion=LATEST -DarchetypeArtifactId=\u003cartifactId\u003e\n```\n\nwhere the available `\u003cartifactIds\u003e` is:\n\n* `clean-modular-springboot-webapp`\n* `modular-springboot-webapp`\n\nThis should use the latest release from the Central Repository.\n\n\u003e 📝 Maven 2.2 or later is required.\n\n#### clean-modular-springboot-webapp\n\nGenerates a clean Spring Boot multi Maven module project without any example code. If you need a clean approach, this is\nthe best way to start.\n\nThe generated project will use the following version:\n\n* Java 17\n* GWT 2.12.2\n* Spring Boot 3.4.4\n\n#### modular-springboot-webapp\n\nGenerates a Spring Boot multi Maven module project with any example code. The example is similar to the one from the GWT\nproject.\n\nThe generated project will use the following version:\n\n* Java 17\n* GWT 2.11.0\n* Spring Boot 3.2.5\n\n### Start the development mode\n\nChange directory to your generated project and issue the following commands:\n\n1. In one terminal window: `mvn gwt:codeserver -pl *-client -am`\n1. In another terminal window: `mvn spring-boot:run -pl *-server -am` \n\n\u003e 📝 The `-pl` and `-am` are not strictly necessary, they just tell Maven not to build the client module when you're\ndealing with the server one, and vice versa.\n\nOnce both are server are running, enter http://localhost:8080 in a browser window.\n\n\u003e 📝 Both servers are running when the code server outputs `The code server is ready at http://127.0.0.1:9876/`\nand the Spring Boot server outputs `Started Application in xxx seconds`.\n\n## Build a release\n\nAfter you have generated your project from the above steps, you can create a release build and test it works.\n\nChange directory to your generated project and issue the following commands:\n\n1. `mvn clean package`\n1. `cd *-server/target`\n1. `java -jar myapp.war`\n\n\u003e 📝 Replace `myapp.war` with the name of your war file.\n\nOpen http://localhost:8080 in a browser window to test your release build.\n\n## Contributing\n\nIf you want to hack on / contribute to the archetypes, you can:\n\n```shell\ngit clone https://github.com/NaluKit/gwt-maven-springboot-archetype\ncd gwt-maven-springboot-archetype\n```\nMake your changes, and run:\n\n```shell\nmvn clean verify\n```\n\nThis will generate sample apps that can be found in both the `clean-modular-springboot-webapp` and\n`modular-springboot-webapp` directories, in the `target/test-classes/projects/basic-webapp/project/basic-webapp`\ndirectory.\n\nYou can also install your modified version of the project locally:\n\n```shell\nmvn clean install\n```\n\nThen use the `mvn archetype:generate` command from above, except for the `-DarchetypeVersion` argument which you'll\nreplace with `HEAD-SNAPSHOT`.\n\n## To get in touch with the developer\nPlease visit use us at [Nalu Gitter room](https://gitter.im/Nalukit42/Lobby).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNaluKit%2Fgwt-maven-springboot-archetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNaluKit%2Fgwt-maven-springboot-archetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNaluKit%2Fgwt-maven-springboot-archetype/lists"}