Uses of Class
org.apache.maven.api.model.License
-
Uses of License in org.apache.maven.api.model
Modifier and TypeMethodDescriptionLicense.Builder.build()
static License
License.newInstance()
Creates a newLicense
instance.static License
License.newInstance
(boolean withDefaults) Creates a newLicense
instance using default values or not.License.withComments
(String comments) Creates a newLicense
instance using the specified comments.License.withDistribution
(String distribution) Creates a newLicense
instance using the specified distribution.Creates a newLicense
instance using the specified name.Creates a newLicense
instance using the specified url.Modifier and TypeMethodDescriptionModel.getLicenses()
This element describes all of the licenses for this project.Modifier and TypeMethodDescriptionstatic License.Builder
License.newBuilder
(License from) Creates a newLicense
builder instance using the specified object as a basis.static License.Builder
License.newBuilder
(License from, boolean forceCopy) Creates a newLicense
builder instance using the specified object as a basis.Modifier and TypeMethodDescriptionModel.Builder.licenses
(Collection<License> licenses) Model.withLicenses
(Collection<License> licenses) Creates a newModel
instance using the specified licenses.