cdevents-sdk-java
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>dev.cdevents</groupId> <artifactId>cdevents-sdk-java</artifactId> <version>0.1.2</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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>dev.cdevents</groupId> <artifactId>cdevents-sdk-java</artifactId> <version>0.1.2</version> <name>cdevents-sdk-java</name> <description>cdevents java sdk</description> <url>https://github.com/cdevents</url> <inceptionYear>2022</inceptionYear> <organization> <name>Continuous Delivery Foundation</name> <url>https://cd.foundation</url> </organization> <properties> <project.identifier>${project.name}</project.identifier> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <cloudevents.version>2.3.0</cloudevents.version> <junit-jupiter.version>5.8.2</junit-jupiter.version> <assertj-core.version>3.22.0</assertj-core.version> <jackson.version>2.15.0</jackson.version> <slf4j.version>2.0.7</slf4j.version> <json.schema.version>1.0.80</json.schema.version> <packageurl.version>1.4.1</packageurl.version> <project.github.repository>cdevents/sdk-java</project.github.repository> <nexus.url>https://s01.oss.sonatype.org</nexus.url> <repository.url>git@github.com:${project.github.repository}.git</repository.url> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.build.outputTimestamp>2023-07-24T13:44:11Z</project.build.outputTimestamp> <version.clean.plugin>3.2.0</version.clean.plugin> <version.compiler.plugin>3.11.0</version.compiler.plugin> <version.deploy.plugin>3.1.1</version.deploy.plugin> <version.git.plugin>5.0.0</version.git.plugin> <version.install.plugin>3.1.1</version.install.plugin> <version.javadoc.plugin>3.5.0</version.javadoc.plugin> <version.jar.plugin>3.3.0</version.jar.plugin> <version.jreleaser.plugin>1.6.0</version.jreleaser.plugin> <version.resources.plugin>3.3.1</version.resources.plugin> <version.source.plugin>3.2.1</version.source.plugin> </properties> <licenses> <license> <name>Apache-2.0</name> <url>https://spdx.org/licenses/Apache-2.0.html</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>afrittoli</id> <name>Andrea Frittoli</name> </developer> <developer> <id>zaza</id> <name>Tomasz Zarna</name> </developer> <developer> <id>rjalander</id> <name>Jalander Ramagiri</name> </developer> </developers> <issueManagement> <system>github.com</system> <url>https://github.com/${project.github.repository}/issues</url> </issueManagement> <scm> <connection>scm:git:${repository.url}</connection> <developerConnection>scm:git:${repository.url}</developerConnection> <tag>HEAD</tag> <url>${repository.url}</url> </scm> <dependencyManagement> <dependencies> <dependency> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-bom</artifactId> <version>${jackson.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>io.cloudevents</groupId> <artifactId>cloudevents-core</artifactId> <version>${cloudevents.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> </dependency> <dependency> <groupId>com.networknt</groupId> <artifactId>json-schema-validator</artifactId> <version>${json.schema.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>com.github.package-url</groupId> <artifactId>packageurl-java</artifactId> <version>${packageurl.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>${junit-jupiter.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj-core.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${version.clean.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${version.compiler.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${version.deploy.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${version.install.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${version.jar.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${version.javadoc.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${version.resources.plugin}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${version.source.plugin}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0</version> </plugin> <plugin> <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> <version>${version.git.plugin}</version> <executions> <execution> <id>resolve-git-properties</id> <goals> <goal>revision</goal> </goals> <phase>validate</phase> <configuration> <verbose>false</verbose> <failOnNoGitDirectory>false</failOnNoGitDirectory> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.directory}/git.properties</generateGitPropertiesFilename> <dateFormat>yyyy-MM-dd'T'HH:mm:ssXXX</dateFormat> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Build-Timestamp>${git.commit.author.time}</Build-Timestamp> <Build-Revision>${git.commit.id}</Build-Revision> </manifestEntries> <manifest> <addDefaultImplementationEntries>true</addDefaultImplementationEntries> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.moditect</groupId> <artifactId>moditect-maven-plugin</artifactId> <version>1.0.0.Final</version> <executions> <execution> <id>add-module-infos</id> <phase>package</phase> <goals> <goal>add-module-info</goal> </goals> <configuration> <overwriteExistingFiles>true</overwriteExistingFiles> <failOnWarning>false</failOnWarning> <module> <moduleInfo> <name>dev.cdevents</name> <!-- export everything --> <exports>*;</exports> <!-- declare services consumed by the artifact --> <addServiceUses>true</addServiceUses> </moduleInfo> </module> <jdepsExtraArgs> <arg>--multi-release=9</arg> </jdepsExtraArgs> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>publication</id> <activation> <property> <name>release</name> </property> </activation> <properties> <altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository> </properties> <build> <defaultGoal>deploy</defaultGoal> <plugins> <plugin> <groupId>com.coderplus.maven.plugins</groupId> <artifactId>copy-rename-maven-plugin</artifactId> <version>1.0.1</version> <executions> <execution> <id>copy-license-file</id> <goals> <goal>copy</goal> </goals> <phase>generate-sources</phase> <configuration> <sourceFile>${session.executionRootDirectory}/LICENSE</sourceFile> <destinationFile>${project.build.outputDirectory}/META-INF/LICENSE-${project.identifier}</destinationFile> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <attach>true</attach> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> <configuration> <attach>true</attach> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <property> <name>release</name> </property> </activation> <build> <defaultGoal>jreleaser:full-release</defaultGoal> <plugins> <plugin> <groupId>org.jreleaser</groupId> <artifactId>jreleaser-maven-plugin</artifactId> <configuration> <jreleaser> <release> <github> <issues> <enabled>true</enabled> </issues> <changelog> <skipMergeCommits>true</skipMergeCommits> <formatted>ALWAYS</formatted> <format>- {{commitShortHash}} {{commitTitle}}</format> <contributors> <format>- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}</format> </contributors> <hide> <contributors> <contributor>bot</contributor> <contributor>Bot</contributor> <contributor>GitHub</contributor> </contributors> </hide> </changelog> </github> </release> <signing> <active>ALWAYS</active> <armored>true</armored> </signing> <deploy> <maven> <nexus2> <maven-central> <active>ALWAYS</active> <url>https://s01.oss.sonatype.org/service/local</url> <snapshotUrl>https://s01.oss.sonatype.org/content/repositories/snapshots/</snapshotUrl> <closeRepository>true</closeRepository> <releaseRepository>true</releaseRepository> <stagingRepositories>target/staging-deploy</stagingRepositories> </maven-central> </nexus2> </maven> </deploy> </jreleaser> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>