Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cmangeat committed Nov 6, 2024
1 parent d8cb7ad commit 9a74606
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</description>

<properties>
<build.webapp.resources>${project.build.directory}/webapp</build.webapp.resources>
<build.webapp.resources>${project.build.directory}/geonetwork</build.webapp.resources>
<jetty.env>jetty-env.xml</jetty.env>
</properties>

Expand All @@ -33,6 +33,20 @@
<scope>runtime</scope>
</dependency>

<!-- additional schema plugin for overlay -->
<dependency>
<groupId>org.geonetwork-opensource.schemas</groupId>
<artifactId>gn-schema-iso19139.che</artifactId>
<version>${project.version}</version>
<type>jar</type>
<exclusions>
<exclusion>
<groupId>*</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- used to compile, already included in war -->
<dependency>
<groupId>org.geonetwork-opensource</groupId>
Expand All @@ -41,6 +55,8 @@
<scope>provided</scope>
<classifier>classes</classifier>
</dependency>


</dependencies>

<build>
Expand All @@ -57,12 +73,17 @@
<artifactId>gn-web-app</artifactId>
</overlay>
</overlays>
<webResources>
<resource>
<directory>${project.build.directory}/webapp</directory>
</resource>
</webResources>
</configuration>
</plugin>

<plugin>
<groupId>org.geonetwork-opensource.schemas</groupId>
<artifactId>gn-schema-iso19139.che</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-schemas</id>
Expand Down

0 comments on commit 9a74606

Please sign in to comment.