view backend/src/assembly/assembly.xml @ 9795:8d71363cd3bd 3.2.x

Use multi-stage build to speedup build and shrink image
author Tom Gottfried <tom@intevation.de>
date Thu, 02 Nov 2023 14:37:47 +0100
parents ae3df0f96e15
children 508350440b10
line wrap: on
line source
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
  <id>flys-importer</id>
  <includeBaseDirectory>false</includeBaseDirectory>
  <formats>
     <format>tar</format>
  </formats>
  <fileSets>
    <fileSet>
      <directory>${project.build.directory}</directory>
      <outputDirectory>/flys-importer/bin</outputDirectory>
      <includes>
        <include>*.jar</include>
      </includes>
    </fileSet>
    <fileSet>
      <directory>${project.basedir}/contrib</directory>
      <outputDirectory>/flys-importer</outputDirectory>
      <excludes>
        <exclude>shpimporter/*.pyc</exclude>
      </excludes>
    </fileSet>
    <fileSet>
      <directory>${project.basedir}/doc/conf</directory>
      <outputDirectory>/flys-importer/conf</outputDirectory>
    </fileSet>
    <fileSet>
      <directory>${project.basedir}/doc/schema</directory>
      <outputDirectory>/flys-importer/doc/schema</outputDirectory>
      <includes>
        <include>*.sql</include>
      </includes>
    </fileSet>
  </fileSets>
  <files>
    <!-- Include PDF-manual if existant -->
    <file>
      <source>
        ${project.basedir}/doc/documentation/de/importer-manual.pdf
      </source>
      <outputDirectory>/flys-importer/doc/</outputDirectory>
    </file>
  </files>
</assembly>

http://dive4elements.wald.intevation.org