{"id":51140712,"url":"https://github.com/consulo/java9-maven-plugin","last_synced_at":"2026-06-25T22:30:33.520Z","repository":{"id":148691300,"uuid":"141123456","full_name":"consulo/java9-maven-plugin","owner":"consulo","description":"Java 9 module-info generator","archived":false,"fork":false,"pushed_at":"2026-03-15T10:01:39.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-15T22:49:23.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/consulo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-16T10:27:03.000Z","updated_at":"2026-03-15T10:01:43.000Z","dependencies_parsed_at":"2023-05-28T16:30:24.844Z","dependency_job_id":null,"html_url":"https://github.com/consulo/java9-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/consulo/java9-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consulo%2Fjava9-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consulo%2Fjava9-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consulo%2Fjava9-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consulo%2Fjava9-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/consulo","download_url":"https://codeload.github.com/consulo/java9-maven-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consulo%2Fjava9-maven-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34795436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-25T22:30:33.050Z","updated_at":"2026-06-25T22:30:33.507Z","avatar_url":"https://github.com/consulo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java 9 module generator - maven plugin\n\n## About\n\nThis plugin will helps migration from Java 8 to Java 9. It will generate module-info.class file while Java 8 compilation, which will be usable while Java 9 compilation. At Java 8 file will be ignored\n\n## Goals\n *  `generate-source-module-info` - generate source module info, and add it to generated source directory (**ignored if running in pre java 9 jdk**)\n *  `generate-source-module-info-nocheck` - generate source module info without JDK check\n *  `generate-binary-module-info` - generate binary module info, and add it to build directory (**ignored if running in java 9+ jdk**)\n *  `generate-binary-module-info-nocheck` - generate binary module info without JDK check\n\n## Module declaration\n\nYou can declarate module in few ways.\n\n### First\nVia module-info.java file in  src/main directory\n\n```java\nopen module untitled {\n\trequires transitive org.objectweb.asm;\n}\n```\n\n### Second\n\nVia plugin configuration\n\n```xml\n\u003cplugin\u003e\n\t\u003cgroupId\u003econsulo.maven\u003c/groupId\u003e\n\t\u003cartifactId\u003ejava9-maven-plugin\u003c/artifactId\u003e\n\t\u003cversion\u003e1.0-SNAPSHOT\u003c/version\u003e\n\t\u003cextensions\u003etrue\u003c/extensions\u003e\n\t\u003cconfiguration\u003e\n\t\t\u003cmodule\u003e\n\t\t\t\u003copen\u003etrue\u003c/open\u003e\n\t\t\t\u003cname\u003euntitled\u003c/name\u003e\n\t\t\t\u003crequires\u003e\n\t\t\t\t\u003crequire\u003e\n\t\t\t\t\t\u003cmodule\u003eorg.objectweb.asm\u003c/module\u003e\n\t\t\t\t\t\u003ctransitive\u003etrue\u003c/transitive\u003e\n\t\t\t\t\u003c/require\u003e\n\t\t\t\u003c/requires\u003e\n\t\t\u003c/module\u003e\n\t\u003c/configuration\u003e\n\u003c/plugin\u003e\n\n```\n\n## Usage example\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cproject xmlns=\"http://maven.apache.org/POM/4.0.0\"\n\t\t xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n\t\t xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\"\u003e\n\t\u003cmodelVersion\u003e4.0.0\u003c/modelVersion\u003e\n\n\t\u003cgroupId\u003econsulo.internal\u003c/groupId\u003e\n\t\u003cartifactId\u003euntitled4\u003c/artifactId\u003e\n\t\u003cversion\u003e1.0\u003c/version\u003e\n\n\t\u003cpluginRepositories\u003e\n\t\t\u003cpluginRepository\u003e\n\t\t\t\u003cid\u003econsulo\u003c/id\u003e\n\t\t\t\u003curl\u003ehttps://maven.consulo.io/repository/snapshots/\u003c/url\u003e\n\t\t\t\u003csnapshots\u003e\n\t\t\t\t\u003cenabled\u003etrue\u003c/enabled\u003e\n\t\t\t\t\u003cupdatePolicy\u003ealways\u003c/updatePolicy\u003e\n\t\t\t\u003c/snapshots\u003e\n\t\t\u003c/pluginRepository\u003e\n\t\u003c/pluginRepositories\u003e\n\n\t\u003cbuild\u003e\n\t\t\u003cplugins\u003e\n\t\t\t\u003cplugin\u003e\n\t\t\t\t\u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n\t\t\t\t\u003cartifactId\u003emaven-compiler-plugin\u003c/artifactId\u003e\n\t\t\t\t\u003cversion\u003e3.7.0\u003c/version\u003e\n\t\t\t\t\u003cconfiguration\u003e\n\t\t\t\t\t\u003csource\u003e1.8\u003c/source\u003e\n\t\t\t\t\t\u003ctarget\u003e1.8\u003c/target\u003e\n\t\t\t\t\u003c/configuration\u003e\n\t\t\t\u003c/plugin\u003e\n\n\t\t\t\u003cplugin\u003e\n\t\t\t\t\u003cgroupId\u003econsulo.maven\u003c/groupId\u003e\n\t\t\t\t\u003cartifactId\u003ejava9-maven-plugin\u003c/artifactId\u003e\n\t\t\t\t\u003cversion\u003e1.0-SNAPSHOT\u003c/version\u003e\n\t\t\t\t\u003cextensions\u003etrue\u003c/extensions\u003e\n\t\t\t\t\u003c!--required if no module-info.java in ${project.basedir}/src/main/\n\t\t\t\t\u003cconfiguration\u003e\n\t\t\t\t\t\u003cmodule\u003e\n\t\t\t\t\t\t\u003copen\u003etrue\u003c/open\u003e\n\t\t\t\t\t\t\u003cname\u003euntitled\u003c/name\u003e\n\t\t\t\t\t\t\u003crequires\u003e\n\t\t\t\t\t\t\t\u003crequire\u003e\n\t\t\t\t\t\t\t\t\u003cmodule\u003eorg.objectweb.asm\u003c/module\u003e\n\t\t\t\t\t\t\t\t\u003ctransitive\u003etrue\u003c/transitive\u003e\n\t\t\t\t\t\t\t\u003c/require\u003e\n\t\t\t\t\t\t\u003c/requires\u003e\n\t\t\t\t\t\u003c/module\u003e\n\t\t\t\t\u003c/configuration\u003e\n\t\t\t\t--\u003e\n\t\t\t\t\u003cexecutions\u003e\n\t\t\t\t\t\u003cexecution\u003e\n\t\t\t\t\t\t\u003cid\u003ejava9\u003c/id\u003e\n\t\t\t\t\t\t\u003cphase\u003egenerate-sources\u003c/phase\u003e\n\t\t\t\t\t\t\u003cgoals\u003e\n\t\t\t\t\t\t\t\u003cgoal\u003egenerate-source-module-info\u003c/goal\u003e\n\t\t\t\t\t\t\u003c/goals\u003e\n\t\t\t\t\t\u003c/execution\u003e\n\t\t\t\t\t\u003cexecution\u003e\n\t\t\t\t\t\t\u003cid\u003epre-java9\u003c/id\u003e\n\t\t\t\t\t\t\u003cphase\u003eprocess-classes\u003c/phase\u003e\n\t\t\t\t\t\t\u003cgoals\u003e\n\t\t\t\t\t\t\t\u003cgoal\u003egenerate-binary-module-info\u003c/goal\u003e\n\t\t\t\t\t\t\u003c/goals\u003e\n\t\t\t\t\t\u003c/execution\u003e\n\t\t\t\t\u003c/executions\u003e\n\t\t\t\u003c/plugin\u003e\n\t\t\u003c/plugins\u003e\n\t\u003c/build\u003e\n\n\t\u003cdependencies\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.ow2.asm\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003easm\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e6.2\u003c/version\u003e\n\t\t\u003c/dependency\u003e\n\t\u003c/dependencies\u003e\n\u003c/project\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsulo%2Fjava9-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsulo%2Fjava9-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsulo%2Fjava9-maven-plugin/lists"}