{"id":18378430,"url":"https://github.com/choonchernlim/choonchernlim-archetype-jar","last_synced_at":"2026-04-08T16:02:15.780Z","repository":{"id":144450663,"uuid":"45548727","full_name":"choonchernlim/choonchernlim-archetype-jar","owner":"choonchernlim","description":"Groovy-based Maven JAR archetype using Spring Boot with the capability of generating static code analysis reports for Continuous Integration servers.","archived":false,"fork":false,"pushed_at":"2017-10-02T19:46:55.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-15T04:44:35.207Z","etag":null,"topics":["groovy","java-8","jenkins","maven","maven-archetype","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/choonchernlim.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-11-04T15:38:42.000Z","updated_at":"2017-05-17T18:53:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c661c7c-7456-4dec-b87f-8102dc055527","html_url":"https://github.com/choonchernlim/choonchernlim-archetype-jar","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/choonchernlim/choonchernlim-archetype-jar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-jar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-jar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-jar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-jar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choonchernlim","download_url":"https://codeload.github.com/choonchernlim/choonchernlim-archetype-jar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fchoonchernlim-archetype-jar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["groovy","java-8","jenkins","maven","maven-archetype","spring-boot"],"created_at":"2024-11-06T00:33:40.972Z","updated_at":"2026-04-08T16:02:15.764Z","avatar_url":"https://github.com/choonchernlim.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# choonchernlim-archetype-jar\n\nGroovy-based Maven JAR archetype using Spring Boot with the capability of generating static code analysis reports for Continuous Integration servers.\n\n## Latest Release\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.choonchernlim\u003c/groupId\u003e\n  \u003cartifactId\u003echoonchernlim-archetype-jar\u003c/artifactId\u003e\n  \u003cversion\u003e2.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor example:\n\n```bash\nmvn archetype:generate \\\n    -DinteractiveMode=false \\\n    -DarchetypeGroupId=com.github.choonchernlim \\\n    -DarchetypeArtifactId=choonchernlim-archetype-jar \\\n    -DarchetypeVersion=2.0.0 \\\n    -DgroupId=com.github.choonchernlim.testProject \\\n    -DartifactId=testProject \\\n    -Dversion=1.0.0-SNAPSHOT\n```\n\n## Prerequisites\n\n* Java 1.8.\n* Maven 3.3.9.\n\n## Useful Goals\n\n* `mvn clean spring-boot:run` - Executes program.\n\n* `mvn clean test site` - Generates test and static code analysis reports.\n\n* `mvn clean package` - Generates the following artifacts:-\n    * `[artifactId]-[version].jar` - Lean JAR to be used as a dependency or be pushed to Nexus.\n    * `[artifactId]-[version]-exec.jar` - Executable fat JAR with all dependencies bundled into it.   \n    * `[artifactId]-[version]-sources.jar` - Project source files.\n\n## Jenkins Integration\n\n* Create a \"Freestyle project\" job.\n\n* Under \"Add build steps, select \"Invoke top-level Maven targets\".\n    * Goals: `clean test site`\n    * POM: `[project]/pom.xml`\n\n* Configure post-build actions accordingly.\n\n## Sample Project Structure\n\nIf `groupId` is `com.github.choonchernlim.testProject` and `artifactId` is `testProject`, the generated project structure looks like this:-\n\n```text\n➜  tree . \n.\n├── CHANGELOG.md\n├── README.md\n├── pom.xml\n└── src\n    ├── main\n    │   ├── groovy\n    │   │   └── com\n    │   │       └── github\n    │   │           └── choonchernlim\n    │   │               └── testProject\n    │   │                   ├── Application.groovy\n    │   │                   └── service\n    │   │                       └── HelloWorldService.groovy\n    │   └── resources\n    │       └── application.yml\n    └── test\n        ├── groovy\n        │   └── com\n        │       └── github\n        │           └── choonchernlim\n        │               └── testProject\n        │                   └── service\n        │                       └── HelloWorldServiceSpec.groovy\n        └── resources\n            ├── application.yml\n            └── logback-test.xml\n\n17 directories, 9 files\n```                    ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-jar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-jar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fchoonchernlim-archetype-jar/lists"}