|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LicenseMap | |
---|---|
org.codehaus.mojo.license |
Uses of LicenseMap in org.codehaus.mojo.license |
---|
Methods in org.codehaus.mojo.license that return LicenseMap | |
---|---|
protected LicenseMap |
AbstractAddThirdPartyMojo.createLicenseMap(SortedMap<String,org.apache.maven.project.MavenProject> dependencies)
This returns the complete transitive dependency tree keyed by license type after applying some cleanup |
LicenseMap |
AbstractAddThirdPartyMojo.getLicenseMap()
|
Methods in org.codehaus.mojo.license with parameters of type LicenseMap | |
---|---|
void |
ThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
org.apache.maven.model.License license)
Add a given license to the given licenseMap for the given project . |
void |
DefaultThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
org.apache.maven.model.License license)
Add a given license to the given licenseMap for the given project . |
void |
ThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
List<?> licenses)
Add a given licenses to the given licenseMap for the given project . |
void |
DefaultThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
List<?> licenses)
This does some cleanup, and basic safety checks on the license objects passed in 1 - Ignore system scoped dependencies 2 - If there are no licenses declared, use "Unknown License" 3 - If there is no name declared, but there is a url, use the url as a key 4 - If there is no name or url, use "Unknown License" as a key |
void |
ThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
String licenseName)
Add a license (name and url are licenseName ) to the given licenseMap for the given
project . |
void |
DefaultThirdPartyTool.addLicense(LicenseMap licenseMap,
org.apache.maven.project.MavenProject project,
String licenseName)
Add a license (name and url are licenseName ) to the given licenseMap for the given
project . |
SortedSet<org.apache.maven.project.MavenProject> |
ThirdPartyTool.getProjectsWithNoLicense(LicenseMap licenseMap,
boolean doLog)
From the given licenseMap , obtain all the projects with no license. |
SortedSet<org.apache.maven.project.MavenProject> |
DefaultThirdPartyTool.getProjectsWithNoLicense(LicenseMap licenseMap,
boolean doLog)
From the given licenseMap , obtain all the projects with no license. |
protected void |
DefaultThirdPartyTool.handleUnsafeDependencies(Set<org.apache.maven.project.MavenProject> deps,
Properties mappings,
LicenseMap licenseMap)
|
SortedProperties |
ThirdPartyTool.loadThirdPartyDescriptorsForUnsafeMapping(String encoding,
Collection<org.apache.maven.project.MavenProject> projects,
SortedSet<org.apache.maven.project.MavenProject> unsafeProjects,
LicenseMap licenseMap,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
SortedProperties |
DefaultThirdPartyTool.loadThirdPartyDescriptorsForUnsafeMapping(String encoding,
Collection<org.apache.maven.project.MavenProject> projects,
SortedSet<org.apache.maven.project.MavenProject> unsafeDependencies,
LicenseMap licenseMap,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
|
SortedProperties |
ThirdPartyTool.loadUnsafeMapping(LicenseMap licenseMap,
SortedMap<String,org.apache.maven.project.MavenProject> artifactCache,
String encoding,
File missingFile)
|
SortedProperties |
DefaultThirdPartyTool.loadUnsafeMapping(LicenseMap licenseMap,
SortedMap<String,org.apache.maven.project.MavenProject> artifactCache,
String encoding,
File missingFile)
|
void |
ThirdPartyTool.mergeLicenses(LicenseMap licenseMap,
String... licenses)
For a given licenseMap , merge all licenses . |
void |
DefaultThirdPartyTool.mergeLicenses(LicenseMap licenseMap,
String... licenses)
For a given licenseMap , merge all licenses . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |