compile:testCompile

Full name:

npanday.plugin:maven-compile-plugin:1.3-incubating:testCompile

Description:

Compiles test classes.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test-compile.

Required Parameters

Name Type Since Description
language String - .NET Language. The default value is C_SHARP. Not case or white-space sensitive.
Default value is: C_SHARP.
project MavenProject - The maven project.

Optional Parameters

Name Type Since Description
addModules String[] - Link the specified modules into this assembly
baseAddress String - Base address for the library to be built
bugReport String - Create a 'Bug Report' file.
checked boolean - Generate overflow checks
codePage String - Specify the codepage to use when opening source files
define String - define
delaysign boolean - Delay-sign the assembly using only the public portion of the strong name key
embeddedResources ArrayList - Embed the specified resource
errorReport String - Specify how to handle internal compiler errors: prompt, send, queue, or none. The default is queue.
frameworkVersion String - The framework version to compile under: 1.1, 2.0, 3.0
imports String[] - Declare global Imports for namespaces in referenced metadata files.
includeSources File[] - Included Source Codes
integrationTest boolean - The artifact acts as an Integration test project
isDebug boolean - (no description)
Default value is: false.
keycontainer String - Specifies a strong name key container. (not currently supported)
keyfile File - Specify a strong name key file.
libs String[] - Specify additional directories to search in for references
linkResource String - Link the specified resource to this assembly
localRepository File - The location of the local Maven repository.
main String - The starup object class
moduleAssemblyName String - Name of the assembly which this module will be a part of
noconfig boolean - Do not auto include CSC.RSP/VBC.RSP file
nowarn String - nowarn
optimize boolean - Enable optimizations.
optionCompare String - Specifies binary or text style string comparisons
optionStrict String - Enforce strict language semantics / Warn when strict language semantics are not respected.
optionexplicit boolean - Require explicit declaration of variables.
outputDirectory File - The directory for the compilated web application
parameters ArrayList - Additional compiler commands
pdb String - Specify debug information file name (default: output file name with .pdb extension)
platform String - Limit the platforms this code can run on. (not currently supported)
profile String - The profile that the compiler should use to compile classes: FULL, COMPACT, (or a custom one specified in a compiler-plugins.xml).
Default value is: FULL.
profileAssemblyPath File - This over-rides the defaultAssemblyPath for the compiler plugin.
removeintchecks boolean - Remove integer checks.
resource String - Embed the specified resource
rootNamespace String - Returns the rootnamespace of the project. Used by VB project only.
settingsPath String - (no description)
skipTestCompile boolean - Skips compiling of unit tests
Default value is: false.
testAddModules String[] - Link the specified modules into this assembly
testBaseAddress String - Base address for the library to be built
testBugReport String - Create a 'Bug Report' file.
testChecked boolean - Generate overflow checks
testCodePage String - Specify the codepage to use when opening source files
testDefine String - define
testDelaysign boolean - Delay-sign the assembly using only the public portion of the strong name key
testErrorReport String - Specify how to handle internal compiler errors: prompt, send, queue, or none. The default is queue.
testFrameworkVersion String - The framework version to compile the test classes: 1.1, 2.0, 3.0
testImports String[] - Declare global Imports for namespaces in referenced metadata files.
testIncludeSources File[] - Included Source Codes
testKeycontainer String - Specifies a strong name key container. (not currently supported)
testKeyfile File - Specify a strong name key file.
testLanguage String - .NET Language. The default value is C_SHARP. Not case or white-space sensitive.
testLibs String[] - Specify additional directories to search in for references
testLinkResource String - Link the specified resource to this assembly
testMain String - The starup object class
testModuleAssemblyName String - Name of the assembly which this module will be a part of
testNoconfig boolean - Do not auto include CSC.RSP/VBC.RSP file
testNowarn String - testNowarn
testOptimize boolean - Enable optimizations.
testOptionCompare String - Specifies binary or text style string comparisons
testOptionStrict String - Enforce strict language semantics / Warn when strict language semantics are not respected.
testOptionexplicit boolean - Require explicit declaration of variables.
testParameters ArrayList - Additional compiler commands for test classes
testPdb String - Specify debug information file name (default: output file name with .pdb extension)
testPlatform String - Limit the platforms this code can run on. (not currently supported)
testProfile String - The profile that the compiler should use to compile classes: FULL, COMPACT, (or a custom one specified in a compiler-plugins.xml).
Default value is: FULL.
testProfileAssemblyPath File - This over-rides the defaultAssemblyPath for the compiler plugin.
testRemoveintchecks boolean - Remove integer checks.
testResource String - Embed the specified resource
testRootNamespace String - Returns the rootnamespace of the project. Used by VB project only.
Default value is: ${project.groupId}.${project.artifactId}.
testUnsafe boolean - Allow 'unsafe' code
testUtf8output boolean - Output compiler messages in UTF-8 encoding
testVendor String - The Vendor for the Compiler. Supports MONO and MICROSOFT: the default value is MICROSOFT. Not case or white-space sensitive.
testVendorVersion String - (no description)
testWarn Integer - testWarn
testWin32Icon String - Specifies a Win32 icon file (.ico) for the default Win32 resources.
testWin32Res String - Specify a Win32 resource file (.res)
unsafe boolean - Allow 'unsafe' code
utf8output boolean - Output compiler messages in UTF-8 encoding
vendor String - The Vendor for the Compiler. Not case or white-space sensitive.
vendorVersion String - (no description)
warn Integer - warn
win32Icon String - Specifies a Win32 icon file (.ico) for the default Win32 resources.
win32Res String - Specify a Win32 resource file (.res)

Parameter Details

addModules:

Link the specified modules into this assembly
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${addmodules}

baseAddress:

Base address for the library to be built
  • Type: java.lang.String
  • Required: No
  • Expression: ${baseaddress}

bugReport:

Create a 'Bug Report' file.
  • Type: java.lang.String
  • Required: No
  • Expression: ${bugreport}

checked:

Generate overflow checks
  • Type: boolean
  • Required: No

codePage:

Specify the codepage to use when opening source files
  • Type: java.lang.String
  • Required: No
  • Expression: ${codepage}

define:

define
  • Type: java.lang.String
  • Required: No
  • Expression: ${define}

delaysign:

Delay-sign the assembly using only the public portion of the strong name key
  • Type: boolean
  • Required: No

embeddedResources:

Embed the specified resource
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${embeddedResources}

errorReport:

Specify how to handle internal compiler errors: prompt, send, queue, or none. The default is queue.
  • Type: java.lang.String
  • Required: No
  • Expression: ${errorreport}

frameworkVersion:

The framework version to compile under: 1.1, 2.0, 3.0
  • Type: java.lang.String
  • Required: No
  • Expression: ${frameworkVersion}

imports:

Declare global Imports for namespaces in referenced metadata files.
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${imports}

includeSources:

Included Source Codes
  • Type: java.io.File[]
  • Required: No
  • Expression: ${includeSources}

integrationTest:

The artifact acts as an Integration test project
  • Type: boolean
  • Required: No

isDebug:

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

keycontainer:

Specifies a strong name key container. (not currently supported)
  • Type: java.lang.String
  • Required: No
  • Expression: ${keycontainer}

keyfile:

Specify a strong name key file.
  • Type: java.io.File
  • Required: No
  • Expression: ${keyfile}

language:

.NET Language. The default value is C_SHARP. Not case or white-space sensitive.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${language}
  • Default: C_SHARP

libs:

Specify additional directories to search in for references
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${libs}

linkResource:

Link the specified resource to this assembly
  • Type: java.lang.String
  • Required: No
  • Expression: ${linkresource}

localRepository:

The location of the local Maven repository.
  • Type: java.io.File
  • Required: No
  • Expression: ${settings.localRepository}

main:

The starup object class
  • Type: java.lang.String
  • Required: No
  • Expression: ${main}

moduleAssemblyName:

Name of the assembly which this module will be a part of
  • Type: java.lang.String
  • Required: No
  • Expression: ${moduleassemblyname}

noconfig:

Do not auto include CSC.RSP/VBC.RSP file
  • Type: boolean
  • Required: No

nowarn:

nowarn
  • Type: java.lang.String
  • Required: No
  • Expression: ${nowarn}

optimize:

Enable optimizations.
  • Type: boolean
  • Required: No

optionCompare:

Specifies binary or text style string comparisons
  • Type: java.lang.String
  • Required: No
  • Expression: ${optioncompare}

optionStrict:

Enforce strict language semantics / Warn when strict language semantics are not respected.
  • Type: java.lang.String
  • Required: No
  • Expression: ${optionstrict}

optionexplicit:

Require explicit declaration of variables.
  • Type: boolean
  • Required: No

outputDirectory:

The directory for the compilated web application
  • Type: java.io.File
  • Required: No
  • Expression: ${outputDirectory}

parameters:

Additional compiler commands
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${parameters}

pdb:

Specify debug information file name (default: output file name with .pdb extension)
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdb}

platform:

Limit the platforms this code can run on. (not currently supported)
  • Type: java.lang.String
  • Required: No
  • Expression: ${platform} default-value =

profile:

The profile that the compiler should use to compile classes: FULL, COMPACT, (or a custom one specified in a compiler-plugins.xml).
  • Type: java.lang.String
  • Required: No
  • Expression: ${profile}
  • Default: FULL

profileAssemblyPath:

This over-rides the defaultAssemblyPath for the compiler plugin.
  • Type: java.io.File
  • Required: No
  • Expression: ${profileAssemblyPath}

project:

The maven project.
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}

removeintchecks:

Remove integer checks.
  • Type: boolean
  • Required: No

resource:

Embed the specified resource
  • Type: java.lang.String
  • Required: No
  • Expression: ${resource}

rootNamespace:

Returns the rootnamespace of the project. Used by VB project only.
  • Type: java.lang.String
  • Required: No
  • Expression: ${rootNamespace}

settingsPath:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${npanday.settings}

skipTestCompile:

Skips compiling of unit tests
  • Type: boolean
  • Required: No
  • Expression: ${skipTestCompile}
  • Default: false

testAddModules:

Link the specified modules into this assembly
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${testAddmodules}

testBaseAddress:

Base address for the library to be built
  • Type: java.lang.String
  • Required: No
  • Expression: ${testBaseaddress}

testBugReport:

Create a 'Bug Report' file.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testBugreport}

testChecked:

Generate overflow checks
  • Type: boolean
  • Required: No

testCodePage:

Specify the codepage to use when opening source files
  • Type: java.lang.String
  • Required: No
  • Expression: ${testCodepage}

testDefine:

define
  • Type: java.lang.String
  • Required: No
  • Expression: ${testDefine}

testDelaysign:

Delay-sign the assembly using only the public portion of the strong name key
  • Type: boolean
  • Required: No

testErrorReport:

Specify how to handle internal compiler errors: prompt, send, queue, or none. The default is queue.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testErrorreport}

testFrameworkVersion:

The framework version to compile the test classes: 1.1, 2.0, 3.0
  • Type: java.lang.String
  • Required: No
  • Expression: ${testFrameworkVersion}

testImports:

Declare global Imports for namespaces in referenced metadata files.
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${testImports}

testIncludeSources:

Included Source Codes
  • Type: java.io.File[]
  • Required: No
  • Expression: ${testIncludeSources}

testKeycontainer:

Specifies a strong name key container. (not currently supported)
  • Type: java.lang.String
  • Required: No
  • Expression: ${testKeycontainer}

testKeyfile:

Specify a strong name key file.
  • Type: java.io.File
  • Required: No
  • Expression: ${testKeyfile}

testLanguage:

.NET Language. The default value is C_SHARP. Not case or white-space sensitive.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testLanguage}

testLibs:

Specify additional directories to search in for references
  • Type: java.lang.String[]
  • Required: No
  • Expression: ${testLibs}

testLinkResource:

Link the specified resource to this assembly
  • Type: java.lang.String
  • Required: No
  • Expression: ${testLinkresource}

testMain:

The starup object class
  • Type: java.lang.String
  • Required: No
  • Expression: ${testMain}

testModuleAssemblyName:

Name of the assembly which this module will be a part of
  • Type: java.lang.String
  • Required: No
  • Expression: ${testModuleassemblyname}

testNoconfig:

Do not auto include CSC.RSP/VBC.RSP file
  • Type: boolean
  • Required: No

testNowarn:

testNowarn
  • Type: java.lang.String
  • Required: No
  • Expression: ${testNowarn}

testOptimize:

Enable optimizations.
  • Type: boolean
  • Required: No

testOptionCompare:

Specifies binary or text style string comparisons
  • Type: java.lang.String
  • Required: No
  • Expression: ${testOptioncompare}

testOptionStrict:

Enforce strict language semantics / Warn when strict language semantics are not respected.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testOptionstrict}

testOptionexplicit:

Require explicit declaration of variables.
  • Type: boolean
  • Required: No

testParameters:

Additional compiler commands for test classes
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${testParameters}

testPdb:

Specify debug information file name (default: output file name with .pdb extension)
  • Type: java.lang.String
  • Required: No
  • Expression: ${testPdb}

testPlatform:

Limit the platforms this code can run on. (not currently supported)
  • Type: java.lang.String
  • Required: No
  • Expression: ${testPlatform} default-value =

testProfile:

The profile that the compiler should use to compile classes: FULL, COMPACT, (or a custom one specified in a compiler-plugins.xml).
  • Type: java.lang.String
  • Required: No
  • Expression: ${testProfile}
  • Default: FULL

testProfileAssemblyPath:

This over-rides the defaultAssemblyPath for the compiler plugin.
  • Type: java.io.File
  • Required: No
  • Expression: ${testProfileAssemblyPath}

testRemoveintchecks:

Remove integer checks.
  • Type: boolean
  • Required: No

testResource:

Embed the specified resource
  • Type: java.lang.String
  • Required: No
  • Expression: ${testResource}

testRootNamespace:

Returns the rootnamespace of the project. Used by VB project only.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testRootNamespace}
  • Default: ${project.groupId}.${project.artifactId}

testUnsafe:

Allow 'unsafe' code
  • Type: boolean
  • Required: No

testUtf8output:

Output compiler messages in UTF-8 encoding
  • Type: boolean
  • Required: No

testVendor:

The Vendor for the Compiler. Supports MONO and MICROSOFT: the default value is MICROSOFT. Not case or white-space sensitive.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testVendor}

testVendorVersion:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${testVendorVersion}

testWarn:

testWarn
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${testWarn}

testWin32Icon:

Specifies a Win32 icon file (.ico) for the default Win32 resources.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testWin32icon}

testWin32Res:

Specify a Win32 resource file (.res)
  • Type: java.lang.String
  • Required: No
  • Expression: ${testWin32res}

unsafe:

Allow 'unsafe' code
  • Type: boolean
  • Required: No

utf8output:

Output compiler messages in UTF-8 encoding
  • Type: boolean
  • Required: No

vendor:

The Vendor for the Compiler. Not case or white-space sensitive.
  • Type: java.lang.String
  • Required: No
  • Expression: ${vendor}

vendorVersion:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${vendorVersion}

warn:

warn
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${warn}

win32Icon:

Specifies a Win32 icon file (.ico) for the default Win32 resources.
  • Type: java.lang.String
  • Required: No
  • Expression: ${win32icon}

win32Res:

Specify a Win32 resource file (.res)
  • Type: java.lang.String
  • Required: No
  • Expression: ${win32res}