public class JkPluginNexus extends JkPlugin
| Modifier and Type | Field and Description |
|---|---|
boolean |
closeAndRelease |
java.lang.String |
profileNamesFilter |
MANIFEST_BREAKING_CHANGE_URL_ENTRY, MANIFEST_LOWEST_JEKA_COMPATIBLE_VERSION_ENTRY| Modifier | Constructor and Description |
|---|---|
protected |
JkPluginNexus(JkClass jkClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterSetup()
Override this method to perform some actions, once the plugin has been setup by
JkClass.setup() method. |
void |
closeAndOrRelease() |
static void |
configureForFirstRemoteRepo(JkProject project,
java.lang.String... profileNames) |
static void |
configureForOSSRHRepo(JkProject project,
java.lang.String... profileNames) |
static void |
configureForRepo(JkProject project,
JkNexusRepos nexusRepos,
java.lang.String... profileNames) |
static void |
configureForRepo(JkProject project,
JkRepo repo,
java.lang.String... profileNames) |
beforeSetup, getJkClass, help, name, setJekaPluginCompatibilityRange, toStringpublic boolean closeAndRelease
public java.lang.String profileNamesFilter
protected JkPluginNexus(JkClass jkClass)
protected void afterSetup()
throws java.lang.Exception
JkPluginJkClass.setup() method.
Typically, some plugins have to configure other ones (For instance, java plugin configures
scaffold plugin to instruct what to use as a template build class). Those kind of
configuration is better done here as the setup made in JkClass is likely
to impact the result of the configuration.
afterSetup in class JkPluginjava.lang.Exceptionpublic void closeAndOrRelease()
public static void configureForOSSRHRepo(JkProject project, java.lang.String... profileNames)
public static void configureForFirstRemoteRepo(JkProject project, java.lang.String... profileNames)
public static void configureForRepo(JkProject project, JkRepo repo, java.lang.String... profileNames)
public static void configureForRepo(JkProject project, JkNexusRepos nexusRepos, java.lang.String... profileNames)