<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>manifold-parent</artifactId>
    <groupId>systems.manifold</groupId>
    <version>2024.1.30</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>manifold-all</artifactId>
  <name>Manifold :: Über-jar</name>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <excludes>
            <exclude>systems/manifold/Dummy.class</exclude>
          </excludes>
          <archive>
            <manifestEntries>
              <Contains-Sources>java,class</Contains-Sources>
              <Automatic-Module-Name>manifold.all</Automatic-Module-Name>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>LICENSE.*</exclude>
                  </excludes>
                </filter>
              </filters>
              <transformers>
                <transformer />
              </transformers>
              <relocations>
                <relocation>
                  <pattern>org</pattern>
                  <shadedPattern>manifold.shade.org</shadedPattern>
                  <excludes>
                    <exclude>org.mozilla.**</exclude>
                  </excludes>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

