{"id":20112818,"url":"https://github.com/cloudacademy/java11-junit5-archetype","last_synced_at":"2025-05-06T11:32:06.296Z","repository":{"id":77791539,"uuid":"311444037","full_name":"cloudacademy/java11-junit5-archetype","owner":"cloudacademy","description":"Maven Java11 JUnit5 Archetype","archived":false,"fork":false,"pushed_at":"2024-07-09T22:06:27.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-11T02:30:01.505Z","etag":null,"topics":["cloudacademy","devops","java","jdk11","junit5","maven"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudacademy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-09T19:30:10.000Z","updated_at":"2024-07-09T22:06:30.000Z","dependencies_parsed_at":"2023-03-12T02:05:03.921Z","dependency_job_id":null,"html_url":"https://github.com/cloudacademy/java11-junit5-archetype","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fjava11-junit5-archetype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fjava11-junit5-archetype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fjava11-junit5-archetype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fjava11-junit5-archetype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudacademy","download_url":"https://codeload.github.com/cloudacademy/java11-junit5-archetype/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224501636,"owners_count":17321868,"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":["cloudacademy","devops","java","jdk11","junit5","maven"],"created_at":"2024-11-13T18:22:32.406Z","updated_at":"2024-11-13T18:22:33.675Z","avatar_url":"https://github.com/cloudacademy.png","language":"Java","readme":"![Build Status](https://github.com/cloudacademy/java11-junit5-archetype/actions/workflows/release.yml/badge.svg) \n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/cloudacademy/java11-junit5-archetype)\n\n# Maven Quickstart Archetype - Java 11 + JUnit5\n\n**Note**: The following repo contains a Java 21 + JUnit5 Maven archetype\n- https://github.com/cloudacademy/java21-junit5-archetype\n\n## Summary\nUsed to provide a Maven archetype for Java 11 and JUnit5. You can use this to quickly generate new Java 11 and JUnit 5 TDD project layouts.\n\n## Prerequisites\n* JDK 11\n* Maven 3\n\n## Install Archetype Locally\n\nTo install the archetype in your local repository execute the following commands:\n\n```bash\ngit clone https://github.com/cloudacademy/java11-junit5-archetype.git\ncd java11-junit5-archetype\nmvn clean install\n```\n\n## Maven Create/Generate New Java Project\n\nThe Maven archetype can now be used to setup a new Maven Java project configured for JDK 11 and JUnit 5.\n\nFirst, navigate into a directory where your Java project/s are to be located:\n\n```bash\nmkdir -p ~/java-maven-projects\ncd ~/java-maven-projects\n```\n\nExecute the following Maven `archetyp:generate` command to bootstrap your new Java project configured for JDK 11 and JUnit 5:\n\n```\nmvn archetype:generate \\\n -DarchetypeGroupId=com.cloudacademy.devops \\\n -DarchetypeArtifactId=java11-junit5-archetype \\\n -DarchetypeVersion=1.0.0-SNAPSHOT \\\n -DgroupId=com.example \\\n -DartifactId=my-project \\\n -Dversion=1.0.0-SNAPSHOT \\\n -DinteractiveMode=false\n```\n\n## Build and Run New Java Project\n\n### Step 1: Build, Test, and Package Executable Jar\n\n```bash\ncd my-project\nmvn clean package\n```\n\n### Step 2: Run\n\n```bash\njava -jar target/my-project-1.0.0-SNAPSHOT-jar-with-dependencies.jar\n```\n\nShould result with the following message:\n\n```\nCloudAcademy DevOps 2020!! Answer: 42.0\n```\n\n:metal:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fjava11-junit5-archetype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudacademy%2Fjava11-junit5-archetype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fjava11-junit5-archetype/lists"}