Class

net.adamcin.vltpack.mojo

ITUploadTestsMojo

Related Doc: package mojo

Permalink

class ITUploadTestsMojo extends BaseITMojo with RequiresProject with PackageDependencies with ResolvesArtifacts with OutputParameters with UploadsPackages with PutsBundles

Upload integration test dependencies, including vault packages and OSGi bundles, to the configured integration test server

Annotations
@Mojo()
Since

1.0.0

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

Instance Constructors

  1. new ITUploadTestsMojo()

    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. var bundleInstallPath: String

    Permalink

    Set the JCR path where bundles will be installed for this project.

    Set the JCR path where bundles will be installed for this project. Use a numeric suffix (as in "/apps/myapp/install/30") to apply a felix start level configuration to the bundles

    Definition Classes
    BundlePathParameters
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. lazy val configSha: File

    Permalink
    Definition Classes
    OutputParameters
  18. lazy val configXml: File

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

    Permalink
    Definition Classes
    ResolvesArtifacts
  21. final val defaultBundleInstallPath: String("/apps/bundles/install/30")

    Permalink
    Definition Classes
    BundlePathParameters
  22. final val defaultTestBundleInstallPath: String("/apps/testBundles/install/30")

    Permalink
    Definition Classes
    BundlePathParameters
  23. lazy val definitionDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  24. lazy val definitionSha: File

    Permalink
    Definition Classes
    OutputParameters
  25. lazy val definitionXml: File

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

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

    Permalink
    Definition Classes
    PackageDependencies
  28. lazy val embedBundlesDirectory: File

    Permalink

    directory containing resolved bundles

    directory containing resolved bundles

    Definition Classes
    OutputParameters
  29. lazy val embedPackagesDirectory: File

    Permalink

    directory containing resolved packages

    directory containing resolved packages

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

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

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

    Permalink
    Definition Classes
    ITUploadTestsMojoBaseMojo → Mojo
  33. implicit final val executor: ExecutionContextExecutor

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

    Permalink
    Definition Classes
    UploadsPackages
  35. lazy val filterSha: File

    Permalink
    Definition Classes
    OutputParameters
  36. lazy val filterXml: File

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. 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
  39. def getBundlePath(file: File): String

    Permalink
    Definition Classes
    BundlePathParameters
  40. def getBundleRepoPath(filename: String): String

    Permalink
    Definition Classes
    BundlePathParameters
  41. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    HttpParameters
  47. def getTestBundlePath(file: File): String

    Permalink
    Definition Classes
    BundlePathParameters
  48. def getTestBundleRepoPath(filename: String): String

    Permalink
    Definition Classes
    BundlePathParameters
  49. def hashCode(): Int

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

    Permalink
    Definition Classes
    OutputParameters
  51. val host: String

    Permalink

    Hostname for the Granite server

    Hostname for the Granite server

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    OutputParameters
  61. lazy val localRepository: ArtifactRepository

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

  63. def mkdir(absPath: String): (Req, Response)

    Permalink
    Definition Classes
    PutsBundles
  64. def mkdirs(absPath: String): (Req, Response)

    Permalink
    Definition Classes
    PutsBundles
  65. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  69. lazy val outputDirectory: File

    Permalink

    target directory

    target directory

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

    Permalink
    Definition Classes
    OutputParameters
  71. final val pA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  72. final val pGA: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  73. final val pGATCV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  74. final val pGATV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  75. final val pGAV: Regex

    Permalink
    Definition Classes
    ResolvesArtifacts
  76. 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
  77. def packageDependencyArtifacts: Stream[Artifact]

    Permalink
    Definition Classes
    PackageDependencies
  78. lazy val packageDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  79. lazy val packageSha: File

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

    Permalink
    Definition Classes
    UploadsPackages
  81. val pass: String

    Permalink

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  82. val port: Integer

    Permalink

    TCP Port for the Granite server

    TCP Port for the Granite server

    Definition Classes
    HttpParameters
  83. def proj: MavenProject

    Permalink
    Definition Classes
    ResolvesArtifacts
  84. var project: MavenProject

    Permalink
    Definition Classes
    RequiresProject
  85. val propertiesEntry: String

    Permalink
    Definition Classes
    IdentifiesPackages
  86. lazy val propertiesSha: File

    Permalink
    Definition Classes
    OutputParameters
  87. lazy val propertiesXml: File

    Permalink
    Definition Classes
    OutputParameters
  88. val proxyHost: String

    Permalink

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  89. val proxyPass: String

    Permalink

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  90. val proxyPort: Int

    Permalink

    The HTTP Proxy port.

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

    Definition Classes
    HttpParameters
  91. val proxyProtocol: String

    Permalink

    The HTTP Proxy protocol

    The HTTP Proxy protocol

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

    Permalink

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  94. def putBundle(file: File): Either[Throwable, List[String]]

    Permalink

    Puts the specified file to the configured bundle install location

    Puts the specified file to the configured bundle install location

    file

    file to put

    returns

    either log messages or a throwable

    Definition Classes
    PutsBundles
  95. def putBundleToPath(file: File, path: String): Either[Throwable, List[String]]

    Permalink
    Definition Classes
    PutsBundles
  96. def putTestBundle(file: File): Either[Throwable, List[String]]

    Permalink

    Puts the specified file to the configured test bundle install location

    Puts the specified file to the configured test bundle install location

    file

    file to put

    returns

    either log messages or a throwable

    Definition Classes
    PutsBundles
  97. 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
  98. def relativeToBundleInstallPath(bundle: File): String

    Permalink
    Definition Classes
    OutputParameters
  99. lazy val repositoryRequest: RepositoryRequest

    Permalink
    Definition Classes
    ResolvesArtifacts
  100. var repositorySystem: RepositorySystem

    Permalink
    Definition Classes
    ResolvesArtifacts
  101. def reqHost: Req

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

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

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

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

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

    Permalink
    Definition Classes
    ResolvesArtifacts
  107. lazy val servicePath: String

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

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

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

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

    Permalink
    Definition Classes
    BaseMojo
  113. lazy val settingsXml: File

    Permalink
    Definition Classes
    OutputParameters
  114. val skip: Boolean

    Permalink

    Set to true to skip execution of this mojo

  115. 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
  116. var skipMkdirs: Boolean

    Permalink

    Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths

    Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths

    Definition Classes
    PutsBundles
  117. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseITMojoBaseMojo
  118. 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
  119. def skipWithTestsOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Permalink
    Definition Classes
    BaseITMojo
  120. 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
  121. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  122. lazy val targetFile: File

    Permalink

    target vltpack file

    target vltpack file

    Definition Classes
    OutputParameters
  123. def testBundleArtifacts: Stream[Artifact]

    Permalink
  124. var testBundleInstallPath: String

    Permalink

    Set the JCR path where test bundles will be installed during the integration test phase this project.

    Set the JCR path where test bundles will be installed during the integration test phase this project. Use a numeric suffix (as in "/apps/myappTests/install/30") to apply a felix start level configuration to the bundles

    Definition Classes
    BundlePathParameters
    Since

    1.0.0

  125. var testBundles: List[String]

    Permalink

    List of artifactIds matching OSGi bundle dependencies

  126. def testPackageArtifacts: Stream[Artifact]

    Permalink
  127. var testPackages: List[String]

    Permalink

    List of artifactIds matching test package dependencies

  128. lazy val thumbnailDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  129. lazy val thumbnailFileDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  130. lazy val thumbnailFileXml: File

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

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

    Permalink
    Definition Classes
    OutputParameters
  133. lazy val uploadDirectory: File

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

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

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

    Permalink
    Definition Classes
    UploadsPackages
  137. lazy val uploadSha: File

    Permalink
    Definition Classes
    OutputParameters
  138. lazy val uploadTestsChecksum: String

    Permalink
  139. lazy val uploadTestsDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  140. lazy val uploadTestsSha: File

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

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

    Permalink
    Definition Classes
    OutputParameters
  144. lazy val vaultInfDirectory: File

    Permalink
    Definition Classes
    OutputParameters
  145. lazy val vaultInfMetaInfDirectory: File

    Permalink

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

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

    Definition Classes
    OutputParameters
  146. lazy val vltpackDirectory: File

    Permalink

    directory containing vltpack-generated files

    directory containing vltpack-generated files

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  150. 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()
  151. 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 PutsBundles

Inherited from BundlePathParameters

Inherited from UploadsPackages

Inherited from HttpParameters

Inherited from UsernameAware

Inherited from OutputParameters

Inherited from PackageDependencies

Inherited from ResolvesArtifacts

Inherited from IdentifiesPackages

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