projectmetadata:archive

Full name:

de.smartics.maven.plugin:projectmetadata-maven-plugin:1.0.0:archive

Description:

Collects selected project files and compiles them into a JAR file that is attached to the build.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
additionalDescriptorFiles List 1.0 The list of descriptor names to include from other locations. Please note that only files are supported.
archive MavenArchiveConfiguration 1.0 The archive configuration to use. See Maven Archiver Reference.
attach boolean 1.0 Specifies whether to attach the generated artifact to the project helper.
Default value is: true.
User property is: attach.
classifier String 1.0 The classifier to use to generate the attached artifact.
Default value is: project.
skip boolean 1.0 A simple flag to skip the generation of the XML files. If set on the command line use -Dprojectmetadata.skip.
Default value is: false.
User property is: projectmetadata.skip.
standardDescriptorNames List 1.0 The list of descriptor names to include from the standard folder. Choose from
  • api
  • artifact
  • marker
  • static-analysis
  • test
Per default all reports are activated.

Parameter Details

additionalDescriptorFiles:

The list of descriptor names to include from other locations. Please note that only files are supported.
  • Type: java.util.List
  • Since: 1.0
  • Required: No

archive:

The archive configuration to use. See Maven Archiver Reference.
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Since: 1.0
  • Required: No

attach:

Specifies whether to attach the generated artifact to the project helper.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: attach
  • Default: true

classifier:

The classifier to use to generate the attached artifact.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Default: project

skip:

A simple flag to skip the generation of the XML files. If set on the command line use -Dprojectmetadata.skip.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • User Property: projectmetadata.skip
  • Default: false

standardDescriptorNames:

The list of descriptor names to include from the standard folder. Choose from
  • api
  • artifact
  • marker
  • static-analysis
  • test
Per default all reports are activated.
  • Type: java.util.List
  • Since: 1.0
  • Required: No