Skip to content

Commit 9e61345

Browse files
Repaired man broken links. Renamed the coordinates to create a more sensible hierarchy.
1 parent 8d0a64e commit 9e61345

File tree

17 files changed

+101
-32
lines changed

17 files changed

+101
-32
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
permissions:
3838
actions: read
3939
contents: read
40-
# security-events: write
40+
security-events: write
4141

4242
steps:
4343
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
@@ -117,7 +117,7 @@ jobs:
117117
name: Link Checker
118118
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621
119119
with:
120-
args: --verbose --no-progress --accept 200,206,429 './target/staging/**/*.html' --remap "https://github.com/metaschema-framework/oss-maven/tree/main/ file://${GITHUB_WORKSPACE}/" --remap "https://oss-maven.metaschema.dev/ file://${GITHUB_WORKSPACE}/target/staging/" --exclude-mail
120+
args: --verbose --no-progress --accept 200,206,429 './target/staging/**/*.html' --remap "https://github.com/metaschema-framework/metaschema-java/tree/main/ file://${GITHUB_WORKSPACE}/" --remap "https://metaschema-java.metaschema.dev/ file://${GITHUB_WORKSPACE}/target/staging/" --exclude-mail
121121
format: markdown
122122
output: html-link-report.md
123123
debug: true

.lycheeignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# broken plugin and dependency references
2+
https://bytebuddy.net/byte-buddy
3+
https://chronicle.software/java-parent-pom/compiler
4+
https://code.revelc.net/revelc/formatter-maven-plugin
5+
https://codehaus-plexus.github.io/plexus-cipher/
6+
https://codehaus-plexus.github.io/plexus-pom/plexus-build-api/
7+
https://codehaus-plexus.github.io/plexus-pom/plexus-utils/
8+
https://codehaus-plexus.github.io/plexus-sec-dispatcher/
9+
https://errorprone.info/error_prone_annotations
10+
http://forge.sonatype.com/spice-parent/plexus-build-api/
11+
https://github.com/google/guava/.*
12+
https://github.com/google/guice/guice
13+
https://github.com/hamcrest/JavaHamcrest/hamcrest-core
14+
https://github.com/javaparser/.*
15+
https://github.com/vsch/flexmark-java/.*
16+
https://hc.apache.org/httpcomponents-client-5.0.x/5.1.3/httpclient5/
17+
https://logging.apache.org/log4j/2.x/log4j/.*
18+
https://pmd.github.io/latest/pmd_userdocs_cpd.html
19+
https://www.antlr.org/antlr4-maven-plugin/
20+
https://www.antlr.org/antlr4-runtime/
21+
http://www.eclipse.org/eclipselink/moxy/org.eclipse.persistence.moxy
22+
http://www.eclipse.org/sisu/org.eclipse.sisu.plexus/
23+
http://www.eclipse.org/sisu/org.eclipse.sisu.inject/
24+
http://www.mojohaus.org/appassembler-maven-plugin/appassembler/appassembler-maven-plugin
25+
http://www.thymeleaf.org/thymeleaf-lib/thymeleaf
26+
# broken license references
27+
https://opensource.org/licenses/Apache-2.0,https://opensource.org/licenses/EPL-2.0
28+
# prone to long timeouts
29+
http://nexus.sonatype.org/oss-repository-hosting.html/jmock-parent/.*
30+
https://glassfish.dev.java.net/.*
31+
# fix later
32+
https://github.com/metaschema-framework/liboscal-java/
33+

cli-processor/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33
<parent>
4-
<groupId>dev.metaschema</groupId>
4+
<groupId>dev.metaschema.java</groupId>
55
<artifactId>metaschema-framework</artifactId>
66
<version>1.0.0-M2-SNAPSHOT</version>
77
</parent>
@@ -25,7 +25,7 @@
2525

2626
<dependencies>
2727
<dependency>
28-
<groupId>dev.metaschema</groupId>
28+
<groupId>${project.groupId}</groupId>
2929
<artifactId>metaschema-core</artifactId>
3030
</dependency>
3131
<dependency>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
7-
<groupId>dev.metaschema</groupId>
7+
<groupId>dev.metaschema.java</groupId>
88
<artifactId>metaschema-framework</artifactId>
99
<version>1.0.0-M2-SNAPSHOT</version>
1010
</parent>

databind-metaschema/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>dev.metaschema</groupId>
5+
<groupId>dev.metaschema.java</groupId>
66
<artifactId>metaschema-framework</artifactId>
77
<version>1.0.0-M2-SNAPSHOT</version>
88
</parent>
@@ -86,7 +86,7 @@
8686
</pluginManagement>
8787
<plugins>
8888
<plugin>
89-
<groupId>dev.metaschema</groupId>
89+
<groupId>${project.groupId}</groupId>
9090
<artifactId>metaschema-maven-plugin</artifactId>
9191
<version>${project.version}</version>
9292
<executions>

databind/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>dev.metaschema</groupId>
5+
<groupId>dev.metaschema.java</groupId>
66
<artifactId>metaschema-framework</artifactId>
77
<version>1.0.0-M2-SNAPSHOT</version>
88
</parent>
@@ -24,7 +24,7 @@
2424

2525
<dependencies>
2626
<dependency>
27-
<groupId>${project.parent.groupId}</groupId>
27+
<groupId>${project.groupId}</groupId>
2828
<artifactId>metaschema-core</artifactId>
2929
</dependency>
3030

databind/src/site/markdown/index.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# ${project.name}
22

33
This module provides:
4-
- A Java parser library, that can read and write XML, JSON, and YAML content that is valid to the associated Metaschema model from and to bound Java objects. This library is a dependency for Java code generated from a Metaschema using the Metaschema Java [code generator plugin](../metaschema-maven-plugin) or this library.
5-
- A Java code generator [Java API](apidocs/index.html) that generates Java classes for a Metaschema definition. These generated classes can be used to read and write XML, JSON, and YAML content that is valid to the associated Metaschema model using the parser in this library.
4+
- A Java parser library, that can read and write XML, JSON, and YAML content from and to bound Java objectst hat is valid to a model described by a Metaschema module. This library is a dependency for Java code generated from a Metaschema using the Metaschema Java [code generator plugin](../metaschema-maven-plugin) or this library.
5+
- A Java code generator [Java API](apidocs/index.html) that generates Java classes for a Metaschema module. These generated classes can be used to read and write XML, JSON, and YAML content that is valid to the associated Metaschema model using the parser in this library.
66

77
This parser uses a set of annotations, that allow Metaschema constructs to be annotated on a Java class, to drive parsing behavior. These annotations provide the information needed by (META-B) to read and write XML, JSON, and YAML content that is valid to the associated Metaschema model.
88

metaschema-cli/pom.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>dev.metaschema</groupId>
5+
<groupId>dev.metaschema.java</groupId>
66
<artifactId>metaschema-framework</artifactId>
77
<version>1.0.0-M2-SNAPSHOT</version>
88
</parent>
@@ -39,16 +39,25 @@
3939
<groupId>${project.groupId}</groupId>
4040
<artifactId>metaschema-databind-modules</artifactId>
4141
</dependency>
42-
42+
<!--
4343
<dependency>
4444
<groupId>com.google.auto.service</groupId>
4545
<artifactId>auto-service-annotations</artifactId>
4646
</dependency>
47-
47+
-->
4848
<dependency>
4949
<groupId>com.github.spotbugs</groupId>
5050
<artifactId>spotbugs-annotations</artifactId>
5151
</dependency>
52+
53+
<dependency>
54+
<groupId>org.apache.logging.log4j</groupId>
55+
<artifactId>log4j-core</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.apache.logging.log4j</groupId>
59+
<artifactId>log4j-api</artifactId>
60+
</dependency>
5261
</dependencies>
5362

5463
<build>

metaschema-documentation-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33
<parent>
4-
<groupId>dev.metaschema</groupId>
4+
<groupId>dev.metaschema.java</groupId>
55
<artifactId>metaschema-framework</artifactId>
66
<version>1.0.0-M2-SNAPSHOT</version>
77
</parent>

metaschema-freemarker-support/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>dev.metaschema</groupId>
5+
<groupId>dev.metaschema.java</groupId>
66
<artifactId>metaschema-framework</artifactId>
77
<version>1.0.0-M2-SNAPSHOT</version>
88
</parent>

metaschema-maven-plugin/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
7-
<groupId>dev.metaschema</groupId>
7+
<groupId>dev.metaschema.java</groupId>
88
<artifactId>metaschema-framework</artifactId>
99
<version>1.0.0-M2-SNAPSHOT</version>
1010
</parent>
@@ -28,15 +28,15 @@
2828
</prerequisites>
2929
<dependencies>
3030
<dependency>
31-
<groupId>${project.parent.groupId}</groupId>
31+
<groupId>${project.groupId}</groupId>
3232
<artifactId>metaschema-core</artifactId>
3333
</dependency>
3434
<dependency>
35-
<groupId>${project.parent.groupId}</groupId>
35+
<groupId>${project.groupId}</groupId>
3636
<artifactId>metaschema-databind</artifactId>
3737
</dependency>
3838
<dependency>
39-
<groupId>${project.parent.groupId}</groupId>
39+
<groupId>${project.groupId}</groupId>
4040
<artifactId>metaschema-schema-generator</artifactId>
4141
</dependency>
4242
<dependency>

metaschema-maven-plugin/src/it/generate-sources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>dev.metaschema.it</groupId>
7+
<groupId>dev.metaschema.java.it</groupId>
88
<artifactId>generate-sources-test</artifactId>
99
<version>@project.version@</version>
1010

metaschema-testing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33
<parent>
4-
<groupId>dev.metaschema</groupId>
4+
<groupId>dev.metaschema.java</groupId>
55
<artifactId>metaschema-framework</artifactId>
66
<version>1.0.0-M2-SNAPSHOT</version>
77
</parent>

pom.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
<artifactId>oss-parent</artifactId>
99
<version>2</version>
1010
</parent>
11-
<groupId>dev.metaschema</groupId>
11+
12+
<groupId>dev.metaschema.java</groupId>
1213
<artifactId>metaschema-framework</artifactId>
1314
<version>1.0.0-M2-SNAPSHOT</version>
15+
1416
<packaging>pom</packaging>
1517
<name>Metaschema Framework Parent</name>
1618
<description>A common build root for all Java projects related to the
@@ -581,6 +583,16 @@
581583
<topSiteURL>${site.url}</topSiteURL>
582584
</configuration>
583585
</plugin>
586+
<plugin>
587+
<groupId>org.apache.maven.plugins</groupId>
588+
<artifactId>maven-jxr-plugin</artifactId>
589+
<version>3.4.0</version>
590+
<configuration>
591+
<excludes>
592+
<exclude>**/module-info.java</exclude>
593+
</excludes>
594+
</configuration>
595+
</plugin>
584596
<plugin>
585597
<groupId>org.apache.maven.plugins</groupId>
586598
<artifactId>maven-javadoc-plugin</artifactId>
@@ -741,6 +753,22 @@
741753
</plugin>
742754
</plugins>
743755
</build>
756+
<reporting>
757+
<plugins>
758+
<plugin>
759+
<groupId>org.apache.maven.plugins</groupId>
760+
<artifactId>maven-jxr-plugin</artifactId>
761+
<reportSets>
762+
<reportSet>
763+
<id>default</id>
764+
<configuration>
765+
<linkJavadoc>false</linkJavadoc>
766+
</configuration>
767+
</reportSet>
768+
</reportSets>
769+
</plugin>
770+
</plugins>
771+
</reporting>
744772
<modules>
745773
<module>core</module>
746774
<module>databind</module>

schemagen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<groupId>dev.metaschema</groupId>
5+
<groupId>dev.metaschema.java</groupId>
66
<artifactId>metaschema-framework</artifactId>
77
<version>1.0.0-M2-SNAPSHOT</version>
88
</parent>

src/site/markdown/index.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@ This project provides a Java implementation of the [Metaschema](https://metasche
44

55
This project supports the following features:
66

7-
- **Allows developers to generate Java classes from Metaschema definitions.** Using a given Metaschema definition, a developer can quickly [generate Java classes](metaschema-java-binding/) for a Metaschema-based model, which can be used to create, parse, modify, and write XML, JSON, and YAML representations of that model using bound Java objects. This allows a developer to quickly start programming business logic instead of spending hours writing parsing code. This approach is similar to the binding frameworks provided by [Jakarta XML Binding (JAXB)](https://eclipse-ee4j.github.io/jaxb-ri/), [XMLBeans](https://xmlbeans.apache.org/), [Java API for JSON Binding (JSON-B)](https://javaee.github.io/jsonb-spec/), and other class-to-object binding approaches. The [OSCAL Java Library](https://github.com/metaschema-framework/liboscal-java/) is an example of applying this approach to generate Java programming APIs for a set of Metaschema-defined models.
7+
- **Allows developers to generate Java classes from Metaschema definitions.** Using a given Metaschema module, a developer can quickly [generate Java classes](metaschema-databind/) for a Metaschema-based model, which can be used to create, parse, modify, and write XML, JSON, and YAML representations of that model using the generated bound Java objects. This allows a developer to quickly start programming business logic instead of spending hours writing parsing code. This approach is similar to the binding frameworks provided by [Jakarta XML Binding (JAXB)](https://eclipse-ee4j.github.io/jaxb-ri/), [XMLBeans](https://xmlbeans.apache.org/), [Java API for JSON Binding (JSON-B)](https://javaee.github.io/jsonb-spec/), and other class-to-object binding approaches. The [OSCAL Java Library](https://github.com/metaschema-framework/liboscal-java/) is an example of applying this approach to generate Java programming APIs for a set of Metaschema-defined models.
88
- **Supports generating Metaschema-based Java code during Maven builds.** An [Apache Maven](https://maven.apache.org/) [Metaschema code generation plugin](metaschema-maven-plugin/) is provided that supports Java class generation for a Metaschema definition during Maven builds.
99
- **Enables validation of data aligned with a set of Metaschema definitions using constraints defined within the Metaschema definitions.** Using this framework, format-agnostic validation rules, defined in a Metaschema, can be enforced over data loaded into bound objects.
1010
- **Allows execution of Metapath queries against data aligned with a Metaschema-based model.** Metapath is an XPath-like expression language that can be used to query XML, JSON, or YAML data aligned with a Metaschema definition. This allows data to be queried irrespective of the format it is stored in.
1111

1212
This project contains the following sub-modules:
1313

14-
- [Metaschema Java Code Generator](metaschema-java-codegen/): A Java code generator [Java API](metaschema-java-codege/apidocs/) that generates Java classes for a Metaschema definition. These generated classes can be used to read and write XML, JSON, and YAML content that is valid to the associated Metaschema model.
15-
- [Metaschema Java API](metaschema-common-model/): Provides a [Java API](metaschema-common-model/apidocs/index.html) for interacting with Metaschema definitions and executing Metapath expressions in Java programs.
16-
- [Metaschema Java Binding (META-B)](metaschema-java-binding/): A [Java API](metaschema-java-binding/apidocs/) that uses Java code generated by the [Metaschema Java Code Generator](metaschema-java-codegen/) to read and write XML, JSON, and YAML content that is valid to the associated Metaschema model. This library is a dependency for all generated Java code.
17-
- [Metaschema Maven Plugin](metaschema-maven-plugin/): A Maven build plugin that automates generation on Java classes for a set of Metaschema definitions as part of a Maven build.
18-
- [Metaschema Java Binding Annotations](metaschema-java-binding-annotations/):
19-
- [Metaschema XML Model](metaschema-model/): Supports loading Metaschema definitions expressed in XML files.
14+
- [Metaschema Java API](metaschema-core/): Provides a [Java API](metaschema-core/apidocs/index.html) for interacting with Metaschema modules and executing Metapath expressions in Java programs. Supports loading XML-based Metaschema modules.
15+
- [Metaschema Java Binding](metaschema-databind/): Supports the generation and use of annotated plain old Java objects (POJOs) to create and store Metaschema module-based data. Supports code generation of POJO classes based on a Metaschema module and reading and writing Metaschema module-based data. Can read and write XML, JSON, and YAML content that is valid to the associated Metaschema model.
16+
- [Metaschema Data Bindings](metaschema-databind-modules/): Provides a variety of different Metaschema modules for different types of data, including support for the Static Analysis Results Interchange Format (SARIF).
17+
- [Metaschema Maven Plugin](metaschema-maven-plugin/): A Maven build plugin that automates generation on Java classes and XML and JSON schemas based on a Metaschema module as part of a Maven build.
18+
- [Metaschema Schema Generator](metaschema-schema-generator): An API for generating XML and JSON schemas based on a Metaschema module.
2019

2120
Please refer to each sub-module for usage instructions.

src/site/site.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<item name="Fork on GitHub"
102102
href="http://github.com/metaschema-framework/metaschema-java/" />
103103
<item name="License"
104-
href="http://github.com/metaschema-framework/metaschema-java/blob/master/LICENSE.md" />
104+
href="http://github.com/metaschema-framework/metaschema-java/blob/main/LICENSE.md" />
105105
</menu>
106106
<menu name="Modules" ref="modules" />
107107
<menu name="Maven Documentation" ref="reports" inherit="bottom" />

0 commit comments

Comments
 (0)