@Mojo(name="release") public class ReleaseMojo extends BaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
platforms
Platform to downloable URL mappings.
|
protected String |
url
The URL from where the candidate version can be downloaded
|
apiHost, candidate, consumerKey, consumerToken, https, version| Constructor and Description |
|---|
ReleaseMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.client.methods.HttpEntityEnclosingRequestBase |
createHttpRequest() |
protected void |
doExecute() |
protected org.apache.http.HttpResponse |
executeRelease() |
protected Map<String,String> |
getPayload() |
@Parameter(property="sdkman.url") protected String url
@Parameter(property="sdkman.platforms") protected Map<String,String> platforms
"MAC_OSX" :"https://host/micronaut-x.y.z-macosx.zip"
"LINUX_64" :"https://host/micronaut-x.y.z-linux64.zip"
"WINDOWS_64":"https://host/micronaut-x.y.z-win.zip"
protected Map<String,String> getPayload()
getPayload in class BaseMojoprotected org.apache.http.client.methods.HttpEntityEnclosingRequestBase createHttpRequest()
createHttpRequest in class BaseMojoprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
protected org.apache.http.HttpResponse executeRelease()
throws IOException
IOExceptionCopyright © 2015–2021 SDKMAN!. All rights reserved.