<?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">
  <modelVersion>4.0.0</modelVersion>
  <groupId>io.whelk.flesch.kincaid</groupId>
  <artifactId>whelk-flesch-kincaid</artifactId>
  <name>Flesch Kincaid</name>
  <version>0.1.9</version>
  <description>Java OSS library for performing Flesch-Kincaid readability tests.</description>
  <url>https://github.com/whelk-io/flesch-kincaid</url>
  <developers>
    <developer>
      <name>Zack Teater</name>
      <email>zteater@gmail.com</email>
      <organization>Whelk</organization>
      <organizationUrl>http://whelk.io</organizationUrl>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <url>https://github.com/whelk-io/flesch-kincaid.git</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>nexus-staging-maven-plugin</artifactId>
        <version>1.6.8</version>
        <extensions>true</extensions>
        <configuration>
          <serverId>ossrh</serverId>
          <nexusUrl>https://oss.sonatype.org/</nexusUrl>
          <autoReleaseAfterClose>true</autoReleaseAfterClose>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.3.1</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>3.0.1</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
            <configuration>
              <gpgArguments>
                <arg>--pinentry-mode</arg>
                <arg>loopback</arg>
              </gpgArguments>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.4.2</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <transformers>
            <transformer>
              <mainClass>com.example.demo.Example</mainClass>
            </transformer>
          </transformers>
          <artifactSet>
            <excludes>
              <exclude>org.projectlombok:lombok</exclude>
            </excludes>
          </artifactSet>
          <filters>
            <filter>
              <artifact>*:*</artifact>
              <excludes>
                <exclude>edu/stanford/nlp/models/coref/*</exclude>
                <exclude>edu/stanford/nlp/models/coref/fastneural/*</exclude>
                <exclude>edu/stanford/nlp/models/coref/neural/*</exclude>
                <exclude>edu/stanford/nlp/models/coref/statistical/*</exclude>
                <exclude>edu/stanford/nlp/models/ner/*</exclude>
                <exclude>edu/stanford/nlp/models/dcoref/*</exclude>
                <exclude>edu/stanford/nlp/models/gender/*</exclude>
                <exclude>edu/stanford/nlp/models/kbp/english/*</exclude>
                <exclude>edu/stanford/nlp/models/kbp/english/gazetteers/*</exclude>
                <exclude>edu/stanford/nlp/models/kbp/english/semgrex/*</exclude>
                <exclude>edu/stanford/nlp/models/kbp/english/tokensregex/*</exclude>
                <exclude>edu/stanford/nlp/models/lexparser/*</exclude>
                <exclude>edu/stanford/nlp/models/naturalli/*</exclude>
                <exclude>edu/stanford/nlp/models/naturalli/affinities/*</exclude>
                <exclude>edu/stanford/nlp/models/parser/nndep/*</exclude>
                <exclude>edu/stanford/nlp/models/quoteattribution/*</exclude>
                <exclude>edu/stanford/nlp/models/sentiment/*</exclude>
                <exclude>edu/stanford/nlp/models/supervised_relation_extractor/*</exclude>
                <exclude>edu/stanford/nlp/models/sutime/*</exclude>
                <exclude>edu/stanford/nlp/models/truecase/*</exclude>
                <exclude>edu/stanford/nlp/models/ud/*</exclude>
                <exclude>edu/stanford/nlp/models/upos/*</exclude>
              </excludes>
            </filter>
          </filters>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <version>1.18.22</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter-engine</artifactId>
      <version>5.8.2</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-platform-engine</artifactId>
          <groupId>org.junit.platform</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit-jupiter-api</artifactId>
          <groupId>org.junit.jupiter</groupId>
        </exclusion>
        <exclusion>
          <artifactId>apiguardian-api</artifactId>
          <groupId>org.apiguardian</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    </repository>
    <snapshotRepository>
      <id>ossrh</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.release>11</maven.compiler.release>
    <maven.compiler.target>11</maven.compiler.target>
    <maven.compiler.source>11</maven.compiler.source>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
</project>

