Package me.snowdrop.licenses
Class LicensesGenerator
- java.lang.Object
-
- me.snowdrop.licenses.LicensesGenerator
-
public class LicensesGenerator extends java.lang.Object- Author:
- Gytis Trikleris
-
-
Constructor Summary
Constructors Constructor Description LicensesGenerator()LicensesGenerator(GeneratorProperties generatorProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LicenseSummaryFactorycreateLicenseSummaryFactory()GavFinderfindGavs()protected org.apache.maven.artifact.ArtifactgavToArtifact(Gav gav)voidgenerateLicensesForGavs(java.util.Collection<Gav> gavs, java.lang.String resultPath)voidgenerateLicensesForPom(java.lang.String pomPath, java.lang.String resultPath)
-
-
-
Constructor Detail
-
LicensesGenerator
public LicensesGenerator() throws LicensesGeneratorException- Throws:
LicensesGeneratorException
-
LicensesGenerator
public LicensesGenerator(GeneratorProperties generatorProperties) throws LicensesGeneratorException
- Throws:
LicensesGeneratorException
-
-
Method Detail
-
findGavs
public GavFinder findGavs()
-
generateLicensesForPom
public void generateLicensesForPom(java.lang.String pomPath, java.lang.String resultPath) throws LicensesGeneratorException- Throws:
LicensesGeneratorException
-
generateLicensesForGavs
public void generateLicensesForGavs(java.util.Collection<Gav> gavs, java.lang.String resultPath) throws LicensesGeneratorException
- Throws:
LicensesGeneratorException
-
gavToArtifact
protected org.apache.maven.artifact.Artifact gavToArtifact(Gav gav)
-
createLicenseSummaryFactory
protected LicenseSummaryFactory createLicenseSummaryFactory()
-
-