# Interface MavenPomRelocation

@NullMarked public interface MavenPomRelocation
The relocation information of a Maven publication that has been moved to a new group and/or artifact ID.

Since:
  4.8
See Also:
  - `MavenPom`
  - `MavenPomDistributionManagement`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Property<String>`
  `getArtifactId()`
  The new artifact ID of the artifact.
  `Property<String>`
  `getGroupId()`
  The new group ID of the artifact.
  `Property<String>`
  `getMessage()`
  The message to show the user for this relocation.
  `Property<String>`
  `getVersion()`
  The new version of the artifact.

- ## Method Details

  - ### getGroupId

    @Input @Optional Property<String> getGroupId()
    The new group ID of the artifact.
    Since:
      4.8

  - ### getArtifactId

    @Input @Optional Property<String> getArtifactId()
    The new artifact ID of the artifact.
    Since:
      4.8

  - ### getVersion

    @Input @Optional Property<String> getVersion()
    The new version of the artifact.
    Since:
      4.8

  - ### getMessage

    @Input @Optional Property<String> getMessage()
    The message to show the user for this relocation.
    Since:
      4.8