Class MavenUploadablePlugin

  • All Implemented Interfaces:
    Plugin, UploadablePlugin

    @Deprecated
    public class MavenUploadablePlugin
    extends Object
    implements UploadablePlugin
    Deprecated.
    Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.plugin.maven.MavenUploadablePlugin} alternative
    A plugin to be uploaded into Confluence from the local Maven repository.
    • Constructor Detail

      • MavenUploadablePlugin

        public MavenUploadablePlugin​(String key,
                                     String displayName,
                                     MavenDependency dependency)
        Deprecated.
        Parameters:
        key - the plugin key
        displayName - the full name of the plugin, used to assert that the plugin was uploaded successfully
        dependency - the dependency to upload
    • Method Detail

      • getKey

        public String getKey()
        Deprecated.
        Description copied from interface: Plugin
        The plugin key of the plugin.
        Specified by:
        getKey in interface Plugin
      • getDisplayName

        public String getDisplayName()
        Deprecated.
        Specified by:
        getDisplayName in interface Plugin
        Returns:
        the full name of the plugin, used to ensure that the plugin was uploaded successfully
      • getFile

        public File getFile()
        Deprecated.
        Returns a file representing the plugin in the local repository, using the conventions of a Maven 2 repository. The file that is returned may or may not exist.
        Specified by:
        getFile in interface UploadablePlugin
        Returns:
        the JAR file of the plugin to upload.
        See Also:
        LocalMavenDependency.getFile()