{"id":25233577,"url":"https://github.com/kokuwaio/maven-parent","last_synced_at":"2025-04-05T17:13:08.073Z","repository":{"id":52231374,"uuid":"264403715","full_name":"kokuwaio/maven-parent","owner":"kokuwaio","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-29T09:51:06.000Z","size":355,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T11:52:52.021Z","etag":null,"topics":["maven","parent"],"latest_commit_sha":null,"homepage":"https://maven.kokuwa.io/maven-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/kokuwaio.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-16T09:35:34.000Z","updated_at":"2024-10-29T09:51:09.000Z","dependencies_parsed_at":"2023-10-23T11:45:32.867Z","dependency_job_id":"5380dbc9-cb17-4d73-bf71-60d7fc93b80f","html_url":"https://github.com/kokuwaio/maven-parent","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokuwaio%2Fmaven-parent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokuwaio%2Fmaven-parent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokuwaio%2Fmaven-parent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kokuwaio%2Fmaven-parent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kokuwaio","download_url":"https://codeload.github.com/kokuwaio/maven-parent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":["maven","parent"],"created_at":"2025-02-11T13:57:14.961Z","updated_at":"2025-04-05T17:13:08.023Z","avatar_url":"https://github.com/kokuwaio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Maven Parent\n\n[![License](https://img.shields.io/github/license/kokuwaio/maven-parent.svg?label=License)](https://github.com/kokuwaio/maven-parent/blob/main/LICENSE)\n[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.maven/maven-parent.svg?label=Maven%20Central)](https://central.sonatype.com/namespace/io.kokuwa.maven)\n[![Build](https://img.shields.io/github/actions/workflow/status/kokuwaio/maven-parent/build.yaml?label=Build)](https://github.com/kokuwaio/maven-parent/actions/workflows/build.yaml)\n\n## Goal\n\nProvide a `pom.xml` with [intelligent defaults](https://en.wikipedia.org/wiki/Convention_over_configuration) for projects of Kokuwa.io project.\nThe default maven configuration is still based on [Java 5](https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source) and platform dependent builds.\n\n## KeyFacts\n\n* java 11 (lts version)\n* [junit jupiter](http://junit.org/junit5/docs/current/user-guide/) (junit 4 is [still supported](http://junit.org/junit5/docs/current/user-guide/#running-tests-junit-platform-runner) for legacy projects)\n* Sonatype distribution repositories enabled\n* fixed versions for common plugins (org.apache.maven.plugins \u0026 org.codehaus.mojo)\n* default configurations, e.g. java 11, junit 5 provider\n* configured maven reports and site\n\n## Usage\n\nJust add the following code to your `pom.xml` and insert the version:\n\n```xml\n\u003cparent\u003e\n \u003cgroupId\u003eio.kokuwa\u003c/groupId\u003e\n \u003cartifactId\u003emaven-parent\u003c/artifactId\u003e\n \u003cversion\u003e${version}\u003c/version\u003e\n \u003crelativePath /\u003e\n\u003c/parent\u003e\n```\n\nFor deployment and release build add the following lines to your `pom.xml` and replace the variables with your values:\n\n```xml\n\u003curl\u003ehttps://github.com/kokuwaio/{repository}\u003c/url\u003e\n\u003cscm\u003e\n \u003curl\u003ehttps://github.com/kokuwaio/{repository}\u003c/url\u003e\n \u003cconnection\u003escm:git:https://github.com/kokuwaio/{repository}.git\u003c/connection\u003e\n \u003cdeveloperConnection\u003escm:git:https://github.com/kokuwaio/{repository}.git\u003c/developerConnection\u003e\n \u003ctag\u003eHEAD\u003c/tag\u003e\n\u003c/scm\u003e\n```\n\n## Profiles\n\n**check** (enabled by default):\n\n* use [tidy-maven-plugin](http://www.mojohaus.org/tidy-maven-plugin/) to check pom structure\n* enforce correct java version (accepts all versions equal or above property **maven.compiler.source**)\n* enforce checkstyle rules\n\n**site**: (enabled if env.CI is present)\n\n* test instrumentation with jacoco for recording test coverage\n* configures site deployment to [github.com/kokuwaio/maven-sites](https://github.com/kokuwaio/maven-sites)\n\n**deploy**: (enabled if env.CI is present)\n\n* add source jar\n* add javadoc jar\n* use [flatten-maven-plugin](http://www.mojohaus.org/tidy-maven-plugin/) to simplify pom\n\n**deploy** with **release** (match Sonatype [requirements](https://central.sonatype.org/pages/requirements.html)):\n\n* add source jar\n* add javadoc jar\n* use [flatten-maven-plugin](http://www.mojohaus.org/tidy-maven-plugin/) to simplify pom\n* sign packages with gpg\n* deploy to [oss.sonatype.org](https://oss.sonatype.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkokuwaio%2Fmaven-parent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkokuwaio%2Fmaven-parent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkokuwaio%2Fmaven-parent/lists"}