{"id":15063063,"url":"https://github.com/choonchernlim/spring-boot-ci","last_synced_at":"2026-02-11T07:03:27.721Z","repository":{"id":57719661,"uuid":"91372143","full_name":"choonchernlim/spring-boot-ci","owner":"choonchernlim","description":"Spring-Boot-friendly parent POM to 1) generate static code analysis reports for CI server,  2) deploy artifacts to Sonatype OSSRH, and 3) deploy site documentation to GitHub.","archived":false,"fork":false,"pushed_at":"2018-12-03T21:50:26.000Z","size":107,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-31T22:27:37.848Z","etag":null,"topics":["java","jenkins","maven","spring","spring-boot"],"latest_commit_sha":null,"homepage":null,"language":null,"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}},"created_at":"2017-05-15T18:40:17.000Z","updated_at":"2018-12-03T21:50:02.000Z","dependencies_parsed_at":"2022-09-02T11:01:49.527Z","dependency_job_id":null,"html_url":"https://github.com/choonchernlim/spring-boot-ci","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/choonchernlim/spring-boot-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fspring-boot-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fspring-boot-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fspring-boot-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fspring-boot-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choonchernlim","download_url":"https://codeload.github.com/choonchernlim/spring-boot-ci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Fspring-boot-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: 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":["java","jenkins","maven","spring","spring-boot"],"created_at":"2024-09-24T23:50:50.366Z","updated_at":"2026-02-11T07:03:27.685Z","avatar_url":"https://github.com/choonchernlim.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-ci\n\nThis parent POM:-\n \n* Consolidates static code analysis report configuration in one place and declutters app's `pom.xml`.\n* Generates reports for Continuous Integration servers ([Jenkins](https://jenkins-ci.org/), etc) and Maven site. \n* Enables Spring Boot by inheriting from the `spring-boot-starter-parent` to leverage the full power of Spring Boot.\n    * While an app may enable Spring Boot without inheriting from the `spring-boot-starter-parent`, it can only leverage Spring Boot's dependency management but not the plugin management. Furthermore, it requires the app to re-configure several plugins used by Spring Boot to continue working properly.\n* Enables Groovy compiler.\n* Includes a Maven profile to deploy:-\n    * Project artifacts to [Sonatype OSSRH (OSS Repository Hosting)](https://oss.sonatype.org).\n    * Maven generated site to project [GitHub](https://github.com/) page.\n\n## Parent POM Dependency\n\n```xml\n\u003cproject ...\u003e\n    \u003cparent\u003e\n        \u003cgroupId\u003ecom.github.choonchernlim\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-ci\u003c/artifactId\u003e\n        \u003cversion\u003e0.4.0\u003c/version\u003e\n    \u003c/parent\u003e\n    ...\n\u003c/project\u003e\n```\n\n###  Jenkins Integration\n\n```xml\nmvn clean test site\n```\n\n### Deploy to Sonatype OSSRH\n\n```xml\nmvn clean deploy -P ossrh\n```\n\n###  Deploy Site to GitHub\n\n```xml\nmvn clean test site -P ossrh\n```\n\n## Build Plugins \n\n* [Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/) - Enables Groovy compiler.\n* [Groovy Eclipse Maven Plugin](https://github.com/groovy/groovy-eclipse/wiki/Groovy-Eclipse-Maven-plugin) - Handles possible missing `src/main/java` and `src/test/java` when using Groovy.\n* [Spring Boot Maven Plugin](http://docs.spring.io/spring-boot/docs/current/maven-plugin/) - Enables Spring Boot support.\n* [Versions Maven plugin](http://www.mojohaus.org/versions-maven-plugin/) - Handles dependencies and plugins date.\n* [Surefire Maven Plugin](http://maven.apache.org/surefire/maven-surefire-plugin/) - Runs unit tests.\n* [Maven Failsafe Plugin](http://maven.apache.org/surefire/maven-failsafe-plugin/) - Runs integration tests.\n* [Maven Site Plugin](http://maven.apache.org/plugins/maven-site-plugin/) - Generates site.\n* [JaCoCo Maven Plugin](http://www.eclemma.org/jacoco/) - Code coverage report for JVM languages.\n* [Maven Enforcer Plugin](http://maven.apache.org/enforcer/maven-enforcer-plugin/) Bans certain dependencies and ensures minimum Maven version is met.\n* [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) - Generates source JAR file.\n\n## Reporting Plugins \n\n* [Maven Project Info Reports Plugin](https://maven.apache.org/plugins/maven-project-info-reports-plugin/) - Generates reports information about the project.\n* [Maven Surefire Reports Plugin](http://maven.apache.org/surefire/maven-surefire-report-plugin/) - Parses generated test results from both unit tests and integration tests.\n* [JaCoCo Maven Plugin](http://www.eclemma.org/jacoco/) - Code coverage report for JVM languages.\n* [Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) - Generates Javadoc.\n* [Maven JXR Plugin](http://maven.apache.org/plugins/maven-jxr-plugin/) - Generates a cross-reference of the project's sources.\n* [JDepend Maven Plugin](http://www.mojohaus.org/jdepend-maven-plugin/) - Generates design quality metrics for each Java package.\n* [Maven PMD Plugin](http://maven.apache.org/plugins/maven-pmd-plugin/) - Generates PMD and CPD reports.\n* [FindBugs Maven Plugin](http://www.mojohaus.org/findbugs-maven-plugin/) - Inspects Java bytecode for occurrences of bug patterns.\n* [TagList Maven Plugin](http://www.mojohaus.org/taglist-maven-plugin/) - Generates a report on various tags found in the code.\n\n## Profile: \"ossrh-deploy\" \n\n* [Nexus Staging Maven Plugin](https://github.com/sonatype/nexus-maven-plugins/tree/master/staging/maven-plugin) - Deploys artifacts to Sonatype OSSRH.\n* [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) - Generates source code.\n* [GitHub Site Plugin](https://github.com/github/maven-plugins) - Generates Maven site in project GitHub page.\n* [Maven Javadoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) - Generates Javadoc.\n* [Maven GPG Plugin](http://maven.apache.org/plugins/maven-gpg-plugin/) - Signs all of the project's attached artifacts with GnuPG..\n\n## Troubleshooting\n\n* If the JaCoCo web report is not rendering properly in the GitHub page, please read this post for solution: [JaCoCo Web Report Not Rendering Properly in GitHub Pages](http://myshittycode.com/2015/07/22/jacoco-web-report-not-rendering-properly-in-github-pages/)                                    \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fspring-boot-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoonchernlim%2Fspring-boot-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Fspring-boot-ci/lists"}