-
Notifications
You must be signed in to change notification settings - Fork 6
Validate artifactId with PacakgeURL format #47
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<modelVersion>4.0.0</modelVersion> | ||
<groupId>dev.cdevents</groupId> | ||
<artifactId>cdevents-sdk-java</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
<version>0.1.2-SNAPSHOT</version> | ||
|
||
<name>cdevents-sdk-java</name> | ||
<description>cdevents java sdk</description> | ||
|
@@ -26,6 +26,8 @@ | |
<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> | ||
|
@@ -111,7 +113,8 @@ | |
<dependency> | ||
<groupId>com.networknt</groupId> | ||
<artifactId>json-schema-validator</artifactId> | ||
<version>1.0.80</version> | ||
<version>${json.schema.version}</version> | ||
|
||
</dependency> | ||
|
||
<dependency> | ||
|
@@ -128,6 +131,12 @@ | |
<scope>runtime</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>com.github.package-url</groupId> | ||
<artifactId>packageurl-java</artifactId> | ||
<version>${packageurl.version}</version> | ||
</dependency> | ||
|
||
Comment on lines
+134
to
+139
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 MIT, so it's fine. 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. There's a Maven plugin we could use. Let me find out how to configure it. |
||
<!-- Test dependencies --> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
|
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.
Updated this version to 0.1.2 as currently the SDK follows v0.1.2 spec
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.
Thanks!
As I understand it, this will then be updated to
0.1.2
(without the-SNAPSHOT
) when we make a release, and for now0.1.2-SNAPSHOT
is fine.@aalmiray is that correct?
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.
Yes, that is correct. The convention is to keep
-SNAPSHOT
while doing development. This tag must go away during release.