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(JkJavaProject project,
java.lang.String... profileNames) |
static void |
configureForOSSRHRepo(JkJavaProject project,
java.lang.String... profileNames) |
static void |
configureForRepo(JkJavaProject project,
JkNexusRepos nexusRepos,
java.lang.String... profileNames) |
static void |
configureForRepo(JkJavaProject project,
JkRepo repo,
java.lang.String... profileNames) |
beforeSetup, getJkClass, help, name, setJekaPluginCompatibilityRange, toString
public boolean closeAndRelease
public java.lang.String profileNamesFilter
protected JkPluginNexus(JkClass jkClass)
protected void afterSetup() throws java.lang.Exception
JkPlugin
JkClass.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 JkPlugin
java.lang.Exception
public void closeAndOrRelease()
public static void configureForOSSRHRepo(JkJavaProject project, java.lang.String... profileNames)
public static void configureForFirstRemoteRepo(JkJavaProject project, java.lang.String... profileNames)
public static void configureForRepo(JkJavaProject project, JkRepo repo, java.lang.String... profileNames)
public static void configureForRepo(JkJavaProject project, JkNexusRepos nexusRepos, java.lang.String... profileNames)