{"id":34936910,"url":"https://github.com/microsphere-projects/microsphere-build","last_synced_at":"2026-04-04T09:02:14.690Z","repository":{"id":154114827,"uuid":"532425307","full_name":"microsphere-projects/microsphere-build","owner":"microsphere-projects","description":"Common build settings, plugins configuration, etc. for Microsphere Projects","archived":false,"fork":false,"pushed_at":"2026-04-04T07:05:56.000Z","size":375,"stargazers_count":8,"open_issues_count":0,"forks_count":30,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T08:26:31.551Z","etag":null,"topics":["build","cicd","cloud","github-actions","java","java17","java8","maven","microservices","microsphere","nexus"],"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/microsphere-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-04T03:07:30.000Z","updated_at":"2026-04-04T07:06:00.000Z","dependencies_parsed_at":"2025-11-27T23:03:04.895Z","dependency_job_id":null,"html_url":"https://github.com/microsphere-projects/microsphere-build","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/microsphere-projects/microsphere-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsphere-projects","download_url":"https://codeload.github.com/microsphere-projects/microsphere-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsphere-projects%2Fmicrosphere-build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31393782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"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":["build","cicd","cloud","github-actions","java","java17","java8","maven","microservices","microsphere","nexus"],"created_at":"2025-12-26T18:16:29.731Z","updated_at":"2026-04-04T09:02:14.669Z","avatar_url":"https://github.com/microsphere-projects.png","language":"Java","readme":"# Microsphere Build\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/microsphere-projects/microsphere-build)\n[![Maven Build](https://github.com/microsphere-projects/microsphere-build/actions/workflows/maven-build.yml/badge.svg)](https://github.com/microsphere-projects/microsphere-build/actions/workflows/maven-build.yml)\n[![Codecov](https://codecov.io/gh/microsphere-projects/microsphere-build/branch/main/graph/badge.svg)](https://app.codecov.io/gh/microsphere-projects/microsphere-build)\n![Maven](https://img.shields.io/maven-central/v/io.github.microsphere-projects/microsphere-build.svg)\n![License](https://img.shields.io/github/license/microsphere-projects/microsphere-build.svg)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/microsphere-projects/microsphere-build.svg)](http://isitmaintained.com/project/microsphere-projects/microsphere-build \"Average time to resolve an issue\")\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/microsphere-projects/microsphere-build.svg)](http://isitmaintained.com/project/microsphere-projects/microsphere-build \"Percentage of issues still open\")\n\n## Introduction\n\nMicrosphere Build is a Java Maven parent POM with common build settings, plugins configuration, etc, which is used for \nMicrosphere Projects, like [Microsphere Java](https://github.com/microsphere-projects/microsphere-java), \n[Microsphere Spring](https://github.com/microsphere-projects/microsphere-spring), etc.\n\n\n## Features\n\nMicrosphere Build supports the following features:\n- Language Support\n- Plugins Management\n- Profiles Management\n- Project Settings\n\n### Language Support\n\nMicrosphere Build supports the Maven project building on Java TLS versions:\n- 8\n- 11\n- 17\n- 21\n- 25\n\n### Plugins Management\n\n#### Default Inherited Plugins\n\n- [Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/) (3.15.0)\n- [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) (3.4.0)\n- [Flatten Maven Plugin](https://www.mojohaus.org/flatten-maven-plugin/) (1.7.3)\n\n#### Profile-Specific Plugins\n\n##### Maven Profile `publish` Plugins (Recommended, since 0.2.0)\n\n- [Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) (3.12.0)\n- [Maven Release Plugin](https://maven.apache.org/plugins/maven-release-plugin/) (3.3.1)\n- [Maven Enforce Plugin](https://maven.apache.org/enforcer/maven-enforcer-plugin/) (3.6.2)\n- [Maven GPG Plugin](https://maven.apache.org/plugins/maven-gpg-plugin/) (3.2.8)\n- [Git Commit Id Plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin) (4.9.10)\n- [Central Publishing Maven Plugin](https://central.sonatype.com/artifact/org.sonatype.central/central-publishing-maven-plugin) (0.10.0)\n\n\u003e As of June 30, 2025 OSSRH has reached end of life and has been shut down. All OSSRH namespaces have been migrated to [Central Publisher Portal](https://central.sonatype.org/pages/ossrh-eol/).\n\u003e \n\u003e See [Publishing By Using the Maven Plugin](https://central.sonatype.org/publish/publish-portal-maven/).\n  \n##### Maven Profile `release` Plugins\n\n- [Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) (3.12.0)\n- [Maven Release Plugin](https://maven.apache.org/plugins/maven-release-plugin/) (3.3.1)\n- [Maven Enforce Plugin](https://maven.apache.org/enforcer/maven-enforcer-plugin/) (3.6.2)\n- [Maven GPG Plugin](https://maven.apache.org/plugins/maven-gpg-plugin/) (3.2.8)\n- [Git Commit Id Plugin](https://github.com/git-commit-id/git-commit-id-maven-plugin) (4.9.10)\n- [Nexus Maven Plugin](https://github.com/sonatype/nexus-maven-plugins) (1.7.0)\n\n\u003e If you want to release the Java artifacts using OSSRH staging API, please see [Publishing By Using the Portal OSSRH Staging API](https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/).\n\n##### Maven Profile `ci` Plugins\n\n- [Sign Maven Plugin](https://www.simplify4u.org/sign-maven-plugin/) (1.1.0)\n\n##### Maven Profile `test` Plugins\n\n- [Maven Failsafe Plugin](https://maven.apache.org/surefire/maven-failsafe-plugin/) (3.5.5)\n- [Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin/) (3.6.0)\n- [Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin/) (3.5.5)\n\n##### Maven Profile `coverage` Plugins\n\n- [Maven JaCoCo Plugin](https://www.eclemma.org/jacoco/) (0.8.14)\n\n##### Maven Profile `docs` Plugins\n\n- [Asciidoctor Maven Plugin](https://github.com/asciidoctor/asciidoctor-maven-plugin) (3.2.0)\n- [Docbkx Maven Plugin](https://github.com/mimil/docbkx-tools) (2.0.17)\n- [Build Helper Maven Plugin](https://www.mojohaus.org/build-helper-maven-plugin/) (3.6.1)\n\n### Profiles Management\n\n- `publish` (Recommended, since 0.2.0)\n- `release` (Legacy)\n- `ci`\n- `test`\n- `coverage`\n- `docs`\n- `java8+` (activated by JDK version)\n- `java9+` (activated by JDK version)\n- `java11+` (activated by JDK version)\n- `java9-15` (activated by JDK version)\n- `java16+` (activated by JDK version)\n- `java17+` (activated by JDK version)\n\n### 2.4 Project Settings\n\n#### 2.4.1 Default Settings\n\n##### 2.4.1.1 Resources Settings\n\n```xml\n\u003cresources\u003e\n    \u003cresource\u003e\n        \u003cdirectory\u003esrc/main/java\u003c/directory\u003e\n        \u003cfiltering\u003etrue\u003c/filtering\u003e\n        \u003cincludes\u003e\n            \u003cinclude\u003e**/*.properties\u003c/include\u003e\n            \u003cinclude\u003e**/*.xml\u003c/include\u003e\n        \u003c/includes\u003e\n    \u003c/resource\u003e\n    \u003cresource\u003e\n        \u003cdirectory\u003esrc/main/resources\u003c/directory\u003e\n        \u003cfiltering\u003etrue\u003c/filtering\u003e\n        \u003cincludes\u003e\n            \u003cinclude\u003e**/*\u003c/include\u003e\n        \u003c/includes\u003e\n    \u003c/resource\u003e\n\u003c/resources\u003e\n```\n\n#### Profiles Settings\n\n##### Maven Profile `java8+` Settings\n\n[Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) will be added the options `-Xdoclint:none`.\n\n[Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin/)'s version : 9.3\n\n\n##### Maven Profile `java9+` Settings\n\n[Maven Compiler Plugin](https://maven.apache.org/plugins/maven-compiler-plugin/)'s property `maven.compiler.release` \nreferences on the another property `${java.version}`.\n\n\n#### Maven Profile `java11+` Settings\n\n[Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) will use the configuration `source`\nbased on the property `${maven.compiler.source}`.\n\n[Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin/)'s version : 10.26.1\n\n\n#### Maven Profile `java9-15` Settings\n\n[Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin/) will append the argument line \n`--illegal-access=permit` for accessing to internal classes\n\n\n#### Maven Profile `java16+` Settings\n\n[Maven Surefire Plugin](https://maven.apache.org/surefire/maven-surefire-plugin/) will append the argument line\n`--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED` for accessing to \nJDK modules' classes.\n\n\n#### Maven Profile `java17+` Settings\n\n[Maven Checkstyle Plugin](https://maven.apache.org/plugins/maven-checkstyle-plugin/)'s version : 13.4.0\n\n\n## Usage\n\n### Java 8+ Maven Project\n\nThe root project's pom.xml should set the parent as follows:\n\n```xml\n    \u003cparent\u003e\n        \u003cgroupId\u003eio.github.microsphere-projects\u003c/groupId\u003e\n        \u003cartifactId\u003emicrosphere-build\u003c/artifactId\u003e\n        \u003cversion\u003e0.2.3\u003c/version\u003e\n    \u003c/parent\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosphere-projects%2Fmicrosphere-build/lists"}