-
Notifications
You must be signed in to change notification settings - Fork 6
Update pom for release #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
fe79ca3
b394c9c
de14c4a
cc66fb9
faddbbc
0f7097f
35e32cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
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.sdk-java</groupId> | ||
<groupId>dev.cdevents</groupId> | ||
<artifactId>cdevents-sdk-java</artifactId> | ||
<version>v0.1.0-draft6</version> | ||
<version>0.1.0-SNAPSHOT</version> | ||
afrittoli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
<name>cdevents-sdk-java</name> | ||
<description>cdevents java sdk</description> | ||
|
@@ -24,21 +24,24 @@ | |
<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.13.4.2</jackson.version> | ||
<jackson.version>2.15.0</jackson.version> | ||
<slf4j.version>2.0.7</slf4j.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> | ||
<version.clean.plugin>3.1.0</version.clean.plugin> | ||
<version.compiler.plugin>3.9.0</version.compiler.plugin> | ||
<version.deploy.plugin>3.0.0-M1</version.deploy.plugin> | ||
<project.build.outputTimestamp>${git.commit.author.time}</project.build.outputTimestamp> | ||
afrittoli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<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.gpg.plugin>1.6</version.gpg.plugin> | ||
<version.install.plugin>3.0.0-M1</version.install.plugin> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A personal question, did maven release a specific version for the Mac M1 chip? Have not seen this version and tried looking it up but could not find an answer for the M1 on the plugin version. Very interesting! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a chip related version. M1 usually stands for "milestone". It's just a version tag like GA, FINAL, and so forth. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's fantastic, thanks for sharing! I just haven't seen an M1 version of a plugin before and was excited to learn about it. 😄 |
||
<version.javadoc.plugin>3.2.0</version.javadoc.plugin> | ||
<version.jar.plugin>3.2.0</version.jar.plugin> | ||
<version.install.plugin>3.1.1</version.install.plugin> | ||
<version.javadoc.plugin>3..0</version.javadoc.plugin> | ||
<version.jar.plugin>3.3.0</version.jar.plugin> | ||
<version.nexus.plugin>1.6.8</version.nexus.plugin> | ||
<version.resources.plugin>3.2.0</version.resources.plugin> | ||
<version.resources.plugin>3.3.1</version.resources.plugin> | ||
<version.source.plugin>3.2.1</version.source.plugin> | ||
</properties> | ||
|
||
|
@@ -77,59 +80,69 @@ | |
<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> | ||
|
||
<!-- 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>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>${jackson.version}</version> | ||
</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>1.0.80</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>2.0.6</version> | ||
<version>${slf4j.version}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>2.0.6</version> | ||
<version>${slf4j.version}</version> | ||
<optional>true</optional> | ||
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<!-- Test dependencies --> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.datatype</groupId> | ||
<artifactId>jackson-datatype-jsr310</artifactId> | ||
<version>2.14.2</version> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter</artifactId> | ||
<version>${junit-jupiter.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.networknt</groupId> | ||
<artifactId>json-schema-validator</artifactId> | ||
<version>1.0.78</version> | ||
<groupId>org.assertj</groupId> | ||
<artifactId>assertj-core</artifactId> | ||
<version>${assertj-core.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
|
||
</dependencies> | ||
<build> | ||
<pluginManagement> | ||
|
@@ -190,16 +203,37 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.22.0</version> | ||
<version>3.0.0</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>io.github.git-commit-id</groupId> | ||
<artifactId>git-commit-id-maven-plugin</artifactId> | ||
afrittoli marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<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-Jdk>${java.version} (${java.vendor} ${java.vm.version})</Build-Jdk> | ||
<Build-OS>${os.name} ${os.arch} ${os.version}</Build-OS> | ||
<Build-Timestamp>${git.commit.author.time}</Build-Timestamp> | ||
<Build-Revision>${git.commit.id}</Build-Revision> | ||
</manifestEntries> | ||
<manifest> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/