graniteit:upload-content-package

Full name:

net.adamcin:graniteit-maven-plugin:0.8.0:upload-content-package

Description:

Uploads the project content-package artifact to the configured IT server

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 0.6.0 .
  • Binds by default to the lifecycle phase: pre-integration-test.

Optional Parameters

Name Type Since Description
autosave int 0.6.0
Change the autosave threshold for the install command. 1024 is the minimum.

Default value is: 1024.
User property is: graniteit.upload.autosave.
baseUrl String 0.6.0
Server base URL (including context path, but without trailing slash)

Default value is: http://localhost:4502.
User property is: graniteit.baseUrl.
force boolean 0.6.0
Force upload of packages if they already exist in the target environment

User property is: graniteit.upload.force.
noProxy boolean 0.6.0
Set to true to completely disable HTTP proxy connections for this plugin. Overrides any other HTTP proxy configuration

User property is: graniteit.proxy.noProxy.
password String 0.6.0
Password to use in connection credentials

Default value is: admin.
User property is: graniteit.password.
proxyHost String 0.6.0
The HTTP Proxy hostname

Default value is: localhost.
User property is: graniteit.proxy.host.
proxyPassword String 0.6.0
The HTTP Proxy password

User property is: graniteit.proxy.password.
proxyPort int 0.6.0
The HTTP Proxy port. Set to -1 to use the default proxy port.

User property is: graniteit.proxy.port.
proxyProtocol String 0.6.0
The HTTP Proxy protocol

Default value is: http.
User property is: graniteit.proxy.protocol.
proxyServerId String 0.6.0
Server ID for proxy credentials defined in maven settings

User property is: graniteit.proxy.serverId.
proxySet boolean 0.6.0
Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives

User property is: graniteit.proxy.set.
proxyUsername String 0.6.0
The HTTP Proxy username

User property is: graniteit.proxy.username.
recursive boolean 0.6.0
Set to false to not install any subpackages that might be embedded within each dependency

Default value is: true.
User property is: graniteit.upload.recursive.
serverId String 0.6.0
Id of server defined in the maven settings to use for credentials

User property is: graniteit.serverId.
serviceTimeout int 0.6.0
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.

Default value is: 60.
User property is: graniteit.upload.timeout.
skip boolean 0.6.0
Set to true to specifically disable this goal

User property is: graniteit.skip.upload-content-package.
skipITs boolean 0.6.0
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.

User property is: skipITs.
skipMkdirs boolean 0.6.0
Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths

User property is: graniteit.skip.mkdirs.
skipTests boolean 0.6.0
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.

User property is: skipTests.
username String 0.6.0
Specify the CQ username associated with package creation and installation

Default value is: admin.
User property is: graniteit.username.

Parameter Details

autosave:

Change the autosave threshold for the install command. 1024 is the minimum.
  • Type: int
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.upload.autosave
  • Default: 1024

baseUrl:

Server base URL (including context path, but without trailing slash)
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.baseUrl
  • Default: http://localhost:4502

force:

Force upload of packages if they already exist in the target environment
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.upload.force

noProxy:

Set to true to completely disable HTTP proxy connections for this plugin. Overrides any other HTTP proxy configuration
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.noProxy

password:

Password to use in connection credentials
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.password
  • Default: admin

proxyHost:

The HTTP Proxy hostname
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.host
  • Default: localhost

proxyPassword:

The HTTP Proxy password
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.password

proxyPort:

The HTTP Proxy port. Set to -1 to use the default proxy port.
  • Type: int
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.port

proxyProtocol:

The HTTP Proxy protocol
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.protocol
  • Default: http

proxyServerId:

Server ID for proxy credentials defined in maven settings
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.serverId

proxySet:

Set to true to override the proxy configuration in the user's Maven Settings with the associated mojo parameter alternatives
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.set

proxyUsername:

The HTTP Proxy username
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.proxy.username

recursive:

Set to false to not install any subpackages that might be embedded within each dependency
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.upload.recursive
  • Default: true

serverId:

Id of server defined in the maven settings to use for credentials
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.serverId

serviceTimeout:

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.
  • Type: int
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.upload.timeout
  • Default: 60

skip:

Set to true to specifically disable this goal
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.skip.upload-content-package

skipITs:

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.
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: skipITs

skipMkdirs:

Set to true to skip the use of the MKCOL WebDAV method for the creation ancestor JCR paths
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.skip.mkdirs

skipTests:

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.
  • Type: boolean
  • Since: 0.6.0
  • Required: No
  • User Property: skipTests

username:

Specify the CQ username associated with package creation and installation
  • Type: java.lang.String
  • Since: 0.6.0
  • Required: No
  • User Property: graniteit.username
  • Default: admin