-
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
Conversation
@@ -5,7 +5,7 @@ | |||
<modelVersion>4.0.0</modelVersion> | |||
<groupId>dev.cdevents</groupId> | |||
<artifactId>cdevents-sdk-java</artifactId> | |||
<version>0.1.0-SNAPSHOT</version> |
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 now 0.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.
<dependency> | ||
<groupId>com.github.package-url</groupId> | ||
<artifactId>packageurl-java</artifactId> | ||
<version>${packageurl.version}</version> | ||
</dependency> | ||
|
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.
This is MIT, so it's fine.
@aalmiray @rjalander is there a way to automate license checks for dependencies in pom.xml?
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.
There's a Maven plugin we could use. Let me find out how to configure it.
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.
Nice, thank you!
🎉 This issue has been resolved in |
Adding packageurl-java dependency and validate artifactId with packageurl-java