Skip to content

Commit

Permalink
Merge pull request #10 from bezda/patch-1
Browse files Browse the repository at this point in the history
Support value "LATEST" as metaversion
  • Loading branch information
chenlingmin authored Nov 10, 2017
2 parents 2959ff9 + b8b9dec commit 43148f9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ public Response content(


// default version
if ("LATEST".equals(version)) {
version = null;
}
version = Optional.ofNullable(version).orElse(latestVersion(
repositoryName, groupId, artifactId, classifier, extension
));
Expand Down

0 comments on commit 43148f9

Please sign in to comment.