<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-swing-bridge</artifactId>
    <version>1.0.0-alpha02</version>
  </parent>
  <groupId>com.vaadin</groupId>
  <artifactId>swing-bridge-patch</artifactId>
  <version>1.0.0-alpha02</version>
  <name>Vaadin Swing Bridge Patch</name>
  <description>JDK internal patches for the Vaadin Swing Bridge</description>
  <licenses>
    <license>
      <name>GPL-2.0-only</name>
      <url>https://spdx.org/licenses/GPL-2.0-only.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <properties>
    <maven.compiler.target>21</maven.compiler.target>
    <spotless.license-header>${maven.multiModuleProjectDirectory}/eclipse/gpl-v2-only.txt</spotless.license-header>
    <maven.compiler.source>21</maven.compiler.source>
  </properties>
  <dependencies>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>swing-bridge-graphics</artifactId>
      <version>1.0.0-alpha02</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.14.1</version>
        <configuration>
          <compilerArgs>
            <compilerArg>--add-exports=java.base/jdk.internal.util=ALL-UNNAMED</compilerArg>
          </compilerArgs>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.4.2</version>
        <configuration>
          <excludes>
            <exclude>sun/font/FontManager.class</exclude>
          </excludes>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
