Skip to content

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

Merged
merged 7 commits into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
10 changes: 5 additions & 5 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
112 changes: 73 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

<artifactId>cdevents-sdk-java</artifactId>
<version>v0.1.0-draft6</version>
<version>0.1.0-SNAPSHOT</version>

<name>cdevents-sdk-java</name>
<description>cdevents java sdk</description>
Expand All @@ -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>
<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>

Choose a reason for hiding this comment

The 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!

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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.

Copy link

Choose a reason for hiding this comment

The 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>

Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
<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>
Expand Down