Skip to content

Install the plugin on local GN (ZIP-version) - which files to edit? #103

@laers

Description

@laers

Hi

I would like to install the plugin on my local PC, i.e. I am using GN 4.4.8 ZIP version.
Can you tell me which files I need to edit?

I can find pom.xml in
...\geonetwork-bundle-4.4.8-0\apps\geonetwork\META-INF\maven\org.geonetwork-opensource\gn-web-app\pom.xml
where I can add

<parent>
 <artifactId>gn-schemas</artifactId>
 <groupId>org.geonetwork-opensource.schemas</groupId>
 <version>x.y.z</version>
</parent>

and

<execution>
  <id>unpack-schemas</id>
  <phase>process-resources</phase>
  <goals><goal>unpack</goal></goals>
  <configuration>
    <encoding>UTF-8</encoding>
    <artifactItems>
      <!-- ... -->
      <artifactItem>
        <groupId>org.geonetwork-opensource.schemas</groupId>
        <artifactId>gn-schema-dcat-ap</artifactId>
        <type>zip</type>
        <overWrite>false</overWrite>
        <outputDirectory>${schema-plugins.dir}</outputDirectory>
      </artifactItem>
    </artifactItems>
  </configuration>
</execution>

But!
Where can I find the file schemas/pom.xml where I need to add

<modules>
   <!-- ... -->
   <module>dcat-ap</module>
</modules>

?

I have added the dcat-ap schema folder into ...\geonetwork-bundle-4.4.8-0\apps\geonetwork\WEB-INF\data\config\schema_plugins

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions