Skip to content

Commit 648bbd1

Browse files
refactor: rename databind-metaschema module to databind-modules (#617)
* refactor: rename databind-metaschema module to databind-modules (#588) Rename the Maven module directory from databind-metaschema to databind-modules for better clarity. The module contains Metaschema binding modules, not a metaschema for databind. - Rename directory databind-metaschema/ to databind-modules/ - Update parent pom.xml module reference - Update .gitmodules submodule path - Update module pom.xml SCM URL - Update all documentation references (CLAUDE.md, .claude rules/skills) - Update PRD path references - Update test resource schema path Note: Maven artifact coordinates (metaschema-databind-modules) and Java module name (gov.nist.secauto.metaschema.databind.modules) remain unchanged - only the directory name changes. Fixes #588 * chore: ignore transient 404 for databind-modules during rename PR
1 parent ccaa3df commit 648bbd1

File tree

22 files changed

+13
-11
lines changed

22 files changed

+13
-11
lines changed

.claude/rules/metaschema-authoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This rule defines repository-specific conventions for authoring Metaschema modul
2323
For YAML Metaschema modules, configure IDE validation using the generated JSON schema:
2424

2525
```text
26-
databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json
26+
databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json
2727
```
2828

2929
Build with `mvn install` first to generate the schema.

.claude/skills/metaschema-java-library.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ metaschema-framework (parent)
1919
├── core - Core API, Metapath engine, model interfaces
2020
├── databind - Data binding, serialization, code generation
2121
├── schemagen - XML/JSON schema generation
22-
├── databind-metaschema - Metaschema binding modules
22+
├── databind-modules - Metaschema binding modules
2323
├── metaschema-maven-plugin - Maven plugin for code/schema generation
2424
├── metaschema-testing - Testing utilities
2525
├── cli-processor - CLI framework

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[submodule "core/qt3tests"]
66
path = core/qt3tests
77
url = https://github.com/w3c/qt3tests.git
8-
[submodule "databind-metaschema/modules"]
9-
path = databind-metaschema/modules
8+
[submodule "databind-modules/modules"]
9+
path = databind-modules/modules
1010
url = https://github.com/metaschema-framework/metaschema-modules.git
1111
branch = develop

.lycheeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ https://projects.eclipse.org/projects/eclipse.jdt
6969
http://www.gnu.org/software/classpath/license.html
7070
# fix later
7171
https://github.com/metaschema-framework/liboscal-java/
72+
# transient 404 during module rename PR - remove after merge
73+
https://github.com/metaschema-framework/metaschema-java/tree/develop/databind-modules/.*

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ metaschema-framework (parent)
7272
├── core (metaschema-core) - Core API, Metapath expression language
7373
├── databind (metaschema-databind) - Data binding and code generation
7474
├── schemagen (metaschema-schema-generator) - XML/JSON schema generation
75-
├── databind-metaschema - Metaschema binding modules
75+
├── databind-modules - Metaschema binding modules
7676
├── metaschema-maven-plugin - Maven plugin for code/schema generation
7777
├── metaschema-testing - Testing utilities
7878
├── cli-processor - CLI framework
@@ -139,7 +139,7 @@ See the README.md files in each module for detailed instructions.
139139

140140
**YAML-first approach**: When creating new Metaschema modules, prefer YAML format over XML.
141141
- YAML modules use `.yaml` extension and are stored in `src/main/metaschema/`
142-
- Use the JSON schema at `databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json` for IDE validation
142+
- Use the JSON schema at `databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json` for IDE validation
143143
- Reference existing YAML modules (e.g., `databind/src/main/metaschema/metaschema-bindings.yaml`) for structure examples
144144

145145
### Key Interfaces

PRDs/20251221-xmlbeans-removal/implementation-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This document details each PR for removing XMLBeans and replacing it with Metasc
1414

1515
**Metaschema Module JSON Schema** (for YAML module authoring):
1616
```text
17-
databind-metaschema/target/generated-resources/schema/json/metaschema-model_schema.json
17+
databind-modules/target/generated-resources/schema/json/metaschema-model_schema.json
1818
```
1919

2020
Use this schema for IDE validation when authoring the YAML Metaschema modules.

PRDs/20251224-codegen-quality/implementation-plan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ This PR extends the binding configuration to support overriding default collecti
116116
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/config/DefaultBindingConfiguration.java` | Parse `<collection-class>` element |
117117
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/typeinfo/IPropertyTypeInfo.java` | Update `getCollectionImplementationClass()` to accept override |
118118
| `databind/src/main/java/gov/nist/secauto/metaschema/databind/codegen/typeinfo/AbstractModelInstanceTypeInfo.java` | Apply collection class override from binding config |
119-
| `databind-metaschema/src/main/metaschema/metaschema-bindings.yaml` | Add `collection-class` field definition to binding schema |
119+
| `databind-modules/src/main/metaschema-bindings/metaschema-bindings.yaml` | Add `collection-class` field definition to binding schema |
120120

121121
### Implementation Approach
122122

databind-metaschema/.settings/org.eclipse.jdt.apt.core.prefs renamed to databind-modules/.settings/org.eclipse.jdt.apt.core.prefs

File renamed without changes.

databind-metaschema/.settings/org.eclipse.jdt.core.prefs renamed to databind-modules/.settings/org.eclipse.jdt.core.prefs

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)