Package org.apache.maven.plugin.registry
Class DefaultPluginRegistryBuilder
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.plugin.registry.DefaultPluginRegistryBuilder
- All Implemented Interfaces:
MavenPluginRegistryBuilder
,org.codehaus.plexus.logging.LogEnabled
,org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
public class DefaultPluginRegistryBuilder
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements MavenPluginRegistryBuilder, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File
private String
static final String
private File
private String
Fields inherited from interface org.apache.maven.plugin.registry.MavenPluginRegistryBuilder
ALT_GLOBAL_PLUGIN_REG_LOCATION, ALT_USER_PLUGIN_REG_LOCATION, ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate File
void
private PluginRegistry
readPluginRegistry
(File registryFile) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
userHome
-
userRegistryPath
-
globalRegistryPath
-
userRegistryFile
-
globalRegistryFile
-
-
Constructor Details
-
DefaultPluginRegistryBuilder
public DefaultPluginRegistryBuilder()
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initialize
in interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
-
buildPluginRegistry
public PluginRegistry buildPluginRegistry() throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException- Specified by:
buildPluginRegistry
in interfaceMavenPluginRegistryBuilder
- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
readPluginRegistry
private PluginRegistry readPluginRegistry(File registryFile) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
getFile
-
createUserPluginRegistry
- Specified by:
createUserPluginRegistry
in interfaceMavenPluginRegistryBuilder
-