Class

net.adamcin.vltpack.mojo

UploadFromRepoMojo

Related Doc: package mojo

Permalink

class UploadFromRepoMojo extends BaseMojo with ResolvesArtifacts with IdentifiesPackages with UploadsPackages

Command-line goal that provides the ability to resolve a package artifact from a local or remote repository and install it directly into a running instance.

Annotations
@Mojo()
Since

1.0.0

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

Instance Constructors

  1. new UploadFromRepoMojo()

    Permalink

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.

    Definition Classes
    UploadsPackages
  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. val coords: String

    Permalink

    Specify the full maven coordinates of the artifact in one of the following forms:

    Specify the full maven coordinates of the artifact in one of the following forms:

    "groupId:artifactId:version" "groupId:artifactId:packaging:version" "groupId:artifactId:packaging:classifier:version"

    where packaging is either "jar" or "zip" (the default is "jar")

  18. def copyToDir(dir: File, log: Log)(artifact: Artifact): File

    Permalink
    Definition Classes
    ResolvesArtifacts
  19. lazy val dependencies: List[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    UploadFromRepoMojoBaseMojo → Mojo
  23. implicit final val executor: ExecutionContextExecutor

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

    Permalink
    Definition Classes
    UploadsPackages
  25. def finalize(): Unit

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

    Permalink

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

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

    Definition Classes
    UploadsPackages
  27. final def getClass(): Class[_]

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

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

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

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

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

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

    Permalink

    Hostname for the Granite server

    Hostname for the Granite server

    Definition Classes
    HttpParameters
  34. 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
  35. def identifyPackage(file: File): Option[PackageId]

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

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

    Permalink
    Definition Classes
    UploadsPackages
  38. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    HttpParameters
  40. lazy val localRepository: ArtifactRepository

    Permalink
    Definition Classes
    ResolvesArtifacts
  41. val localRepositoryPath: File

    Permalink

    Specify the local repository path for resolved artifacts Refer to maven-install-plugin:install-file

    Specify the local repository path for resolved artifacts Refer to maven-install-plugin:install-file

    Definition Classes
    ResolvesArtifacts
    Since

    1.0.4

  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. 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
  44. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  46. final val pA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  47. final val pGA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  48. final val pGATCV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  49. final val pGATV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  50. final val pGAV: Regex

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

    Permalink
    Definition Classes
    UploadsPackages
  52. val pass: String

    Permalink

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  53. val port: Integer

    Permalink

    TCP Port for the Granite server

    TCP Port for the Granite server

    Definition Classes
    HttpParameters
  54. def proj: MavenProject

    Permalink
    Definition Classes
    ResolvesArtifacts
  55. val propertiesEntry: String

    Permalink
    Definition Classes
    IdentifiesPackages
  56. val proxyHost: String

    Permalink

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  57. val proxyPass: String

    Permalink

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  58. val proxyPort: Int

    Permalink

    The HTTP Proxy port.

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

    Definition Classes
    HttpParameters
  59. val proxyProtocol: String

    Permalink

    The HTTP Proxy protocol

    The HTTP Proxy protocol

    Definition Classes
    HttpParameters
  60. 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
  61. val proxyUser: String

    Permalink

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  62. val recursive: Boolean

    Permalink

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

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

    Definition Classes
    UploadsPackages
  63. lazy val repositoryRequest: RepositoryRequest

    Permalink
    Definition Classes
    ResolvesArtifacts
  64. var repositorySystem: RepositorySystem

    Permalink
    Definition Classes
    ResolvesArtifacts
  65. def reqHost: Req

    Permalink
    Definition Classes
    HttpParameters
  66. def resolveArtifacts(artifacts: Stream[Artifact]): Stream[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  67. def resolveByArtifactIds(artifactIds: Set[String]): Stream[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  68. def resolveByCoordinates(groupId: String, artifactId: String, version: String, artifactType: String, classifier: String): Option[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  69. def resolveByCoordinates(coordinates: String): Option[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  70. def resolveByFilter(filter: String): Stream[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  71. lazy val servicePath: String

    Permalink
    Definition Classes
    UploadsPackages
  72. 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.

    Definition Classes
    UploadsPackages
  73. var session: MavenSession

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

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

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

    Permalink
    Definition Classes
    BaseMojo
  77. val skip: Boolean

    Permalink

    Set to true to skip execution of this mojo

  78. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

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

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

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

    Permalink
    Definition Classes
    UploadsPackages
  82. def uploadPackageArtifact(artifact: Artifact)(implicit force: Boolean): Unit

    Permalink
    Definition Classes
    UploadsPackages
  83. def uploadPackageFile(file: File)(implicit force: Boolean): Unit

    Permalink
    Definition Classes
    UploadsPackages
  84. def urlForPath(absPath: String): Req

    Permalink
    Definition Classes
    HttpParameters
  85. 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
  86. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. 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()
  90. 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)

    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)

    Definition Classes
    UploadsPackages

Inherited from UploadsPackages

Inherited from HttpParameters

Inherited from UsernameAware

Inherited from IdentifiesPackages

Inherited from ResolvesArtifacts

Inherited from BaseMojo

Inherited from AbstractMojo

Inherited from ContextEnabled

Inherited from Mojo

Inherited from AnyRef

Inherited from Any

Ungrouped