MavenArtifact class

A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.

Constructors

MavenArtifact({Input<String>? artifactId, Input<String>? groupId, Input<String>? path, Input<String>? repository, Input<String>? version})
Creates a new MavenArtifact. artifactId Maven artifactId value used when uploading the artifact to Artifact Registry. groupId Maven groupId value used when uploading the artifact to Artifact Registry. path Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. repository Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix. version Maven version value used when uploading the artifact to Artifact Registry.
const
MavenArtifact.fromMap(Map<String, dynamic> map)
factory

Properties

artifactId → Input<String>?
Maven artifactId value used when uploading the artifact to Artifact Registry.
final
groupId → Input<String>?
Maven groupId value used when uploading the artifact to Artifact Registry.
final
hashCode → int
The hash code for this object.
no setterinherited
path → Input<String>?
Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
final
repository → Input<String>?
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Input<String>?
Maven version value used when uploading the artifact to Artifact Registry.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited