<?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>nl.talsmasoftware</groupId>
  <artifactId>umldoclet</artifactId>
  <name>UML doclet</name>
  <version>2.2.4</version>
  <description>Doclet for the JavaDoc tool that generates UML diagrams from the code.</description>
  <url>https://github.com/talsma-ict/umldoclet</url>
  <inceptionYear>2016</inceptionYear>
  <developers>
    <developer>
      <id>sjoerd</id>
      <name>Sjoerd Talsma</name>
      <url>https://github.com/sjoerdtalsma</url>
    </developer>
  </developers>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
    <connection>scm:git:git://github.com/talsma-ict/umldoclet.git</connection>
    <developerConnection>scm:git:https://github.com/talsma-ict/umldoclet.git</developerConnection>
    <url>https://github.com/talsma-ict/umldoclet.git</url>
  </scm>
  <organization>
    <name>Talsma ICT</name>
    <url>https://github.com/talsma-ict/</url>
  </organization>
  <build>
    <resources>
      <resource>
        <filtering>true</filtering>
        <directory>src/main/resources</directory>
      </resource>
      <resource>
        <directory>${project.basedir}</directory>
        <includes>
          <include>LICENSE</include>
        </includes>
      </resource>
    </resources>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.14.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>3.5.4</version>
        </plugin>
        <plugin>
          <artifactId>maven-failsafe-plugin</artifactId>
          <version>3.5.4</version>
        </plugin>
        <plugin>
          <groupId>org.jacoco</groupId>
          <artifactId>jacoco-maven-plugin</artifactId>
          <version>0.8.14</version>
        </plugin>
        <plugin>
          <groupId>com.mycila</groupId>
          <artifactId>license-maven-plugin</artifactId>
          <version>5.0.0</version>
          <dependencies>
            <dependency>
              <groupId>com.mycila</groupId>
              <artifactId>license-maven-plugin-git</artifactId>
              <version>5.0.0</version>
            </dependency>
          </dependencies>
        </plugin>
        <plugin>
          <groupId>org.sonarsource.scanner.maven</groupId>
          <artifactId>sonar-maven-plugin</artifactId>
          <version>5.2.0.4988</version>
        </plugin>
        <plugin>
          <artifactId>maven-source-plugin</artifactId>
          <version>3.3.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>3.12.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-shade-plugin</artifactId>
          <version>3.6.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-gpg-plugin</artifactId>
          <version>3.2.8</version>
        </plugin>
        <plugin>
          <groupId>org.sonatype.central</groupId>
          <artifactId>central-publishing-maven-plugin</artifactId>
          <version>0.9.0</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-failsafe-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>prepare-jacoco-agent</id>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
          </execution>
          <execution>
            <id>report</id>
            <phase>post-integration-test</phase>
            <goals>
              <goal>report</goal>
            </goals>
            <configuration>
              <formats>
                <format>XML</format>
              </formats>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <doclet>nl.talsmasoftware.umldoclet.UMLDoclet</doclet>
              <docletArtifact>
                <groupId>nl.talsmasoftware</groupId>
                <artifactId>umldoclet</artifactId>
                <version>${project.version}</version>
              </docletArtifact>
              <additionalOptions>
                <additionalOption>--create-puml-files</additionalOption>
                <additionalOption>--fail-on-cyclic-package-dependencies true</additionalOption>
              </additionalOptions>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <executions>
          <execution>
            <id>shade-full-plantuml-jar</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <shadedArtifactAttached>true</shadedArtifactAttached>
              <shadedClassifierName>full</shadedClassifierName>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/MANIFEST.MF</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
          <execution>
            <id>shade-smaller-plantuml-jar</id>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <filters>
                <filter>
                  <artifact>*:*</artifact>
                  <excludes>
                    <exclude>META-INF/MANIFEST.MF</exclude>
                    <exclude>stdlib/**</exclude>
                    <exclude>sprites/archimate/**</exclude>
                    <exclude>**/plantuml/activitydiagram/command/**</exclude>
                    <exclude>**/plantuml/activitydiagram/C*.*</exclude>
                    <exclude>**/plantuml/argon2/**</exclude>
                    <exclude>**/plantuml/asciiart/**</exclude>
                    <exclude>**/plantuml/board/A*.*</exclude>
                    <exclude>**/plantuml/board/BA*.*</exclude>
                    <exclude>**/plantuml/board/BN*.*</exclude>
                    <exclude>**/plantuml/board/C*.*</exclude>
                    <exclude>**/plantuml/board/P*.*</exclude>
                    <exclude>**/plantuml/bpm/A*.*</exclude>
                    <exclude>**/plantuml/bpm/BpmB*.*</exclude>
                    <exclude>**/plantuml/bpm/BpmE*.*</exclude>
                    <exclude>**/plantuml/bpm/C*.*</exclude>
                    <exclude>**/plantuml/bpm/G*.*</exclude>
                    <exclude>**/plantuml/bpm/L*.*</exclude>
                    <exclude>**/plantuml/bpm/N*.*</exclude>
                    <exclude>**/plantuml/bpm/P*.*</exclude>
                    <exclude>**/plantuml/braille/**</exclude>
                    <exclude>**/plantuml/cheneer/command/**</exclude>
                    <exclude>**/plantuml/chronology/Co*.*</exclude>
                    <exclude>**/plantuml/chronology/S*.*</exclude>
                    <exclude>**/plantuml/chronology/T*.*</exclude>
                    <exclude>**/plantuml/dedication/5*.*</exclude>
                    <exclude>**/plantuml/dedication/8*.*</exclude>
                    <exclude>**/plantuml/dedication/a*.*</exclude>
                    <exclude>**/plantuml/dedication/b*.*</exclude>
                    <exclude>**/plantuml/dedication/B*.*</exclude>
                    <exclude>**/plantuml/dedication/d*.*</exclude>
                    <exclude>**/plantuml/dedication/D*.*</exclude>
                    <exclude>**/plantuml/dedication/f*.*</exclude>
                    <exclude>**/plantuml/dedication/l*.*</exclude>
                    <exclude>**/plantuml/dedication/n*.*</exclude>
                    <exclude>**/plantuml/dedication/N*.*</exclude>
                    <exclude>**/plantuml/dedication/Q*.*</exclude>
                    <exclude>**/plantuml/dedication/R*.*</exclude>
                    <exclude>**/plantuml/dedication/T*.*</exclude>
                    <exclude>**/plantuml/ebnf/B*.*</exclude>
                    <exclude>**/plantuml/ebnf/C*.*</exclude>
                    <exclude>**/plantuml/ebnf/E*.*</exclude>
                    <exclude>**/plantuml/ebnf/S*.*</exclude>
                    <exclude>**/plantuml/ebnf/T*.*</exclude>
                    <exclude>**/plantuml/ebnf/U*.*</exclude>
                    <exclude>**/plantuml/ebnf/Z*.*</exclude>
                    <exclude>**/plantuml/emoji/data/**</exclude>
                    <exclude>**/plantuml/emoji/C*.*</exclude>
                    <exclude>**/plantuml/emoji/E*.*</exclude>
                    <exclude>**/plantuml/emoji/G*.*</exclude>
                    <exclude>**/plantuml/emoji/S*.*</exclude>
                    <exclude>**/plantuml/emoji/U*.*</exclude>
                    <exclude>**/plantuml/filesdiagram/FE*.*</exclude>
                    <exclude>**/plantuml/filesdiagram/FilesL*.*</exclude>
                    <exclude>**/plantuml/filesdiagram/FilesT*.*</exclude>
                    <exclude>**/plantuml/ftp/**</exclude>
                    <exclude>**/plantuml/fun/**</exclude>
                    <exclude>**/plantuml/gitlog/C*.*</exclude>
                    <exclude>**/plantuml/gitlog/GitC*.*</exclude>
                    <exclude>**/plantuml/gitlog/GitT*.*</exclude>
                    <exclude>**/plantuml/gitlog/Gn*.*</exclude>
                    <exclude>**/plantuml/gitlog/M*.*</exclude>
                    <exclude>**/plantuml/gitlog/S*.*</exclude>
                    <exclude>**/plantuml/jsondiagram/A*.*</exclude>
                    <exclude>**/plantuml/jsondiagram/JsonC*.*</exclude>
                    <exclude>**/plantuml/jsondiagram/M*.*</exclude>
                    <exclude>**/plantuml/jsondiagram/S*.*</exclude>
                    <exclude>**/plantuml/jsondiagram/T*.*</exclude>
                    <exclude>**/plantuml/klimt/drawing/eps/**</exclude>
                    <exclude>**/plantuml/klimt/drawing/tikz/**</exclude>
                    <exclude>**/plantuml/klimt/drawing/visio/**</exclude>
                    <exclude>**/plantuml/math/A*.*</exclude>
                    <exclude>**/plantuml/math/C*.*</exclude>
                    <exclude>**/plantuml/math/L*.*</exclude>
                    <exclude>**/plantuml/math/S*.*</exclude>
                    <exclude>**/plantuml/math/T*.*</exclude>
                    <exclude>**/plantuml/mindmap/B*.*</exclude>
                    <exclude>**/plantuml/mindmap/C*.*</exclude>
                    <exclude>**/plantuml/mindmap/F*.*</exclude>
                    <exclude>**/plantuml/mindmap/I*.*</exclude>
                    <exclude>**/plantuml/mindmap/MindMap.*</exclude>
                    <exclude>**/plantuml/mindmap/S*.*</exclude>
                    <exclude>**/plantuml/mindmap/T*.*</exclude>
                    <exclude>**/plantuml/nwdiag/core/**</exclude>
                    <exclude>**/plantuml/nwdiag/next/**</exclude>
                    <exclude>**/plantuml/nwdiag/C*.*</exclude>
                    <exclude>**/plantuml/nwdiag/V*.*</exclude>
                    <exclude>**/plantuml/openiconic/data/**</exclude>
                    <exclude>**/plantuml/openiconic/M*.*</exclude>
                    <exclude>**/plantuml/openiconic/O*.*</exclude>
                    <exclude>**/plantuml/openiconic/S*.*</exclude>
                    <exclude>**/plantuml/oregon/B*.*</exclude>
                    <exclude>**/plantuml/oregon/K*.*</exclude>
                    <exclude>**/plantuml/oregon/N*.*</exclude>
                    <exclude>**/plantuml/oregon/O*.*</exclude>
                    <exclude>**/plantuml/oregon/S*.*</exclude>
                    <exclude>**/plantuml/regexdiagram/C*.*</exclude>
                    <exclude>**/plantuml/regexdiagram/G*.*</exclude>
                    <exclude>**/plantuml/regexdiagram/R*.*</exclude>
                    <exclude>**/plantuml/regexdiagram/S*.*</exclude>
                    <exclude>**/plantuml/salt/element/**</exclude>
                    <exclude>**/plantuml/salt/factory/**</exclude>
                    <exclude>**/plantuml/salt/C*.*</exclude>
                    <exclude>**/plantuml/salt/D*.*</exclude>
                    <exclude>**/plantuml/salt/Po*.*</exclude>
                    <exclude>**/plantuml/salt/S*.*</exclude>
                    <exclude>**/plantuml/salt/T*.*</exclude>
                    <exclude>**/plantuml/stats/**</exclude>
                    <exclude>**/plantuml/swing/**</exclude>
                    <exclude>**/plantuml/tikz/**</exclude>
                    <exclude>**/plantuml/vizjs/**</exclude>
                    <exclude>**/plantuml/wbs/C*.*</exclude>
                    <exclude>**/plantuml/wbs/F*.*</exclude>
                    <exclude>**/plantuml/wbs/I*.*</exclude>
                    <exclude>**/plantuml/wbs/WBSL*.*</exclude>
                    <exclude>**/plantuml/wbs/WBST*.*</exclude>
                    <exclude>**/plantuml/wbs/WE*.*</exclude>
                    <exclude>**/plantuml/wire/C*.*</exclude>
                    <exclude>**/plantuml/wire/S*.*</exclude>
                    <exclude>**/plantuml/wire/WA*.*</exclude>
                    <exclude>**/plantuml/wire/WB*.*</exclude>
                    <exclude>**/plantuml/wire/WL*.*</exclude>
                    <exclude>**/plantuml/wire/WO*.*</exclude>
                    <exclude>**/plantuml/wire/WP*.*</exclude>
                    <exclude>**/plantuml/windowsdot/**</exclude>
                    <exclude>**/plantuml/xmi/**</exclude>
                    <exclude>**/plantuml/zopfli/**</exclude>
                  </excludes>
                </filter>
              </filters>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <artifactSet>
            <includes>
              <include>net.sourceforge.plantuml:plantuml-asl</include>
            </includes>
          </artifactSet>
          <minimizeJar>true</minimizeJar>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>maven-central</id>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-sources</id>
                <goals>
                  <goal>jar-no-fork</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-gpg-plugin</artifactId>
            <executions>
              <execution>
                <id>sign-artifacts</id>
                <phase>verify</phase>
                <goals>
                  <goal>sign</goal>
                </goals>
                <configuration>
                  <gpgArguments>
                    <gpgArgument>--batch</gpgArgument>
                    <gpgArgument>--pinentry-mode</gpgArgument>
                    <gpgArgument>loopback</gpgArgument>
                  </gpgArguments>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.sonatype.central</groupId>
            <artifactId>central-publishing-maven-plugin</artifactId>
            <extensions>true</extensions>
            <configuration>
              <publishingServerId>central</publishingServerId>
              <autoPublish>true</autoPublish>
              <waitUntil>published</waitUntil>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    <profile>
      <id>sonar</id>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonarsource.scanner.maven</groupId>
            <artifactId>sonar-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>sonar-check</id>
                <phase>verify</phase>
                <goals>
                  <goal>sonar</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
      <properties>
        <sonar.projectKey>talsma-ict_umldoclet</sonar.projectKey>
        <sonar.host.url>https://sonarcloud.io</sonar.host.url>
        <sonar.organization>talsma-ict</sonar.organization>
      </properties>
    </profile>
    <profile>
      <id>license-check</id>
      <build>
        <plugins>
          <plugin>
            <groupId>com.mycila</groupId>
            <artifactId>license-maven-plugin</artifactId>
            <executions>
              <execution>
                <id>check-license</id>
                <phase>compile</phase>
                <goals>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <header>${project.basedir}/.mvn/license/header.txt</header>
              <properties>
                <owner>${project.organization.name}</owner>
              </properties>
              <mapping>
                <java>SLASHSTAR_STYLE</java>
              </mapping>
              <excludes>
                <exclude>.codacy.yml</exclude>
                <exclude>.gitignore</exclude>
                <exclude>.github/**</exclude>
                <exclude>.mvn/**</exclude>
                <exclude>.lift/**</exclude>
                <exclude>mvnw*</exclude>
                <exclude>**/.idea/**</exclude>
                <exclude>LICENSE</exclude>
                <exclude>**/*.md</exclude>
                <exclude>**/*.puml</exclude>
                <exclude>**/*.svg</exclude>
                <exclude>src/main/resources/**</exclude>
                <exclude>src/test/resources/**</exclude>
              </excludes>
              <strictCheck>true</strictCheck>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>findbugs-annotations</artifactId>
      <version>3.0.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.junit.jupiter</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>6.0.1</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>junit-jupiter-api</artifactId>
          <groupId>org.junit.jupiter</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit-jupiter-params</artifactId>
          <groupId>org.junit.jupiter</groupId>
        </exclusion>
        <exclusion>
          <artifactId>junit-jupiter-engine</artifactId>
          <groupId>org.junit.jupiter</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.testcontainers</groupId>
      <artifactId>junit-jupiter</artifactId>
      <version>1.21.3</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>testcontainers</artifactId>
          <groupId>org.testcontainers</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest</artifactId>
      <version>3.0</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>5.20.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>byte-buddy</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>byte-buddy-agent</artifactId>
          <groupId>net.bytebuddy</groupId>
        </exclusion>
        <exclusion>
          <artifactId>objenesis</artifactId>
          <groupId>org.objenesis</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>jul-to-slf4j</artifactId>
      <version>2.0.17</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>slf4j-api</artifactId>
          <groupId>org.slf4j</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>1.5.20</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>logback-core</artifactId>
          <groupId>ch.qos.logback</groupId>
        </exclusion>
        <exclusion>
          <artifactId>slf4j-api</artifactId>
          <groupId>org.slf4j</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.shared</groupId>
      <artifactId>maven-invoker</artifactId>
      <version>3.3.0</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>maven-shared-utils</artifactId>
          <groupId>org.apache.maven.shared</groupId>
        </exclusion>
        <exclusion>
          <artifactId>javax.inject</artifactId>
          <groupId>javax.inject</groupId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
  <distributionManagement>
    <repository>
      <id>central</id>
      <url>https://central.sonatype.com</url>
    </repository>
    <snapshotRepository>
      <id>central</id>
      <url>https://central.sonatype.com/repository/maven-snapshots</url>
    </snapshotRepository>
  </distributionManagement>
  <properties>
    <maven.compiler.release>9</maven.compiler.release>
    <mockito.version>5.20.0</mockito.version>
    <hamcrest.version>3.0</hamcrest.version>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <plantuml-asl.version>1.2025.10</plantuml-asl.version>
    <slf4j.version>2.0.17</slf4j.version>
    <maven-invoker.version>3.3.0</maven-invoker.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <junit.version>6.0.1</junit.version>
    <logback.version>1.5.20</logback.version>
  </properties>
</project>
