Movatterモバイル変換


[0]ホーム

URL:


MavenArtifact

Table of Contents

Properties
Methods
Script blocks
Property details
Method details
API Documentation:MavenArtifact

An artifact published as part of aMavenPublication.

Properties

PropertyDescription
buildDependencies

Returns a dependency which contains the tasks which build this artifact. AllBuildable implementationsmust ensure that the returned dependency object is live, so that it tracks changes to the dependencies of thisbuildable.

classifier

The classifier used to publish the artifact file.Anull value (the default) indicates that this artifact will be published without a classifier.

extension

The extension used to publish the artifact file, nevernull.For an artifact without an extension, this value will be an empty String.

file

The actual file contents to publish.

Methods

MethodDescription
builtBy(tasks)

Registers some tasks which build this artifact.

Script blocks

No script blocks

Property details

TaskDependencybuildDependencies (read-only)

Returns a dependency which contains the tasks which build this artifact. AllBuildable implementationsmust ensure that the returned dependency object is live, so that it tracks changes to the dependencies of thisbuildable.

Stringclassifier

The classifier used to publish the artifact file.Anull value (the default) indicates that this artifact will be published without a classifier.

Stringextension

The extension used to publish the artifact file, nevernull.For an artifact without an extension, this value will be an empty String.

Filefile (read-only)

The actual file contents to publish.

Method details

voidbuiltBy(Object... tasks)

Registers some tasks which build this artifact.


[8]ページ先頭

©2009-2025 Movatter.jp