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

@Deprecated(since = "4.0.0")
/**
* @deprecated since 3.0
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to duplicate the since parameter

* Use explicit version resolution instead of special version constants.
*/
@Deprecated(since = "3.0")
String RELEASE_VERSION = "RELEASE";

@Deprecated(since = "4.0.0")
/**
* @deprecated since 3.0
* Use a fixed version or an explicit version range instead of special version tokens.
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 version ranges

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

String SNAPSHOT_VERSION = "SNAPSHOT";
Expand Down
Loading