Trait

net.adamcin.vltpack

UploadsPackages

Related Doc: package vltpack

Permalink

trait UploadsPackages extends BaseMojo with HttpParameters with IdentifiesPackages

Trait defining common mojo parameters and methods useful for uploading and installing vault packages on CQ servers

Since

0.6.0

Linear Supertypes
IdentifiesPackages, HttpParameters, UsernameAware, BaseMojo, AbstractMojo, ContextEnabled, Mojo, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UploadsPackages
  2. IdentifiesPackages
  3. HttpParameters
  4. UsernameAware
  5. BaseMojo
  6. AbstractMojo
  7. ContextEnabled
  8. Mojo
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val DEFAULT_CONTEXT: String("/")

    Permalink
    Definition Classes
    HttpParameters
  5. final val DEFAULT_HOST: String("localhost")

    Permalink
    Definition Classes
    HttpParameters
  6. final val DEFAULT_PASS: String("admin")

    Permalink
    Definition Classes
    HttpParameters
  7. final val DEFAULT_PORT: String("4502")

    Permalink
    Definition Classes
    HttpParameters
  8. final val DEFAULT_PROXY_HOST: String("localhost")

    Permalink
    Definition Classes
    HttpParameters
  9. final val DEFAULT_PROXY_PROTOCOL: String("http")

    Permalink
    Definition Classes
    HttpParameters
  10. final val DEFAULT_USER: String("admin")

    Permalink
    Definition Classes
    UsernameAware
  11. lazy val activeProxy: Option[ProxyServer]

    Permalink
    Definition Classes
    HttpParameters
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val autosave: Int

    Permalink

    Change the autosave threshold for the install command.

    Change the autosave threshold for the install command. 1024 is the minimum.

  14. def baseUrlString: String

    Permalink
    Definition Classes
    HttpParameters
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val context: String

    Permalink

    Granite Servlet context by which JCR paths are appended

    Granite Servlet context by which JCR paths are appended

    Definition Classes
    HttpParameters
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def execute(): Unit

    Permalink
    Definition Classes
    BaseMojo → Mojo
  20. implicit final val executor: ExecutionContextExecutor

    Permalink
    Definition Classes
    HttpParameters
  21. def existsOnServer(packageId: Option[PackageId]): Either[Throwable, (Boolean, String)]

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. implicit val force: Boolean

    Permalink

    Force upload of packages if they already exist in the target environment

  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def getIdFromProperties(props: Properties, defaultId: Option[PackageId]): Option[PackageId]

    Permalink
    Definition Classes
    IdentifiesPackages
  26. def getLog(): Log

    Permalink
    Definition Classes
    AbstractMojo → Mojo
  27. def getPluginContext(): Map

    Permalink
    Definition Classes
    AbstractMojo → ContextEnabled
  28. def getReqRespLogMessage(req: Req, resp: Response): String

    Permalink
    Definition Classes
    HttpParameters
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. val host: String

    Permalink

    Hostname for the Granite server

    Hostname for the Granite server

    Definition Classes
    HttpParameters
  31. val https: Boolean

    Permalink

    Whether to use an SSL connection instead of a normal HTTP connection.

    Whether to use an SSL connection instead of a normal HTTP connection. Does not affect the configured TCP port

    Definition Classes
    HttpParameters
  32. def identifyPackage(file: File): Option[PackageId]

    Permalink
    Definition Classes
    IdentifiesPackages
  33. implicit def implyDavRequestVerbs(wrapped: Req): DavRequestVerbs

    Permalink
    Definition Classes
    HttpParameters
  34. def installPackage(packageId: Option[PackageId]): Either[Throwable, (Boolean, String)]

    Permalink
  35. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  36. def isSuccess(req: Req, resp: Response): Boolean

    Permalink
    Definition Classes
    HttpParameters
  37. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. val noProxy: Boolean

    Permalink

    Set to true to completely disable HTTP proxy connections for this plugin.

    Set to true to completely disable HTTP proxy connections for this plugin. Overrides any other HTTP proxy configuration

    Definition Classes
    HttpParameters
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. def parseServiceResponse(respBody: String): Either[Throwable, (Boolean, String)]

    Permalink
  42. val pass: String

    Permalink

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  43. val port: Integer

    Permalink

    TCP Port for the Granite server

    TCP Port for the Granite server

    Definition Classes
    HttpParameters
  44. val propertiesEntry: String

    Permalink
    Definition Classes
    IdentifiesPackages
  45. val proxyHost: String

    Permalink

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  46. val proxyPass: String

    Permalink

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  47. val proxyPort: Int

    Permalink

    The HTTP Proxy port.

    The HTTP Proxy port. Set to -1 to use the default proxy port.

    Definition Classes
    HttpParameters
  48. val proxyProtocol: String

    Permalink

    The HTTP Proxy protocol

    The HTTP Proxy protocol

    Definition Classes
    HttpParameters
  49. val proxySet: Boolean

    Permalink

    Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives

    Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives

    Definition Classes
    HttpParameters
  50. val proxyUser: String

    Permalink

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  51. val recursive: Boolean

    Permalink

    Set to false to not install any subpackages that might be embedded within each dependency

  52. def reqHost: Req

    Permalink
    Definition Classes
    HttpParameters
  53. lazy val servicePath: String

    Permalink
  54. val serviceTimeout: Int

    Permalink

    Set the timeout used for waiting for Package Manager service availability before sending any POST requests.

    Set the timeout used for waiting for Package Manager service availability before sending any POST requests. The wait is to avoid creating dummy nodes in the repository when the SlingPostServlet handles premature package manager requests, which can confuse the link rewriter and mess up links to the package manager console.

  55. var session: MavenSession

    Permalink
    Definition Classes
    BaseMojo
  56. def setLog(arg0: Log): Unit

    Permalink
    Definition Classes
    AbstractMojo → Mojo
  57. def setPluginContext(arg0: Map): Unit

    Permalink
    Definition Classes
    AbstractMojo → ContextEnabled
  58. var settings: Settings

    Permalink
    Definition Classes
    BaseMojo
  59. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseMojo
  60. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  61. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  62. def uploadPackage(packageId: Option[PackageId], file: File, force: Boolean): Either[Throwable, (Boolean, String)]

    Permalink
  63. def uploadPackageArtifact(artifact: Artifact)(implicit force: Boolean): Unit

    Permalink
  64. def uploadPackageFile(file: File)(implicit force: Boolean): Unit

    Permalink
  65. def urlForPath(absPath: String): Req

    Permalink
    Definition Classes
    HttpParameters
  66. val user: String

    Permalink

    Specify the CQ username associated with package creation and installation

    Specify the CQ username associated with package creation and installation

    Definition Classes
    UsernameAware
  67. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def waitForResponse[T](nTrys: Int)(implicit until: Long, requestFunction: () ⇒ (Request, AsyncHandler[T]), contentChecker: (Future[T]) ⇒ Future[Boolean]): Boolean

    Permalink
    Definition Classes
    HttpParameters
    Annotations
    @tailrec()
  71. def waitForService(thenDo: ⇒ Either[Throwable, (Boolean, String)]): Either[Throwable, (Boolean, String)]

    Permalink

    wrap package manager service POST requests with this function to first check for service availability, which is interpreted by expecting a GET response of 405 (Method not allowed)

Inherited from IdentifiesPackages

Inherited from HttpParameters

Inherited from UsernameAware

Inherited from BaseMojo

Inherited from AbstractMojo

Inherited from ContextEnabled

Inherited from Mojo

Inherited from AnyRef

Inherited from Any

Ungrouped