flexmojos:flexcover-run

Full name:

org.sonatype.flexmojos:flexmojos-maven-plugin:3.5.0:flexcover-run

Description:

Goal which runs a Flex project against the FlexCover CoverageViewer

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
coverageViewerPath String 1.0 Full path to CoverageViewer application, should end with CoverageViewer.exe on Windows or CoverageViewer.app/Contents/MacOS/CoverageViewer on Mac or ?? on Linux

Optional Parameters

Name Type Since Description
allowHeadlessMode boolean 1.0 When true, allow flexmojos to launch xvfb-run to run test if it detects headless linux env
Default value is: true.
firstConnectionTimeout int 1.0 Timeout for the first connection on ping Thread. That means how much time flexmojos will wait for Flashplayer be loaded at first time.
Default value is: 20000.
flashPlayerCommand String 1.0 Can be of type <argument>
localRepository ArtifactRepository 1.0 Local repository to be used by the plugin to resolve dependencies.
pluginArtifacts List 1.0 (no description)
remoteRepositories List 1.0 List of remote repositories to be used by the plugin to resolve dependencies.
skip boolean 1.0 (no description)
Default value is: false.
skipTest boolean 1.0 (no description)
Default value is: false.
testControlPort int 1.0 Socket connect port for flex/java communication to control if flashplayer is alive
Default value is: 13540.
testFailureIgnore boolean 1.0 (no description)
Default value is: false.
testPort int 1.0 Socket connect port for flex/java communication to transfer tests results
Default value is: 13539.
testTimeout int 1.0 Test timeout to wait for socket responding
Default value is: 2000.

Parameter Details

allowHeadlessMode:

When true, allow flexmojos to launch xvfb-run to run test if it detects headless linux env
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Expression: ${allowHeadlessMode}
  • Default: true

coverageViewerPath:

Full path to CoverageViewer application, should end with CoverageViewer.exe on Windows or CoverageViewer.app/Contents/MacOS/CoverageViewer on Mac or ?? on Linux
  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes

firstConnectionTimeout:

Timeout for the first connection on ping Thread. That means how much time flexmojos will wait for Flashplayer be loaded at first time.
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${firstConnectionTimeout}
  • Default: 20000

flashPlayerCommand:

Can be of type <argument>
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${flashPlayer.command}

localRepository:

Local repository to be used by the plugin to resolve dependencies.
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Since: 1.0
  • Required: No
  • Expression: ${localRepository}

pluginArtifacts:

(no description)
  • Type: java.util.List
  • Since: 1.0
  • Required: No
  • Expression: ${plugin.artifacts}

remoteRepositories:

List of remote repositories to be used by the plugin to resolve dependencies.
  • Type: java.util.List
  • Since: 1.0
  • Required: No
  • Expression: ${project.remoteArtifactRepositories}

skip:

(no description)
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Expression: ${maven.test.skip}
  • Default: false

skipTest:

(no description)
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Expression: ${skipTests}
  • Default: false

testControlPort:

Socket connect port for flex/java communication to control if flashplayer is alive
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${testControlPort}
  • Default: 13540

testFailureIgnore:

(no description)
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Expression: ${maven.test.failure.ignore}
  • Default: false

testPort:

Socket connect port for flex/java communication to transfer tests results
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${testPort}
  • Default: 13539

testTimeout:

Test timeout to wait for socket responding
  • Type: int
  • Since: 1.0
  • Required: No
  • Expression: ${testTimeout}
  • Default: 2000