tm-sdk:svc-package

Full name:

com.avoka.tm:tm-sdk-maven-plugin:24.4.0:svc-package

Description:

MOJO class providing "svc-package" goal
It will create a service archive ZIP for the given service project.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Since version: 22.4.0.

Required Parameters

Name Type Since Description
<src> File - The path to the service definition file
User Property: src
<svcPackageFilesets> FileSet[] - The fileset configuration to package multiple service definitions in the same service archive
User Property: svc.package.filesets
<versionNumber> String - The service version number
User Property: version.number

Optional Parameters

Name Type Since Description
<debug> boolean - If true then a copy of the service archive XML in the target directory
User Property: debug
<multiple> boolean - The multiple flag to denote if to place each service in separate archive ZIP files
User Property: multiple
<multipleDirectory> File - The output directory where to place multiple services archive ZIP files
User Property: multiple.directory
<svcName> String - The name of the specified service definitions
User Property: svc.name
<svcZipFile> File - The output service archive ZIP file (required if multiple is not specified)
User Property: svc.zip.file
<tmVersion> String - The target TM version for service compatibility packaging
User Property: tm.version

Parameter Details

<debug>

If true then a copy of the service archive XML in the target directory
  • Type: boolean
  • Required: No
  • User Property: debug

<multiple>

The multiple flag to denote if to place each service in separate archive ZIP files
  • Type: boolean
  • Required: No
  • User Property: multiple

<multipleDirectory>

The output directory where to place multiple services archive ZIP files
  • Type: java.io.File
  • Required: No
  • User Property: multiple.directory

<src>

The path to the service definition file
  • Type: java.io.File
  • Required: Yes
  • User Property: src

<svcName>

The name of the specified service definitions
  • Type: java.lang.String
  • Required: No
  • User Property: svc.name

<svcPackageFilesets>

The fileset configuration to package multiple service definitions in the same service archive
  • Type: org.apache.maven.shared.model.fileset.FileSet[]
  • Required: Yes
  • User Property: svc.package.filesets

<svcZipFile>

The output service archive ZIP file (required if multiple is not specified)
  • Type: java.io.File
  • Required: No
  • User Property: svc.zip.file

<tmVersion>

The target TM version for service compatibility packaging
  • Type: java.lang.String
  • Required: No
  • User Property: tm.version

<versionNumber>

The service version number
  • Type: java.lang.String
  • Required: Yes
  • User Property: version.number