<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>io.smallrye</groupId>
        <artifactId>smallrye-build-parent</artifactId>
        <version>48</version>
    </parent>

    <groupId>io.smallrye.classfile</groupId>
    <artifactId>jdk-classfile-backport</artifactId>
    <version>26</version>

    <name>JDK Classfile API backport</name>
    <description>An unofficial backport of the JDK Classfile API to Java 17</description>

    <properties>
        <maven.compiler.source>17</maven.compiler.source>
        <maven.compiler.target>17</maven.compiler.target>
        <maven.compiler.release>17</maven.compiler.release>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
        <maven.javadoc.failOnWarning>false</maven.javadoc.failOnWarning>
    </properties>

    <packaging>jar</packaging>

    <url>https://github.com/smallrye/jdk-classfile-backport</url>

    <licenses>
        <license>
            <name>GNU General Public License, version 2, with the Classpath Exception</name>
            <url>http://openjdk.java.net/legal/gplv2+ce.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <scm>
        <url>https://github.com/smallrye/jdk-classfile-backport</url>
        <connection>scm:git:git://github.com/smallrye/jdk-classfile-backport</connection>
        <developerConnection>scm:git:git@github.com:smallrye/jdk-classfile-backport</developerConnection>
      <tag>26</tag>
  </scm>

    <developers>
        <developer>
            <name>David Lloyd</name>
            <email>david.lloyd@redhat.com</email>
            <organization>Contributors to the unofficial JDK classfile backporting project</organization>
            <organizationUrl>https://github.com/smallrye/jdk-classfile-backport</organizationUrl>
        </developer>
    </developers>

    <issueManagement>
        <url>https://github.com/smallrye/jdk-classfile-backport/issues</url>
        <system>GitHub Issues</system>
    </issueManagement>

    <dependencies>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
            <version>6.0.1</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>**/snippet-files/**</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>net.revelc.code.formatter</groupId>
                <artifactId>formatter-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>format-sources</id>
                        <phase>none</phase>
                        <goals>
                            <goal>format</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>net.revelc.code</groupId>
                <artifactId>impsort-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>sort-imports</id>
                        <phase>none</phase>
                        <goals>
                            <goal>sort</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
