| Package | Description |
|---|---|
| org.codehaus.mojo.license | |
| org.codehaus.mojo.license.api |
Api package
|
| org.codehaus.mojo.license.utils |
| Modifier and Type | Field and Description |
|---|---|
protected SortedProperties |
AbstractAddThirdPartyMojo.unsafeMappings |
| Modifier and Type | Method and Description |
|---|---|
protected SortedProperties |
AddThirdPartyMojo.createUnsafeMapping()
Creates the unsafe mapping (says dependencies with no license given by their pom).
|
protected SortedProperties |
AggregatorAddThirdPartyMojo.createUnsafeMapping()
Creates the unsafe mapping (says dependencies with no license given by their pom).
|
protected abstract SortedProperties |
AbstractAddThirdPartyMojo.createUnsafeMapping()
Creates the unsafe mapping (says dependencies with no license given by their pom).
|
| Modifier and Type | Method and Description |
|---|---|
SortedProperties |
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.
|
SortedProperties |
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.
|
SortedProperties |
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.
|
SortedProperties |
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.
|
SortedProperties |
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,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
Collect license information from property file, 'third-party' classified artifacts, and .license.properties
dependencies.
|
SortedProperties |
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,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
Collect license information from property file, 'third-party' classified artifacts, and .license.properties
dependencies.
|
SortedProperties |
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.
|
SortedProperties |
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.
|
SortedProperties |
ThirdPartyTool.loadUnsafeMapping(LicenseMap licenseMap,
SortedMap<String,org.apache.maven.project.MavenProject> artifactCache,
String encoding,
File missingFile,
String missingFileUrl)
Loads unsafe mapping and returns it.
|
SortedProperties |
DefaultThirdPartyTool.loadUnsafeMapping(LicenseMap licenseMap,
SortedMap<String,org.apache.maven.project.MavenProject> artifactCache,
String encoding,
File missingFile,
String missingFileUrl)
Loads unsafe mapping and returns it.
|
| Modifier and Type | Method and Description |
|---|---|
SortedProperties |
SortedProperties.load(File src)
Charge le properties a partir d'un fichier.
|
Copyright © 2010–2019 MojoHaus. All rights reserved.