Class OutputDescriptorAttachmentRegistrar

java.lang.Object
io.github.ascopes.protobufmavenplugin.generation.OutputDescriptorAttachmentRegistrar

public final class OutputDescriptorAttachmentRegistrar extends Object
Strategy for registration of additional artifacts to attach to the Maven project.
Since:
2.11.0
  • Constructor Details

    • OutputDescriptorAttachmentRegistrar

      public OutputDescriptorAttachmentRegistrar(org.apache.maven.project.MavenProjectHelper mavenProjectHelper, String defaultArtifactType, @Nullable String defaultArtifactClassifier)
  • Method Details

    • registerAttachedArtifact

      public void registerAttachedArtifact(org.apache.maven.execution.MavenSession session, Path artifactPath, @Nullable String artifactType, @Nullable String artifactClassifier)