{"id":21900407,"url":"https://github.com/tangxbai/plugin-release-parent","last_synced_at":"2026-05-16T13:33:24.224Z","repository":{"id":57729426,"uuid":"218714216","full_name":"tangxbai/plugin-release-parent","owner":"tangxbai","description":"Maven Central release snapshot parent pom","archived":false,"fork":false,"pushed_at":"2020-03-10T04:39:49.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-14T04:49:25.418Z","etag":null,"topics":["central","maven","plugin","snapshot","template"],"latest_commit_sha":null,"homepage":"https://github.com/tangxbai/plugin-release-parent","language":null,"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/tangxbai.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}},"created_at":"2019-10-31T08:02:09.000Z","updated_at":"2020-03-10T04:39:51.000Z","dependencies_parsed_at":"2022-09-10T21:51:35.912Z","dependency_job_id":null,"html_url":"https://github.com/tangxbai/plugin-release-parent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tangxbai/plugin-release-parent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangxbai%2Fplugin-release-parent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangxbai%2Fplugin-release-parent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangxbai%2Fplugin-release-parent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangxbai%2Fplugin-release-parent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangxbai","download_url":"https://codeload.github.com/tangxbai/plugin-release-parent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangxbai%2Fplugin-release-parent/sbom","scorecard":{"id":867878,"data":{"date":"2025-08-11","repo":{"name":"github.com/tangxbai/plugin-release-parent","commit":"31f8bd0e9e942996ff60b03d6a8e71b2cccca5d6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/9 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T03:13:27.808Z","repository_id":57729426,"created_at":"2025-08-24T03:13:27.808Z","updated_at":"2025-08-24T03:13:27.808Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33104499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["central","maven","plugin","snapshot","template"],"created_at":"2024-11-28T15:08:04.753Z","updated_at":"2026-05-16T13:33:24.188Z","avatar_url":"https://github.com/tangxbai.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# 项目发布快照\r\n\r\n[![license](https://img.shields.io/badge/license-Apache%202.0-blue)](http://www.apache.org/licenses/LICENSE-2.0.html) [![Central](https://img.shields.io/badge/maven%20central-v2-brightgreen)](https://search.maven.org/artifact/com.viiyue.plugins/plugin-release-parent/2/pom)\r\n\r\n用于抽离项目发布到Maven中央库的一些基础配置，从而使子项目可以忽略这些繁琐的配置，仅关注于当前项目所需的配置。\r\n\r\n凡是继承此pom配置的子项目将获得这些公用配置，并使用一些基础命令即可将项目发布到Maven中央库。\r\n\r\n\r\n\r\n## 公共内容\r\n\r\n- Licenses\r\n  - license\r\n    - name - The Apache Software License, Version 2.0\r\n    - url - http://www.apache.org/licenses/LICENSE-2.0.txt\r\n- Developer\r\n  - developer\r\n    - id - xbai\r\n    - name - tangxbai\r\n    - email - tangxbai@hotmail.com\r\n    - url - https://github.com/tangxbai\r\n    - roles - Java Developer\r\n- Repositories\r\n  - repository\r\n    - id - ossrh\r\n    - name - Sonatype Nexus Snapshots\r\n    - url - https://oss.sonatype.org/content/repositories/snapshots\r\n- DistributionManagement\r\n  - snapshotRepository\r\n    - id - ossrh\r\n    - name - Sonatype Nexus Snapshots\r\n    - url - https://oss.sonatype.org/content/repositories/snapshots\r\n  - repository\r\n    - id - ossrh\r\n    - name - Nexus Release Repository\r\n    - url - https://oss.sonatype.org/service/local/staging/deploy/maven2\r\n- Profiles\r\n  - default\r\n    - 生成项目相关jar包 - xxx.jar\r\n  - license\r\n    - 添加文件许可证头部注释\r\n  - release\r\n    - 生成项目jar源文件 - xxx-source.jar\r\n    - 生成项目文档 - xxx-javadoc.jar\r\n    - 对文件进行签名 - xxx-xxx.xxx.asc\r\n\r\n\r\n\r\n## 配置setting.xml\r\n\r\n更改Maven配置，这一步骤是必不可少的，如果已经配置了其他server，再添加一个 `ossrh` 的server节点即可。\r\n\r\n```xml\r\n\u003cservers\u003e\r\n    \u003cserver\u003e\r\n        \u003cid\u003eossrh\u003c/id\u003e\r\n        \u003cusername\u003e...\u003c/username\u003e\r\n        \u003cpassword\u003e***\u003c/password\u003e\r\n    \u003c/server\u003e\r\n\u003c/servers\u003e\r\n```\r\n\r\n\r\n\r\n## 基础命令\r\n\r\n```shell\r\n# 清空安装目录\r\n$ mvn clean\r\n\r\n# 清空并打包项目资源\r\n$ mvn clean package\r\n\r\n# 清空并安装项目资源（会判断是否有license.txt文件，有则自动添加文件头部许可证注释）\r\n$ mvn clean install\r\n$ mvn clean install -Plicense\r\n\r\n# 清空并打包项目然后发布资源到Maven中央库\r\n$ mvn clean deploy -Prelease\r\n```\r\n\r\n\r\n\r\n## 许可证忽略文件规则\r\n\r\n```ini\r\n[Mac]\r\n**/.DS_Store\r\n\r\n[RCS]\r\n**/RCS\r\n**/RCS/**\r\n\r\n[SCCS]\r\n**/SCCS\r\n**/SCCS/**\r\n\r\n[CVS]\r\n**/CVS\r\n**/CVS/**\r\n**/.cvsignore\r\n\r\n[Arch]\r\n**/.arch-ids\r\n**/.arch-ids/**\r\n\r\n[Flash]\r\n**/*.swf\r\n\r\n[Fonts]\r\n**/*.svg\r\n**/*.eot\r\n**/*.ttf\r\n**/*.woff\r\n\r\n[Bazaar]\r\n**/.bzr\r\n**/.bzr/**\r\n\r\n[Git]\r\n**/.git\r\n**/.git/**\r\n**/.gitignore\r\n**/.gitmodules\r\n\r\n[Darcs]\r\n**/_darcs\r\n**/_darcs/**\r\n**/.darcsrepo\r\n**/.darcsrepo/**\r\n**/-darcs-backup*\r\n**/.darcs-temp-mail\r\n\r\n[Travis]\r\n**/.travis.yml\r\n\r\n[BitKeeper]\r\n**/BitKeeper\r\n**/BitKeeper/**\r\n**/ChangeSet\r\n**/ChangeSet/**\r\n\r\n[Mercurial]\r\n**/.hg\r\n**/.hg/**\r\n**/.hgignore\r\n\r\n[Subversion]\r\n**/.svn\r\n**/.svn/**\r\n\r\n[Json files]\r\n**/*.json\r\n\r\n[Netbeans]\r\n**/nb-configuration.xml\r\n\r\n[Descriptors]\r\n**/MANIFEST.MF\r\n\r\n[SurroundSCM]\r\n**/.MySCMServerInfo\r\n\r\n[Markdown files]\r\n**/*.md\r\n\r\n[Checksum files]\r\n**/*.md5\r\n**/*.sha1\r\n\r\n[IDEA projet files]\r\n**/*.iml\r\n**/*.ipr\r\n**/*.iws\r\n.idea/**\r\n\r\n[Visual SourceSafe]\r\n**/vssver.scc\r\n\r\n[ServiceLoader files]\r\n**/META-INF/services/**\r\n\r\n[Code coverage tools]\r\n**/cobertura.ser\r\n**/.clover/**\r\n\r\n[Eclipse project files]\r\n**/.classpath\r\n**/.project\r\n**/.settings/**\r\n\r\n[Binary files - images]\r\n**/*.jpg\r\n**/*.png\r\n**/*.gif\r\n**/*.ico\r\n**/*.bmp\r\n**/*.tiff\r\n**/*.tif\r\n**/*.cr2\r\n**/*.xcf\r\n\r\n[Binary files - programs]\r\n**/*.class\r\n**/*.exe\r\n**/*.dll\r\n**/*.so\r\n\r\n[Binary files - archives]\r\n**/*.jar\r\n**/*.zip\r\n**/*.rar\r\n**/*.tar\r\n**/*.tar.gz\r\n**/*.tar.bz2\r\n**/*.gz\r\n\r\n[Office documents]\r\n**/*.xls\r\n**/*.doc\r\n**/*.odt\r\n**/*.ods\r\n**/*.pdf\r\n**/*.xlsx\r\n**/*.docx\r\n**/*.ppt\r\n**/*.pptx\r\n\r\n[Serena Dimensions Version 10]\r\n**/.metadata\r\n**/.metadata/**\r\n\r\n[Maven project's temporary files]\r\n**/target/**\r\n**/test-output/**\r\n**/release.properties\r\n**/dependency-reduced-pom.xml\r\n**/release-pom.xml\r\n**/pom.xml.releaseBackup\r\n\r\n[Miscellaneous typical temporary files]\r\n**/*~\r\n**/#*#\r\n**/.#*\r\n**/%*%\r\n**/._*\r\n**/.repository/**\r\n\r\n[Customize]\r\nmvnw\r\nmvnw.cmd\r\nICLA\r\nKEYS\r\nNOTICE\r\nLICENSE\r\n**/*.dat\r\n**/*.lck\r\n**/*.log\r\n**/*.ctrl\r\n**/*.providers\r\n**/*.factories\r\n**/*.properties\r\n**/META-INF/**\r\n**/.eclipse\r\n**/.eclipse/**\r\n**/.myeclipse\r\n**/.myeclipse/**\r\n**/.factorypath\r\n**/.factorypath/**\r\n**/.gitattributes\r\n**/.gitattributes/**\r\n```\r\n\r\n\r\n\r\n## 关于作者\r\n\r\n- 邮箱：tangxbai@hotmail.com\r\n- 掘金： https://juejin.im/user/5da5621ce51d4524f007f35f\r\n- 简书： https://www.jianshu.com/u/e62f4302c51f\r\n- Issuse：https://github.com/tangxbai/plugin-release-parent/issues","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangxbai%2Fplugin-release-parent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangxbai%2Fplugin-release-parent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangxbai%2Fplugin-release-parent/lists"}