logdash
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.logdash</groupId> <artifactId>logdash</artifactId> <version>0.2.0</version> </dependency>
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>io.logdash</groupId> <artifactId>logdash</artifactId> <version>0.2.0</version> <packaging>jar</packaging> <name>Logdash Java SDK</name> <description>Official Java SDK for Logdash.io observability platform</description> <url>https://logdash.io</url> <licenses> <license> <name>MIT License</name> <url>https://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>logdash-team</id> <name>Logdash Team</name> <email>contact@logdash.io</email> <organization>Logdash</organization> <organizationUrl>https://logdash.io</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git://github.com/logdash-io/java-sdk.git</connection> <developerConnection>scm:git:ssh://github.com/logdash-io/java-sdk.git</developerConnection> <url>https://github.com/logdash-io/java-sdk</url> </scm> <properties> <java.version>17</java.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <maven.compiler.release>${java.version}</maven.compiler.release> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!-- Dependencies --> <junit.version>5.13.0</junit.version> <mockito.version>5.18.0</mockito.version> <assertj.version>3.27.3</assertj.version> <wiremock.version>3.13.0</wiremock.version> <slf4j.version>2.0.17</slf4j.version> <jackson.version>2.19.0</jackson.version> <!-- Plugin versions --> <maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version> <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version> <maven-failsafe-plugin.version>3.5.3</maven-failsafe-plugin.version> <jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> <spotbugs-maven-plugin.version>4.9.3.0</spotbugs-maven-plugin.version> <spotless.maven.plugin.version>2.44.5</spotless.maven.plugin.version> <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version> <maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> </properties> <dependencies> <!-- Runtime Dependencies --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> <version>${jackson.version}</version> </dependency> <!-- Test Dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-params</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.wiremock</groupId> <artifactId>wiremock</artifactId> <version>${wiremock.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- Maven Enforcer Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven-enforcer-plugin.version}</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.6.0</version> </requireMavenVersion> <requireJavaVersion> <version>${java.version}</version> </requireJavaVersion> <bannedDependencies> <excludes> <exclude>commons-logging:commons-logging</exclude> <exclude>log4j:log4j</exclude> </excludes> </bannedDependencies> </rules> </configuration> </execution> </executions> </plugin> <!-- Compiler Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <release>${maven.compiler.release}</release> <compilerArgs> <arg>-parameters</arg> <arg>-Xlint:unchecked</arg> <arg>-Xlint:deprecation</arg> <arg>-Werror</arg> </compilerArgs> </configuration> </plugin> <!-- SpotBugs Plugin --> <plugin> <groupId>com.github.spotbugs</groupId> <artifactId>spotbugs-maven-plugin</artifactId> <version>${spotbugs-maven-plugin.version}</version> <configuration> <effort>Max</effort> <threshold>Low</threshold> <xmlOutput>true</xmlOutput> <failOnError>true</failOnError> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <!-- Surefire Plugin for Unit Tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <useSystemClassLoader>false</useSystemClassLoader> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude>**/*IntegrationTest.java</exclude> <exclude>**/*PerformanceTest.java</exclude> </excludes> <systemPropertyVariables> <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> </systemPropertyVariables> <argLine>@{argLine} -Xmx1024m</argLine> </configuration> </plugin> <!-- Failsafe Plugin for Integration Tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <configuration> <includes> <include>**/*IntegrationTest.java</include> </includes> <systemPropertyVariables> <jacoco-agent.destfile>target/jacoco-it.exec</jacoco-agent.destfile> </systemPropertyVariables> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <!-- JaCoCo Plugin for Code Coverage --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <configuration> <excludes> <exclude>**/exception/*</exclude> <exclude>**/config/*Builder*</exclude> <exclude>**/*$*.class</exclude> </excludes> </configuration> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <goals> <goal>report</goal> </goals> <phase>test</phase> </execution> <execution> <id>prepare-agent-integration</id> <goals> <goal>prepare-agent-integration</goal> </goals> </execution> <execution> <id>report-integration</id> <goals> <goal>report-integration</goal> </goals> <phase>post-integration-test</phase> </execution> <execution> <id>merge-results</id> <goals> <goal>merge</goal> </goals> <phase>verify</phase> <configuration> <fileSets> <fileSet> <directory>${project.build.directory}</directory> <includes> <include>jacoco.exec</include> <include>jacoco-it.exec</include> </includes> <excludes> <exclude>jacoco-merged.exec</exclude> </excludes> </fileSet> </fileSets> <destFile>${project.build.directory}/jacoco-merged.exec</destFile> </configuration> </execution> <execution> <id>report-merged</id> <goals> <goal>report</goal> </goals> <phase>verify</phase> <configuration> <dataFile>${project.build.directory}/jacoco-merged.exec</dataFile> <outputDirectory>${project.build.directory}/site/jacoco-merged</outputDirectory> <formats> <format>XML</format> <format>CSV</format> <format>HTML</format> </formats> </configuration> </execution> <execution> <id>check-coverage</id> <goals> <goal>check</goal> </goals> <phase>verify</phase> <configuration> <dataFile>target/jacoco-merged.exec</dataFile> <rules> <rule> <element>BUNDLE</element> <limits> <limit> <counter>INSTRUCTION</counter> <value>COVEREDRATIO</value> <minimum>0.70</minimum> </limit> <limit> <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>0.70</minimum> </limit> <limit> <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>0.50</minimum> </limit> </limits> </rule> </rules> <haltOnFailure>true</haltOnFailure> </configuration> </execution> </executions> </plugin> <!-- Source Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Javadoc Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <source>${java.version}</source> <doclint>none</doclint> <quiet>true</quiet> <failOnError>false</failOnError> <failOnWarnings>false</failOnWarnings> </configuration> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Spotless Plugin --> <plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>${spotless.maven.plugin.version}</version> <configuration> <java> <removeUnusedImports/> <trimTrailingWhitespace/> <endWithNewline/> <indent> <spaces>true</spaces> <spacesPerTab>4</spacesPerTab> </indent> <includes> <include>src/main/java/**/*.java</include> <include>src/test/java/**/*.java</include> <include>examples/**/src/main/java/**/*.java</include> <include>examples/**/src/test/java/**/*.java</include> <include>check-deployed-package/**/*.java</include> </includes> <excludes> <exclude>**/target/**</exclude> <exclude>**/generated/**</exclude> </excludes> </java> <markdown> <includes> <include>**/*.md</include> <include>examples/**/*.md</include> </includes> <flexmark/> <excludes> <exclude>**/target/**</exclude> </excludes> </markdown> <json> <includes> <include>**/*.json</include> </includes> <gson/> <excludes> <exclude>**/target/**</exclude> </excludes> </json> <pom> <includes> <include>pom.xml</include> <include>**/pom.xml</include> <include>examples/**/pom.xml</include> </includes> <sortPom> <expandEmptyElements>false</expandEmptyElements> <spaceBeforeCloseEmptyElement>false</spaceBeforeCloseEmptyElement> <nrOfIndentSpace>4</nrOfIndentSpace> </sortPom> <excludes> <exclude>**/target/**</exclude> </excludes> </pom> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> <phase>verify</phase> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>local-dev</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <maven.javadoc.failOnError>false</maven.javadoc.failOnError> <maven.javadoc.failOnWarnings>false</maven.javadoc.failOnWarnings> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </profile> <!-- GitHub Packages Release Profile --> <profile> <id>github-release</id> <activation> <property> <name>performRelease</name> <value>true</value> </property> </activation> <distributionManagement> <repository> <id>github</id> <name>GitHub Packages</name> <url>https://maven.pkg.github.com/logdash-io/java-sdk</url> </repository> <snapshotRepository> <id>github</id> <name>GitHub Packages</name> <url>https://maven.pkg.github.com/logdash-io/java-sdk</url> </snapshotRepository> </distributionManagement> <build> <plugins> <!-- Maven Deploy Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> <configuration> <deployAtEnd>true</deployAtEnd> <skip>false</skip> </configuration> </plugin> </plugins> </build> </profile> <!-- Maven Central Release Profile --> <profile> <id>maven-central-release</id> <distributionManagement> <repository> <id>central</id> <name>Central Repository</name> <url>https://central.sonatype.com/api/v1/publisher</url> </repository> <snapshotRepository> <id>central</id> <name>Central Repository Snapshots</name> <url>https://central.sonatype.com/repository/maven-snapshots/</url> </snapshotRepository> </distributionManagement> <build> <plugins> <!-- Central Publishing Maven Plugin --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> <checksums>required</checksums> </configuration> </plugin> <!-- GPG Signing Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <goals> <goal>sign</goal> </goals> <phase>verify</phase> <configuration> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> <arg>--batch</arg> <arg>--no-tty</arg> <arg>--yes</arg> </gpgArguments> <keyname>${env.GPG_KEY_ID}</keyname> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> <configuration> <skip>false</skip> </configuration> </plugin> </plugins> </build> </profile> <!-- Quality Profile --> <profile> <id>quality</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>analyze-dependencies</id> <goals> <goal>analyze-only</goal> </goals> <configuration> <failOnWarning>true</failOnWarning> <ignoreNonCompile>true</ignoreNonCompile> <ignoredUnusedDeclaredDependencies> <ignoredUnusedDeclaredDependency>org.slf4j:slf4j-api</ignoredUnusedDeclaredDependency> <ignoredUnusedDeclaredDependency>org.junit.jupiter:junit-jupiter-engine</ignoredUnusedDeclaredDependency> </ignoredUnusedDeclaredDependencies> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>