Uses of Class
org.codehaus.mojo.license.model.LicenseMap
Packages that use LicenseMap
Package
Description
Api package
Model package
-
Uses of LicenseMap in org.codehaus.mojo.license
Fields in org.codehaus.mojo.license declared as LicenseMap -
Uses of LicenseMap in org.codehaus.mojo.license.api
Methods in org.codehaus.mojo.license.api that return LicenseMapModifier and TypeMethodDescriptionDefaultThirdPartyHelper.createLicenseMap
(SortedMap<String, org.apache.maven.project.MavenProject> dependencies) Creates a license map from given dependencies.ThirdPartyHelper.createLicenseMap
(SortedMap<String, org.apache.maven.project.MavenProject> dependencies) Creates a license map from given dependencies.Methods in org.codehaus.mojo.license.api with parameters of type LicenseMapModifier and TypeMethodDescriptionvoid
DefaultThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, String... licenseNames) Add one or more licenses (name and url arelicenseNames
) to the givenlicenseMap
for the givenproject
.void
DefaultThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, List<?> licenses) Add a givenlicenses
to the givenlicenseMap
for the givenproject
.void
DefaultThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, org.apache.maven.model.License license) Add a givenlicense
to the givenlicenseMap
for the givenproject
.void
ThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, String... licenseNames) Add one or more licenses (name and url arelicenseNames
) to the givenlicenseMap
for the givenproject
.void
ThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, List<?> licenses) Add a givenlicenses
to the givenlicenseMap
for the givenproject
.void
ThirdPartyTool.addLicense
(LicenseMap licenseMap, org.apache.maven.project.MavenProject project, org.apache.maven.model.License license) Add a givenlicense
to the givenlicenseMap
for the givenproject
.DefaultThirdPartyHelper.createUnsafeMapping
(LicenseMap licenseMap, File missingFile, String missingFileUrl, boolean useRepositoryMissingFiles, SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies, SortedMap<String, org.apache.maven.project.MavenProject> projectDependencies, Set<org.apache.maven.artifact.Artifact> dependencyArtifacts) Loads unsafe mappings.ThirdPartyHelper.createUnsafeMapping
(LicenseMap licenseMap, File missingFile, String missingFileUrl, boolean useRepositoryMissingFiles, SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies, SortedMap<String, org.apache.maven.project.MavenProject> projectDependencies, Set<org.apache.maven.artifact.Artifact> dependencyArtifacts) Loads unsafe mappings.SortedSet
<org.apache.maven.project.MavenProject> DefaultThirdPartyHelper.getProjectsWithNoLicense
(LicenseMap licenseMap) Obtains all dependencies with no license form the given license map.SortedSet
<org.apache.maven.project.MavenProject> DefaultThirdPartyTool.getProjectsWithNoLicense
(LicenseMap licenseMap) From the givenlicenseMap
, obtain all the projects with no license.SortedSet
<org.apache.maven.project.MavenProject> ThirdPartyHelper.getProjectsWithNoLicense
(LicenseMap licenseMap) Obtains all dependencies with no license form the given license map.SortedSet
<org.apache.maven.project.MavenProject> ThirdPartyTool.getProjectsWithNoLicense
(LicenseMap licenseMap) From the givenlicenseMap
, obtain all the projects with no license.DefaultThirdPartyHelper.loadThirdPartyDescriptorForUnsafeMapping
(Set<org.apache.maven.artifact.Artifact> topLevelDependencies, SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies, Collection<org.apache.maven.project.MavenProject> projects, LicenseMap licenseMap) Try to load maximum of unsafe license mapping using third-party descriptors (from maven repositories) and return it.ThirdPartyHelper.loadThirdPartyDescriptorForUnsafeMapping
(Set<org.apache.maven.artifact.Artifact> topLevelDependencies, SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies, Collection<org.apache.maven.project.MavenProject> projects, LicenseMap licenseMap) Try to load maximum of unsafe license mapping using third-party descriptors (from maven repositories) and return it.DefaultThirdPartyTool.loadThirdPartyDescriptorsForUnsafeMapping
(Set<org.apache.maven.artifact.Artifact> topLevelDependencies, String encoding, Collection<org.apache.maven.project.MavenProject> projects, SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies, LicenseMap licenseMap, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories) Collect license information from property file, 'third-party' classified artifacts, and .license.properties dependencies.ThirdPartyTool.loadThirdPartyDescriptorsForUnsafeMapping
(Set<org.apache.maven.artifact.Artifact> dependencies, String encoding, Collection<org.apache.maven.project.MavenProject> projects, SortedSet<org.apache.maven.project.MavenProject> unsafeProjects, LicenseMap licenseMap, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories) Collect license information from property file, 'third-party' classified artifacts, and .license.properties dependencies.DefaultThirdPartyHelper.loadUnsafeMapping
(LicenseMap licenseMap, File missingFile, String missingFileUrl, SortedMap<String, org.apache.maven.project.MavenProject> projectDependencies) Load unsafe mapping for all dependencies with no license in their pom, we will load the missing file if it exists and also add all dependencies from licenseMap with no license known.DefaultThirdPartyTool.loadUnsafeMapping
(LicenseMap licenseMap, SortedMap<String, org.apache.maven.project.MavenProject> artifactCache, String encoding, File missingFile, String missingFileUrl) Loads unsafe mapping and returns it.ThirdPartyHelper.loadUnsafeMapping
(LicenseMap licenseMap, File missingFile, String missingFileUrl, SortedMap<String, org.apache.maven.project.MavenProject> projectDependencies) Load unsafe mapping for all dependencies with no license in their pom, we will load the missing file if it exists and also add all dependencies from licenseMap with no license known.ThirdPartyTool.loadUnsafeMapping
(LicenseMap licenseMap, SortedMap<String, org.apache.maven.project.MavenProject> artifactCache, String encoding, File missingFile, String missingFileUrl) Loads unsafe mapping and returns it.void
DefaultThirdPartyHelper.mergeLicenses
(List<String> licenseMerges, LicenseMap licenseMap) Merges licenses.void
DefaultThirdPartyTool.mergeLicenses
(LicenseMap licenseMap, String mainLicense, Set<String> licenses) For a givenlicenseMap
, merge alllicenses
.void
ThirdPartyHelper.mergeLicenses
(List<String> licenseMerges, LicenseMap licenseMap) Merges licenses.void
ThirdPartyTool.mergeLicenses
(LicenseMap licenseMap, String mainLicense, Set<String> licensesToMerge) For a givenlicenseMap
, merge alllicenses
.void
DefaultThirdPartyTool.overrideLicenses
(LicenseMap licenseMap, SortedMap<String, org.apache.maven.project.MavenProject> artifactCache, String encoding, String overrideUrl) Override licenses from override file.void
ThirdPartyTool.overrideLicenses
(LicenseMap licenseMap, SortedMap<String, org.apache.maven.project.MavenProject> artifactCache, String encoding, String overrideUrl) Override licenses from override file.void
DefaultThirdPartyTool.writeThirdPartyFile
(LicenseMap licenseMap, File thirdPartyFile, boolean verbose, String encoding, String lineFormat) Write the content of the third-party file.void
ThirdPartyTool.writeThirdPartyFile
(LicenseMap licenseMap, File thirdPartyFile, boolean verbose, String encoding, String template) Write the content of the third-party file. -
Uses of LicenseMap in org.codehaus.mojo.license.model
Methods in org.codehaus.mojo.license.model that return LicenseMapMethods in org.codehaus.mojo.license.model with parameters of type LicenseMapModifier and TypeMethodDescriptionvoid
LicenseMap.putAll
(LicenseMap licenseMap) Store in the license other licenseMap.