Skip to content

Commit

Permalink
Add DCAT2 schema plugin
Browse files Browse the repository at this point in the history
Taken from https://github.com/metadata101/dcat2

* added schema as a submodule
* added module reference in gn-schemas
* added dependency and artifact refs in web module
  • Loading branch information
jahow committed Sep 9, 2021
1 parent c525cac commit 829d8ce
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ web/src/main/webapp/WEB-INF/data/config/schema_plugins/*/schematron/schematron*.
web/src/main/webapp/WEB-INF/data/config/schema_plugins/csw-record
web/src/main/webapp/WEB-INF/data/config/schema_plugins/dublin-core
web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19*
web/src/main/webapp/WEB-INF/data/config/schema_plugins/dcat2
web/src/main/webapp/WEB-INF/data/config/schema_plugins/schemaplugin-uri-catalog.xml
web/src/main/webapp/WEB-INF/data/config/schemaplugin-uri-catalog.xml
web/src/main/webapp/WEB-INF/data/config/encryptor.properties
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "docs/manuals"]
path = docs/manuals
url = https://github.com/geonetwork/doc.git
[submodule "schemas/dcat2"]
path = schemas/dcat2
url = https://github.com/metadata101/dcat2
1 change: 1 addition & 0 deletions schemas/dcat2
Submodule dcat2 added at 6e17ca
1 change: 1 addition & 0 deletions schemas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<module>iso19110</module>
<module>iso19139</module>
<module>iso19115-3.2018</module>
<module>dcat2</module>
</modules>

<profiles>
Expand Down
12 changes: 12 additions & 0 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@
<artifactId>gn-schema-iso19115-3.2018</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.geonetwork-opensource.schemas</groupId>
<artifactId>gn-schema-dcat2</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -993,6 +998,13 @@
<overWrite>false</overWrite>
<outputDirectory>${schema-plugins.dir}</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.geonetwork-opensource.schemas</groupId>
<artifactId>gn-schema-dcat2</artifactId>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>${schema-plugins.dir}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
Expand Down

0 comments on commit 829d8ce

Please sign in to comment.