Class MvnProperties

java.lang.Object
org.jdrupes.builder.mvnrepo.MvnProperties

public final class MvnProperties extends Object
Additional properties used with maven repositories.
  • Field Details

    • GroupId

      public static final PropertyKey<String> GroupId
      The group that the project's artifacts belong to. Defaults to null.
    • ArtifactId

      public static final PropertyKey<String> ArtifactId
      The artifact id. Defaults to null.
    • LookupRepositories

      public static final PropertyKey<org.eclipse.aether.repository.RemoteRepository[]> LookupRepositories
      A key that can be used for centralized management of repositories for MvnRepoLookups. The pattern is to set the value of this property in the root project and then use new MvnRepoLookup().addRepositories(get(LookupRepositories)); wherever an instance of MvnRepoLookup is required.
    • PublishingDestinations

      A key that can be used for centralized management of MvnPublishingDestinations. The pattern is to set the value of this property in the root project and then use generator(MvnPublisher::new).destination(get(PublishingDestinations)); in each project when adding a MvnPublisher.