<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.stianloader</groupId>
  <artifactId>modlauncher-jpms-facade</artifactId>
  <version>1.0.0-a20260505</version>
  <name>Modlauncher-JPMS-Facade</name>
  <inceptionYear>2026</inceptionYear>
  <description>A library to pretend that everything is fine when everything really is fine. Intended to be used alongside mixins.</description>
  <url>https://codeberg.org/stianloader/modlauncher-jpms-facade</url>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <gpg.skip>true</gpg.skip>
  </properties>
  <scm>
    <connection>scm:git:https://codeberg.org/stianloader/modlauncher-jpms-facade.git</connection>
    <developerConnection>scm:git:ssh://git@codeberg.org/stianloader/modlauncher-jpms-facade.git</developerConnection>
    <url>https://codeberg.org/stianloader/modlauncher-jpms-facade</url>
  </scm>
  <licenses>
    <license>
      <name>Unlicense</name>
      <url>https://unlicense.org/UNLICENSE</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>geolykt</id>
      <email>emeric.werner@geolykt.de</email>
      <name>Geolykt</name>
      <timezone>Europe/Berlin</timezone>
    </developer>
  </developers>
  <build>
    <defaultGoal>clean package</defaultGoal>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
      <resource>
        <directory>.</directory>
        <includes>
          <include>LICENSE</include>
          <include>LICENSE.md</include>
        </includes>
        <targetPath>META-INF/LICENSES/${project.artifactId}</targetPath>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.4.2</version>
        <configuration>
          <archive>
            <index>true</index>
            <manifestEntries>
              <Multi-Release>true</Multi-Release>
              <Built-By>${env.USERNAME}</Built-By>
            </manifestEntries>
            <addMavenDescriptor>true</addMavenDescriptor>
            <compress>false</compress>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.15.0</version>
        <configuration>
          <release>9</release>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.3.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>3.2.8</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
            <configuration>
              <keyname>${gpg.keyname}</keyname>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
