<?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>
  <groupId>org.voltdb</groupId>
  <artifactId>volt-stream-plugin-volt-api</artifactId>
  <version>1.5.4</version>
  <name>Plugins : Volt</name>
  <description>VoltSP - a cloud-native framework for building streaming data pipelines.</description>
  <url>https://voltactivedata.com/plugins/volt-stream-plugin-volt</url>
  <licenses>
    <license>
      <name>MIT License</name>
      <url>https://github.com/git/git-scm.com/blob/main/MIT-LICENSE.txt</url>
      <distribution>repo</distribution>
      <comments>A short and simple permissive license</comments>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>rmorgenstein</id>
      <name>Ruth Morgenstein</name>
      <email>rmorgenstein@voltdb.com</email>
      <organizationUrl>https://voltactivedata.com</organizationUrl>
    </developer>
  </developers>
  <scm>
    <connection>scm:git:https://github.com/VoltDB/volt-stream.git/plugins/volt-stream-plugin-volt</connection>
    <developerConnection>scm:git:https://github.com/VoltDB/volt-stream.git/plugins/volt-stream-plugin-volt</developerConnection>
    <url>https://github.com/VoltDB/volt-stream/plugins/volt-stream-plugin-volt</url>
  </scm>
  <distributionManagement>
    <repository>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>volt-internal-artifacts</id>
      <url>artifactregistry://us-maven.pkg.dev/voltdb-operator/volt-artifacts-internal</url>
    </repository>
  </distributionManagement>
  <properties>
    <maven.compiler.target>17</maven.compiler.target>
    <maven.compiler.source>17</maven.compiler.source>
    <maven.deploy.skip>false</maven.deploy.skip>
  </properties>
  <build>
    <outputDirectory>/var/jenkins/workspace/eams_VoltDB_Stream_release-1.5.4/plugins/volt/target/classes</outputDirectory>
    <extensions>
      <extension>
        <groupId>com.google.cloud.artifactregistry</groupId>
        <artifactId>artifactregistry-maven-wagon</artifactId>
        <version>2.2.4</version>
      </extension>
    </extensions>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>3.6.0</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <minimizeJar>true</minimizeJar>
          <entryPoints>
            <entryPoint>org.voltdb.stream.plugin.volt.api.BulkInsertVoltSinkConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.VoltDBResourceConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.window.tumbling.VoltTumblingCountWindowConfiguratorBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.ProcedureVoltSinkConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.VoltProcedureCacheConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.BatchedVoltProcedureCallConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.VoltProcedureCallConfigBuilder</entryPoint>
            <entryPoint>org.voltdb.stream.plugin.volt.api.window.tumbling.VoltTumblingTimeWindowConfiguratorBuilder</entryPoint>
          </entryPoints>
          <filters>
            <filter>
              <artifact>*:*</artifact>
              <includes>
                <include>META-INF/maven/org.voltdb/volt-stream-plugin-volt-api/**</include>
                <include>**/*.class</include>
              </includes>
            </filter>
          </filters>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <version>3.4.2</version>
        <executions>
          <execution>
            <id>default-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
          <execution>
            <id>javadoc-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>javadoc</classifier>
              <classesDirectory>${basedir}/javadoc</classesDirectory>
            </configuration>
          </execution>
          <execution>
            <id>sources-jar</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
            <configuration>
              <classifier>sources</classifier>
              <classesDirectory>${basedir}/../generated-sources/annotations</classesDirectory>
              <includes>
                <include>org/voltdb/stream/plugin/volt/api/BulkInsertVoltSinkConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/VoltDBResourceConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/window/tumbling/VoltTumblingCountWindowConfiguratorBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/ProcedureVoltSinkConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/VoltProcedureCacheConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/BatchedVoltProcedureCallConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/VoltProcedureCallConfigBuilder.java</include>
                <include>org/voltdb/stream/plugin/volt/api/window/tumbling/VoltTumblingTimeWindowConfiguratorBuilder.java</include>
              </includes>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
