Class

net.adamcin.vltpack.mojo

ITUploadMojo

Related Doc: package mojo

Permalink

class ITUploadMojo extends BaseITMojo with OutputParameters with UploadsPackages with PackageDependencies

Uploads the project vault package and its dependencies to the configured IT server

Annotations
@Mojo()
Since

1.0.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ITUploadMojo
  2. PackageDependencies
  3. ResolvesArtifacts
  4. UploadsPackages
  5. IdentifiesPackages
  6. HttpParameters
  7. UsernameAware
  8. OutputParameters
  9. BaseITMojo
  10. RequiresProject
  11. BaseMojo
  12. AbstractMojo
  13. ContextEnabled
  14. Mojo
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ITUploadMojo()

    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. lazy val configSha: File

    Permalink
    Definition Classes
    OutputParameters
  17. lazy val configXml: File

    Permalink
    Definition Classes
    OutputParameters
  18. 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
  19. def copyToDir(dir: File, log: Log)(artifact: Artifact): File

    Permalink
    Definition Classes
    ResolvesArtifacts
  20. lazy val definitionDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  21. lazy val definitionSha: File

    Permalink
    Definition Classes
    OutputParameters
  22. lazy val definitionXml: File

    Permalink
    Definition Classes
    OutputParameters
  23. lazy val dependencies: List[Artifact]

    Permalink
    Definition Classes
    ResolvesArtifacts
  24. def dependsOn: List[Dependency]

    Permalink
    Definition Classes
    PackageDependencies
  25. lazy val embedBundlesDirectory: File

    Permalink

    directory containing resolved bundles

    directory containing resolved bundles

    Definition Classes
    OutputParameters
  26. lazy val embedPackagesDirectory: File

    Permalink

    directory containing resolved packages

    directory containing resolved packages

    Definition Classes
    OutputParameters
  27. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    ITUploadMojoBaseMojo → Mojo
  30. implicit final val executor: ExecutionContextExecutor

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

    Permalink
    Definition Classes
    UploadsPackages
  32. lazy val filterSha: File

    Permalink
    Definition Classes
    OutputParameters
  33. lazy val filterXml: File

    Permalink
    Definition Classes
    OutputParameters
  34. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  35. 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
  36. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  37. def getExistingDir(file: File): File

    Permalink
    Definition Classes
    OutputParameters
  38. def getIdFromProperties(props: Properties, defaultId: Option[PackageId]): Option[PackageId]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  43. lazy val hooksDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  44. val host: String

    Permalink

    Hostname for the Granite server

    Hostname for the Granite server

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

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

    Permalink
    Definition Classes
    HttpParameters
  48. def inputFileModified(output: File, inputFiles: Stream[File]): Boolean

    Permalink
    Definition Classes
    OutputParameters
  49. def inputFileModified(output: File, inputFiles: List[File]): Boolean

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

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

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

    Permalink
    Definition Classes
    HttpParameters
  53. def listFiles(file: File): Stream[File]

    Permalink
    Definition Classes
    OutputParameters
  54. lazy val localRepository: ArtifactRepository

    Permalink
    Definition Classes
    ResolvesArtifacts
  55. 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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  60. lazy val outputDirectory: File

    Permalink

    target directory

    target directory

    Definition Classes
    OutputParameters
  61. def overwriteFile(file: File, content: String): Unit

    Permalink
    Definition Classes
    OutputParameters
  62. final val pA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  63. final val pGA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  64. final val pGATCV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  65. final val pGATV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  66. final val pGAV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  67. var packageDependencies: List[String]

    Permalink

    List of artifactIds matching dependencies that are valid vault packages

    List of artifactIds matching dependencies that are valid vault packages

    Definition Classes
    PackageDependencies
  68. def packageDependencyArtifacts: Stream[Artifact]

    Permalink
    Definition Classes
    PackageDependencies
  69. lazy val packageDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  70. lazy val packageSha: File

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

    Permalink
    Definition Classes
    UploadsPackages
  72. val pass: String

    Permalink

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  73. val port: Integer

    Permalink

    TCP Port for the Granite server

    TCP Port for the Granite server

    Definition Classes
    HttpParameters
  74. def proj: MavenProject

    Permalink
    Definition Classes
    ResolvesArtifacts
  75. var project: MavenProject

    Permalink
    Definition Classes
    RequiresProject
  76. val propertiesEntry: String

    Permalink
    Definition Classes
    IdentifiesPackages
  77. lazy val propertiesSha: File

    Permalink
    Definition Classes
    OutputParameters
  78. lazy val propertiesXml: File

    Permalink
    Definition Classes
    OutputParameters
  79. val proxyHost: String

    Permalink

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  80. val proxyPass: String

    Permalink

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  81. val proxyPort: Int

    Permalink

    The HTTP Proxy port.

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

    Definition Classes
    HttpParameters
  82. val proxyProtocol: String

    Permalink

    The HTTP Proxy protocol

    The HTTP Proxy protocol

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

    Permalink

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  85. 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
  86. def relativeToBundleInstallPath(bundle: File): String

    Permalink
    Definition Classes
    OutputParameters
  87. lazy val repositoryRequest: RepositoryRequest

    Permalink
    Definition Classes
    ResolvesArtifacts
  88. var repositorySystem: RepositorySystem

    Permalink
    Definition Classes
    ResolvesArtifacts
  89. def reqHost: Req

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

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

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

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

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

    Permalink
    Definition Classes
    ResolvesArtifacts
  95. lazy val servicePath: String

    Permalink
    Definition Classes
    UploadsPackages
  96. 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
  97. var session: MavenSession

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

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

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

    Permalink
    Definition Classes
    BaseMojo
  101. lazy val settingsXml: File

    Permalink
    Definition Classes
    OutputParameters
  102. def shouldForceUpload: Boolean

    Permalink
  103. var skip: Boolean

    Permalink

    Set to true to skip mojo execution

  104. val skipITs: Boolean

    Permalink

    By convention, this parameter is used to disable execution of the maven-failsafe-plugin.

    By convention, this parameter is used to disable execution of the maven-failsafe-plugin. It is recognized by vltpack to disable uploading of test artifacts and integration test reporting goals.

    Definition Classes
    BaseITMojo
  105. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseITMojoBaseMojo
  106. val skipTests: Boolean

    Permalink

    By convention, this parameter is used to disable execution of maven-surefire-plugin-derived goals.

    By convention, this parameter is used to disable execution of maven-surefire-plugin-derived goals. It is recognized by vltpack to disable uploading of test artifacts and integration test reporting goals.

    Definition Classes
    BaseITMojo
  107. def skipWithTestsOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseITMojo
  108. val supportITs: Boolean

    Permalink

    Set this property to true to enable the pre-integration-test goals (vltpack-maven-plugin:IT-*)

    Set this property to true to enable the pre-integration-test goals (vltpack-maven-plugin:IT-*)

    Definition Classes
    BaseITMojo
  109. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  110. lazy val targetFile: File

    Permalink

    target vltpack file

    target vltpack file

    Definition Classes
    OutputParameters
  111. lazy val thumbnailDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  112. lazy val thumbnailFileDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  113. lazy val thumbnailFileXml: File

    Permalink
    Definition Classes
    OutputParameters
  114. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  115. lazy val transientRepoDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  116. lazy val uploadChecksum: String

    Permalink
  117. lazy val uploadDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  118. def uploadPackage(packageId: Option[PackageId], file: File, force: Boolean): Either[Throwable, (Boolean, String)]

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

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

    Permalink
    Definition Classes
    UploadsPackages
  121. lazy val uploadSha: File

    Permalink
    Definition Classes
    OutputParameters
  122. lazy val uploadTestsDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  123. lazy val uploadTestsSha: File

    Permalink
    Definition Classes
    OutputParameters
  124. def urlForPath(absPath: String): Req

    Permalink
    Definition Classes
    HttpParameters
  125. 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
  126. lazy val vaultDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  127. lazy val vaultInfDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  128. lazy val vaultInfMetaInfDirectory: File

    Permalink

    vault-inf-generated META-INF/vault/...

    vault-inf-generated META-INF/vault/... resources

    Definition Classes
    OutputParameters
  129. lazy val vltpackDirectory: File

    Permalink

    directory containing vltpack-generated files

    directory containing vltpack-generated files

    Definition Classes
    OutputParameters
  130. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. 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()
  134. 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 PackageDependencies

Inherited from ResolvesArtifacts

Inherited from UploadsPackages

Inherited from IdentifiesPackages

Inherited from HttpParameters

Inherited from UsernameAware

Inherited from OutputParameters

Inherited from BaseITMojo

Inherited from RequiresProject

Inherited from BaseMojo

Inherited from AbstractMojo

Inherited from ContextEnabled

Inherited from Mojo

Inherited from AnyRef

Inherited from Any

Ungrouped