Class MvnProperties
java.lang.Object
org.jdrupes.builder.mvnrepo.MvnProperties
Additional properties used with maven repositories.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyKey<String> The artifact id.static final PropertyKey<String> The group that the project's artifacts belong to.static final PropertyKey<org.eclipse.aether.repository.RemoteRepository[]> A key that can be used for centralized management of repositories forMvnRepoLookups.static final PropertyKey<MvnPublishingDestination[]> A key that can be used for centralized management ofMvnPublishingDestinations. -
Method Summary
-
Field Details
-
GroupId
The group that the project's artifacts belong to. Defaults tonull. -
ArtifactId
The artifact id. Defaults tonull. -
LookupRepositories
public static final PropertyKey<org.eclipse.aether.repository.RemoteRepository[]> LookupRepositoriesA key that can be used for centralized management of repositories forMvnRepoLookups. The pattern is to set the value of this property in the root project and then usenew MvnRepoLookup().addRepositories(get(LookupRepositories));wherever an instance ofMvnRepoLookupis required. -
PublishingDestinations
A key that can be used for centralized management ofMvnPublishingDestinations. The pattern is to set the value of this property in the root project and then usegenerator(MvnPublisher::new).destination(get(PublishingDestinations));in each project when adding aMvnPublisher.
-