{"id":20519932,"url":"https://github.com/airshiplay/yang-maven-plugin","last_synced_at":"2025-04-14T02:11:53.386Z","repository":{"id":47771729,"uuid":"101258423","full_name":"airshiplay/yang-maven-plugin","owner":"airshiplay","description":"yang-maven-plugin based on JNC( Java NETCONF Client, https://github.com/tail-f-systems/JNC ) ,and a plugin for pyang to generate Java classes from YANG models","archived":false,"fork":false,"pushed_at":"2021-08-13T15:36:37.000Z","size":5220,"stargazers_count":4,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T02:11:47.521Z","etag":null,"topics":["jnc","maven-plugin","netconf","pyang","tail-f-systems","yang","yang-model"],"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/airshiplay.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":"2017-08-24T05:45:28.000Z","updated_at":"2024-09-20T15:43:18.000Z","dependencies_parsed_at":"2022-08-23T22:00:52.349Z","dependency_job_id":null,"html_url":"https://github.com/airshiplay/yang-maven-plugin","commit_stats":null,"previous_names":["airshiplay/play-yang"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airshiplay%2Fyang-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airshiplay%2Fyang-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airshiplay%2Fyang-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airshiplay%2Fyang-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airshiplay","download_url":"https://codeload.github.com/airshiplay/yang-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809051,"owners_count":21164896,"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":["jnc","maven-plugin","netconf","pyang","tail-f-systems","yang","yang-model"],"created_at":"2024-11-15T22:17:04.022Z","updated_at":"2025-04-14T02:11:53.355Z","avatar_url":"https://github.com/airshiplay.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# play-yang\n Play Yang  based on JNC,and a plugin for pyang to generate Java classes from YANG models.\n \n Reference\n [JNC](https://github.com/tail-f-systems/JNC)\n [pyang](https://github.com/mbj4668/pyang)\n# play-jnc\nModify based on [JNC](https://github.com/tail-f-systems/JNC)\n\n# yang-maven-plugin\n\nDownload\n--------\n\nDownload [the latest JAR](https://search.maven.org/remote_content?g=com.airlenet.yang\u0026a=yang-maven-plugin\u0026v=LATEST) or grab via Maven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.airlenet.yang\u003c/groupId\u003e\n  \u003cartifactId\u003eyang-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e1.2.0-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\nor Gradle:\n```groovy\ncompile 'com.airlenet.yang:yang-maven-plugin:1.2.0-SNAPSHOT'\n```\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository](https://oss.sonatype.org/content/repositories/snapshots/com/airlenet/yang/yang-maven-plugin).\n\nUsage\n--------\n\n```\n\u003cplugins\u003e\n    \u003cplugin\u003e\n        \u003cgroupId\u003ecom.airlenet.yang\u003c/groupId\u003e\n        \u003cartifactId\u003eyang-maven-plugin\u003c/artifactId\u003e\n        \u003cversion\u003e1.2.0-SNAPSHOT\u003c/version\u003e\n        \u003cconfiguration\u003e\n            \u003cskip\u003efalse\u003c/skip\u003e\n            \u003cshowWarnings\u003efalse\u003c/showWarnings\u003e\n            \u003cerrorAbort\u003efalse\u003c/errorAbort\u003e\n            \u003cexcludes\u003e\n                \u003cexclude\u003etailf/*.yang\u003c/exclude\u003e\n                \u003cexclude\u003eietf/*.yang\u003c/exclude\u003e\n                \u003cexclude\u003eiana/*.yang\u003c/exclude\u003e\n            \u003c/excludes\u003e\n        \u003c/configuration\u003e\n        \u003cexecutions\u003e\n            \u003cexecution\u003e\n                \u003cid\u003eprocess\u003c/id\u003e\n                \u003cgoals\u003e\n                    \u003cgoal\u003eprocess\u003c/goal\u003e\n                \u003c/goals\u003e\n                \u003cconfiguration\u003e\n                    \u003coutputDirectory\u003etarget/generated-sources/java\u003c/outputDirectory\u003e\u003c!-- src/main/java --\u003e\n                    \u003cpackageName\u003ecom.airlenet.yang.model\u003c/packageName\u003e\n                \u003c/configuration\u003e\n            \u003c/execution\u003e\n        \u003c/executions\u003e\n    \u003c/plugin\u003e\n    \u003c!-- add source resource: java class \u0026 resource --\u003e\n    \u003cplugin\u003e\n       \u003cgroupId\u003eorg.codehaus.mojo\u003c/groupId\u003e\n       \u003cartifactId\u003ebuild-helper-maven-plugin\u003c/artifactId\u003e\n       \u003cversion\u003e1.7\u003c/version\u003e\n       \u003cexecutions\u003e\n           \u003cexecution\u003e\n               \u003cid\u003eadd-source\u003c/id\u003e\n               \u003cphase\u003egenerate-sources\u003c/phase\u003e\n               \u003cgoals\u003e\n                   \u003cgoal\u003eadd-source\u003c/goal\u003e\n               \u003c/goals\u003e\n               \u003cconfiguration\u003e\n                   \u003csources\u003e\n                       \u003csource\u003etarget/generated-sources/java\u003c/source\u003e\n                   \u003c/sources\u003e\n               \u003c/configuration\u003e\n           \u003c/execution\u003e\n           \u003cexecution\u003e\n               \u003cid\u003eadd-resource\u003c/id\u003e\n               \u003cphase\u003egenerate-resources\u003c/phase\u003e\n               \u003cgoals\u003e\n                   \u003cgoal\u003eadd-resource\u003c/goal\u003e\n               \u003c/goals\u003e\n               \u003cconfiguration\u003e\n                   \u003cresources\u003e\n                       \u003cresource\u003e\n                           \u003cdirectory\u003etarget/generated-sources/java\u003c/directory\u003e\n                       \u003c/resource\u003e\n                   \u003c/resources\u003e\n               \u003c/configuration\u003e\n           \u003c/execution\u003e\n       \u003c/executions\u003e\n    \u003c/plugin\u003e\n\u003c/plugins\u003e\n```\n```\nmvn package                 # generator java class from yang model,compile,package\n\nmvn yang:validate           # validate yang model\n```\n [yang-example](https://github.com/airshiplay/play-yang/tree/master/yang-example)\n\n\n## License\nSee [License File](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairshiplay%2Fyang-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairshiplay%2Fyang-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairshiplay%2Fyang-maven-plugin/lists"}