net.adamcin.graniteit.mojo

InitSlingJunitMojo

class InitSlingJunitMojo extends BaseSlingJunitMojo with HttpParameters

Initializes the Sling Junit Framework support by creating a test resource on the server, setting the sling junit servlet User property for the maven-failsafe-plugin execution, and waiting for junit servlet readiness

Annotations
@Mojo()
Since

0.6.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InitSlingJunitMojo
  2. HttpParameters
  3. BaseSlingJunitMojo
  4. DetectsSlingJunitDependency
  5. ResolvesArtifacts
  6. BaseITMojo
  7. RequiresProject
  8. BaseMojo
  9. AbstractMojo
  10. ContextEnabled
  11. Mojo
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InitSlingJunitMojo()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final val DEFAULT_BASE_URL: String("http://localhost:4502")

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

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

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

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

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

    Definition Classes
    HttpParameters
  12. final val artifactIdCore: String("org.apache.sling.junit.core")

    Definition Classes
    DetectsSlingJunitDependency
  13. final val artifactIdRemote: String("org.apache.sling.junit.remote")

    Definition Classes
    DetectsSlingJunitDependency
  14. final val artifactIdScriptable: String("org.apache.sling.junit.scriptable")

    Definition Classes
    DetectsSlingJunitDependency
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. val baseUrl: String

    Server base URL (including context path, but without trailing slash)

    Server base URL (including context path, but without trailing slash)

    Definition Classes
    HttpParameters
  17. def checkContent(response: Future[String]): Future[Boolean]

  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def copyToDir(dir: File, log: Log)(artifact: Artifact): File

    Definition Classes
    ResolvesArtifacts
  20. def createResource(parentPath: String, resourceType: String): Either[Throwable, String]

  21. lazy val credentials: (String, String)

    Definition Classes
    HttpParameters
  22. lazy val dependencies: List[Artifact]

    Definition Classes
    ResolvesArtifacts
  23. lazy val effectiveSlingJunitVersion: Option[String]

    Definition Classes
    DetectsSlingJunitDependency
  24. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    InitSlingJunitMojoBaseMojo → Mojo
  27. def expedite[T](req: Req, resp: Future[T]): (Req, T)

    Definition Classes
    HttpParameters
  28. lazy val explicitDependencies: Map[String, Artifact]

    Definition Classes
    DetectsSlingJunitDependency
  29. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  31. def getLog(): Log

    Definition Classes
    AbstractMojo → Mojo
  32. def getPluginContext(): Map[_, _]

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

    Definition Classes
    HttpParameters
  34. final val groupIdSlingJunit: String("org.apache.sling")

    Definition Classes
    DetectsSlingJunitDependency
  35. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  36. implicit def implyDavVerbs(req: Req): DavReq

    Definition Classes
    HttpParameters
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def isSlingPostSuccess(req: Req, resp: Response): Boolean

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

    Definition Classes
    HttpParameters
  40. lazy val localRepository: ArtifactRepository

    Definition Classes
    ResolvesArtifacts
  41. val localRepositoryPath: File

    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
  42. def mkdir(absPath: String): (Req, Response)

    Definition Classes
    HttpParameters
  43. def mkdirs(absPath: String): (Req, Response)

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

    Definition Classes
    AnyRef
  45. val noProxy: Boolean

    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
  46. final def notify(): Unit

    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  48. def optDecrypt(password: String): String

    Definition Classes
    HttpParameters
  49. final val pA: Regex

    Definition Classes
    ResolvesArtifacts
  50. final val pGA: Regex

    Definition Classes
    ResolvesArtifacts
  51. final val pGATCV: Regex

    Definition Classes
    ResolvesArtifacts
  52. final val pGATV: Regex

    Definition Classes
    ResolvesArtifacts
  53. final val pGAV: Regex

    Definition Classes
    ResolvesArtifacts
  54. val password: String

    Password to use in connection credentials

    Password to use in connection credentials

    Definition Classes
    HttpParameters
  55. def proj: MavenProject

    Definition Classes
    ResolvesArtifacts
  56. var project: MavenProject

    Definition Classes
    RequiresProject
  57. lazy val proxyCredentials: (String, String)

    Definition Classes
    HttpParameters
  58. val proxyHost: String

    The HTTP Proxy hostname

    The HTTP Proxy hostname

    Definition Classes
    HttpParameters
  59. val proxyPassword: String

    The HTTP Proxy password

    The HTTP Proxy password

    Definition Classes
    HttpParameters
  60. val proxyPort: Int

    The HTTP Proxy port.

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

    Definition Classes
    HttpParameters
  61. val proxyProtocol: String

    The HTTP Proxy protocol

    The HTTP Proxy protocol

    Definition Classes
    HttpParameters
  62. val proxyServerId: String

    Server ID for proxy credentials defined in maven settings

    Server ID for proxy credentials defined in maven settings

    Definition Classes
    HttpParameters
  63. val proxySet: Boolean

    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
  64. val proxyUsername: String

    The HTTP Proxy username

    The HTTP Proxy username

    Definition Classes
    HttpParameters
  65. lazy val repositoryRequest: RepositoryRequest

    Definition Classes
    ResolvesArtifacts
  66. var repositorySystem: RepositorySystem

    Definition Classes
    ResolvesArtifacts
  67. def resolveArtifacts(artifacts: Stream[Artifact]): Stream[Artifact]

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

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

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

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

    Definition Classes
    ResolvesArtifacts
  72. var securityDispatcher: SecDispatcher

    Definition Classes
    HttpParameters
  73. val serverId: String

    Id of server defined in the maven settings to use for credentials

    Id of server defined in the maven settings to use for credentials

    Definition Classes
    HttpParameters
  74. var session: MavenSession

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

    Definition Classes
    AbstractMojo → Mojo
  76. def setPluginContext(arg0: Map[_, _]): Unit

    Definition Classes
    AbstractMojo → ContextEnabled
  77. var settings: Settings

    Definition Classes
    BaseMojo
  78. val skip: Boolean

    set to true to specifically disable this goal

  79. val skipITs: Boolean

    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 graniteit to disable uploading of test artifacts and integration test reporting goals.

    Definition Classes
    BaseITMojo
  80. var skipMkdirs: Boolean

    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
    HttpParameters
  81. def skipOrExecute(skip: Boolean)(body: ⇒ Unit): Unit

    Definition Classes
    BaseITMojoBaseMojo
  82. val skipTests: Boolean

    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 graniteit to disable uploading of test artifacts and integration test reporting goals.

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

    Definition Classes
    BaseSlingJunitMojoBaseITMojo
  84. final val slingJunitArtifactIds: Set[String]

    Definition Classes
    DetectsSlingJunitDependency
  85. lazy val slingJunitArtifacts: List[Artifact]

    Definition Classes
    DetectsSlingJunitDependency
  86. val slingJunitServletExpectedContent: String

    Set to specify the expected response content for the sling junit servlet check request

  87. val slingJunitServletPath: String

    Set to explicity override the value of the sling junit servlet path property, such as when tests should be executed by the non-Sling Server-Side Test execution servlet Setting this property disables the creation of a sling junit test resource.

  88. val slingJunitServletPathProperty: String

    Specify the System property which will be set with the sling junit servlet path for use by integration test classes executed by the SlingAnnotationsTestRunner

  89. lazy val slingJunitSupportEnabled: Boolean

    Definition Classes
    DetectsSlingJunitDependency
  90. val slingJunitTimeout: Int

    Number of seconds to wait while pinging the sling junit servlet for the expected response

  91. val slingJunitVersion: String

    Specify to override the resolved version of Sling Junit Framework dependencies.

    Specify to override the resolved version of Sling Junit Framework dependencies. Leave blank to detect the version from project-defined sling junit dependencies

    Definition Classes
    DetectsSlingJunitDependency
  92. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  93. val testResourceParentPath: String

    Specify the parent path of the newly created sling junit test resource

  94. val testResourcePathInfo: String

    Specify the Sling request selectors and extension to build the servlet path.

  95. val testResourceType: String

    Specify the value of the sling:resourceType property on the test resource

  96. def toString(): String

    Definition Classes
    AnyRef → Any
  97. def urlForPath(absPath: String): Req

    Definition Classes
    HttpParameters
  98. val username: String

    Specify the CQ username associated with package creation and installation

    Specify the CQ username associated with package creation and installation

    Definition Classes
    HttpParameters
  99. final def wait(): Unit

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

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

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

    Definition Classes
    HttpParameters
    Annotations
    @tailrec()

Inherited from HttpParameters

Inherited from BaseSlingJunitMojo

Inherited from ResolvesArtifacts

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