client
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>app.hypi.mekadb</groupId> <artifactId>client</artifactId> <version>0.1.1</version> </dependency>
<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> <groupId>app.hypi.mekadb</groupId> <artifactId>client</artifactId> <version>0.1.1</version> <packaging>jar</packaging> <name>client</name> <inceptionYear>2024</inceptionYear> <url>https://hypi.ai/mekadb</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <!-- version control --> <scm> <connection>scm:git:git@github.com:hypi-universe/mekadb.git</connection> <developerConnection>scm:git:git@github.com:hypi-universe/mekadb.git</developerConnection> <url>git@github.com:hypi-universe/mekadb.git</url> <tag>HEAD</tag> </scm> <developers> <developer> <id>zcourts</id> <name>Courtney Robinson</name> <email>oss@hypi.io</email> </developer> </developers> <properties> <java.version>8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <grpc.version>1.59.0</grpc.version> <hypi.groovy.version>4.0.15</hypi.groovy.version> <spock.version>2.1-groovy-3.0</spock.version> <maven.compiler.version>3.11.0</maven.compiler.version> </properties> <description> MekaDB Java client provides a streaming client API to access Hypi's MekaDB SQL database on the JVM. See https://hypi.ai/mekadb </description> <dependencyManagement> <dependencies> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-bom</artifactId> <version>${grpc.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.14.2</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.15.1</version> </dependency> <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId> <version>2.12.5</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-netty-shaded</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-protobuf</artifactId> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-services</artifactId> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-stub</artifactId> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-all</artifactId> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java-util</artifactId> <version>3.25.0</version> </dependency> <dependency> <!-- necessary for Java 9+ --> <groupId>org.apache.tomcat</groupId> <artifactId>annotations-api</artifactId> <version>6.0.53</version> <scope>provided</scope> </dependency> <!-- Mandatory dependencies for using Spock --> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <scope>test</scope> <version>${spock.version}</version> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-junit4</artifactId> <version>${spock.version}</version> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-spring</artifactId> <version>${spock.version}</version> <scope>test</scope> </dependency> <!-- Optional dependencies for using Spock --> <dependency> <!-- use a specific Groovy version rather than the one specified by spock-core --> <groupId>org.apache.groovy</groupId> <artifactId>groovy</artifactId> <version>${hypi.groovy.version}</version> </dependency> <dependency> <!-- enables mocking of classes (in addition to interfaces) --> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId> <version>1.12.7</version> <scope>test</scope> </dependency> <dependency> <!-- enables mocking of classes without default constructor (together with ByteBuddy or CGLIB) --> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>3.2</version> <scope>test</scope> </dependency> <dependency> <!-- only required if Hamcrest matchers are used --> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>2.2</version> <scope>test</scope> </dependency> <!-- Dependencies used by examples in this project (not required for using Spock) --> <dependency> <groupId>org.apache.groovy</groupId> <artifactId>groovy-sql</artifactId> <version>${hypi.groovy.version}</version> </dependency> </dependencies> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>3.0.0-M5</version> </plugin> </plugins> </reporting> <build> <finalName>${project.artifactId}-${project.version}-${git.commit.id.full}</finalName> <extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.7.1</version> </extension> </extensions> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.6.1</version> <configuration> <protocArtifact>com.google.protobuf:protoc:3.24.0:exe:${os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.59.0:exe:${os.detected.classifier}</pluginArtifact> <!-- <additionalProtoPathElements> <additionProtoPathElement>${project.basedir}/proto/public-grpc-models</additionProtoPathElement> </additionalProtoPathElements> --> <includes> <include>**/public-grpc-apis/mekadb_client.proto</include> </includes> <!-- WARNING - this crazy plugin deletes everything in the directory...make sure this isn't changed to a src route--> <outputDirectory>${project.basedir}/src/main/proto/java</outputDirectory> <!-- For some reason this is true by default and it deletes the other generated classes....sigh https://github.com/xolstice/protobuf-maven-plugin/issues/35#issuecomment-369034142--> <clearOutputDirectory>false</clearOutputDirectory> </configuration> <executions> <execution> <goals> <goal>compile</goal> <goal>compile-custom</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <version>6.0.0</version> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> <phase>generate-resources</phase> </execution> <execution> <id>validate-the-git-infos</id> <goals> <goal>validateRevision</goal> </goals> <phase>generate-resources</phase> </execution> </executions> <configuration> <dotGitDirectory>${project.basedir}/../../.git</dotGitDirectory> <prefix>git</prefix> <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat> <dateFormatTimeZone>${user.timezone}</dateFormatTimeZone> <verbose>false</verbose> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/git.json </generateGitPropertiesFilename> <format>json</format> <commitIdGenerationMode>full</commitIdGenerationMode> <skipPoms>true</skipPoms> <injectAllReactorProjects>false</injectAllReactorProjects> <failOnNoGitDirectory>true</failOnNoGitDirectory> <failOnUnableToExtractRepoInfo>true</failOnUnableToExtractRepoInfo> <skip>false</skip> <offline>true</offline> <runOnlyOnce>false</runOnlyOnce> <useNativeGit>false</useNativeGit> <nativeGitTimeoutInMs>30000</nativeGitTimeoutInMs> <abbrevLength>7</abbrevLength> <gitDescribe> <skip>false</skip> <always>true</always> <abbrev>7</abbrev> <dirty>-dirty</dirty> <match>*</match> <tags>false</tags> <forceLongFormat>false</forceLongFormat> </gitDescribe> <!-- <validationProperties>--> <!-- <validationProperty>--> <!-- <name>validating project version</name>--> <!-- <value>${project.version}</value>--> <!-- <shouldMatchTo><![CDATA[^.*(?<!-SNAPSHOT)$]]></shouldMatchTo>--> <!-- </validationProperty>--> <!-- <!– the next validationProperty you would like to validate –>--> <!-- </validationProperties>--> <validationShouldFailIfNoMatch>true</validationShouldFailIfNoMatch> <evaluateOnCommit>HEAD</evaluateOnCommit> <useBranchNameFromBuildEnvironment>true</useBranchNameFromBuildEnvironment> <injectIntoSysProperties>true</injectIntoSysProperties> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>target/generated-sources/apt</source> <source>src/main/proto/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.version}</version> <configuration> <release>${java.version}</release> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <!-- Required for Groovy/Spock --> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.1.2</version> <configuration> <excludes>*.io.hypi.arc.lucene.rocksdb.codec.text.*</excludes> </configuration> </plugin> <!-- Run annotation processors on src/main/java sources --> <plugin> <groupId>org.bsc.maven</groupId> <artifactId>maven-processor-plugin</artifactId> <version>3.3.3</version> <executions> <execution> <id>process</id> <goals> <goal>process</goal> </goals> <phase>generate-sources</phase> </execution> <!-- Run annotation processors on src/test/java sources --> <!--<execution> <id>process-test</id> <goals> <goal>process-test</goal> </goals> <phase>generate-test-sources</phase> </execution>--> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> <configuration> <source>${java.version}</source> <doclint>none</doclint> <detectJavaApiLink>false</detectJavaApiLink> </configuration> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <passphraseServerId>gpg.passphrase</passphraseServerId> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.3.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <tokenAuth>true</tokenAuth> <autoPublish>true</autoPublish> <!-- <waitUntil>published</waitUntil>--> <!-- <deploymentName>mekadb-client</deploymentName>--> <failOnBuildFailure>true</failOnBuildFailure> <!-- configured in settings.xml--> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> <!-- Profiles --> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <!-- <gpg.executable>gpg2</gpg.executable>--> <gpg.passphrase>${env.MAVEN_GPG_PASSPHRASE}</gpg.passphrase> </properties> <build> <plugins> <!-- GPG Signing plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <!-- Prevent gpg from using pinentry programs --> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>