Skip to content
Open
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,21 @@
*/
public interface Artifact extends Comparable<Artifact> {

/**
* @deprecated since 4.0.0.
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need since 4.0.0.?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review. Updated the JavaDoc to recommend explicit versions only and removed the redundant version information from the deprecation text.

* The use of the {@code RELEASE} version is discouraged because it results
* in non-reproducible builds.
* Use an explicit version or a version range instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

never use a version range foe the same reasons. Explicit versions only

*/
@Deprecated(since = "4.0.0")
String RELEASE_VERSION = "RELEASE";

/**
* @deprecated since 4.0.0.
* The use of the {@code LATEST} version is discouraged because it results
* in non-reproducible builds.
* Use an explicit version or a version range instead.
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

*/
@Deprecated(since = "4.0.0")
String LATEST_VERSION = "LATEST";

Expand Down
Loading