compile:generate-assembly-info

Full name:

npanday.plugin:maven-compile-plugin:1.1:generate-assembly-info

Description:

Generates an AssemblyInfo.* class based on information within the pom file.

Attributes:

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

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.
sourceDirectory String - Source directory containing the copied class files.
Default value is: ${project.build.sourceDirectory}.

Optional Parameters

Name Type Since Description
frameworkVersion String - The framework version to compile under: 1.1, 2.0, 3.0
keycontainer String - Specifies a strong name key container. (not currently supported)
keyfile File - Specify a strong name key file.
vendor String - The vendor for the compiler: MICROSOFT, MONO, DOTGNU. Not case or white-space sensitive.
vendorVersion String - The vendor version to compile under. For Microsoft, this will be the same as the framework version.

Parameter Details

frameworkVersion:

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

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

sourceDirectory:

Source directory containing the copied class files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${sourceDirectory}
  • Default: ${project.build.sourceDirectory}

vendor:

The vendor for the compiler: MICROSOFT, MONO, DOTGNU. Not case or white-space sensitive.
  • Type: java.lang.String
  • Required: No
  • Expression: ${vendor}

vendorVersion:

The vendor version to compile under. For Microsoft, this will be the same as the framework version.
  • Type: java.lang.String
  • Required: No
  • Expression: ${vendorVersion}