axis2-repo:create-repository

Full name:

org.apache.axis2:axis2-repo-maven-plugin:1.7.9:create-repository

Description:

Creates an Axis2 repository from the project's runtime dependencies. This goal is typically used to build an Axis2 repository that will be packaged into some kind of distribution.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
axis2xml File - The axis2.xml file to be copied into the repository.
configurationDirectory String - The directory (relative to the repository root) where the axis2.xml file will be copied. If this parameter is not set, then the file will be copied into the repository root.
generateFileLists boolean - Specifies whether the plugin should generate services.list and modules.list files.
Default value is: false.
includeModules boolean - Specifies whether modules should be deployed to the repository.
Default value is: true.
includeServices boolean - Specifies whether services should be deployed to the repository.
Default value is: true.
modules String - Comma separated list of modules (by artifactId) to include in the repository.
modulesDirectory String - The directory (relative to the repository root) where MAR files are copied. This should be set to the same value as the ModulesDirectory property in axis2.xml.
Default value is: modules.
outputDirectory File - The output directory where the repository will be created.
Default value is: ${project.build.directory}/repository.
services String - Comma separated list of services (by artifactId) to include in the repository.
servicesDirectory String - The directory (relative to the repository root) where AAR files are copied. This should be set to the same value as the ServicesDirectory property in axis2.xml.
Default value is: services.
stripModuleVersion boolean - Specifies whether the plugin strips version numbers from MAR files.
Default value is: false.
stripServiceVersion boolean - Specifies whether the plugin strips version numbers from AAR files.
Default value is: true.
useDependencies boolean - Specifies whether the plugin should scan the project dependencies for AAR and MAR artifacts.
Default value is: true.
useModules boolean - Specifies whether the plugin should scan Maven modules for AAR and MAR artifacts. This parameter only has an effect for multimodule projects.
Default value is: true.

Parameter Details

axis2xml:

The axis2.xml file to be copied into the repository.
  • Type: java.io.File
  • Required: No

configurationDirectory:

The directory (relative to the repository root) where the axis2.xml file will be copied. If this parameter is not set, then the file will be copied into the repository root.
  • Type: java.lang.String
  • Required: No

generateFileLists:

Specifies whether the plugin should generate services.list and modules.list files.
  • Type: boolean
  • Required: No
  • Default: false

includeModules:

Specifies whether modules should be deployed to the repository.
  • Type: boolean
  • Required: No
  • Default: true

includeServices:

Specifies whether services should be deployed to the repository.
  • Type: boolean
  • Required: No
  • Default: true

modules:

Comma separated list of modules (by artifactId) to include in the repository.
  • Type: java.lang.String
  • Required: No

modulesDirectory:

The directory (relative to the repository root) where MAR files are copied. This should be set to the same value as the ModulesDirectory property in axis2.xml.
  • Type: java.lang.String
  • Required: No
  • Default: modules

outputDirectory:

The output directory where the repository will be created.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/repository

services:

Comma separated list of services (by artifactId) to include in the repository.
  • Type: java.lang.String
  • Required: No

servicesDirectory:

The directory (relative to the repository root) where AAR files are copied. This should be set to the same value as the ServicesDirectory property in axis2.xml.
  • Type: java.lang.String
  • Required: No
  • Default: services

stripModuleVersion:

Specifies whether the plugin strips version numbers from MAR files.
  • Type: boolean
  • Required: No
  • Default: false

stripServiceVersion:

Specifies whether the plugin strips version numbers from AAR files.
  • Type: boolean
  • Required: No
  • Default: true

useDependencies:

Specifies whether the plugin should scan the project dependencies for AAR and MAR artifacts.
  • Type: boolean
  • Required: No
  • Default: true

useModules:

Specifies whether the plugin should scan Maven modules for AAR and MAR artifacts. This parameter only has an effect for multimodule projects.
  • Type: boolean
  • Required: No
  • Default: true