Package org.apache.maven.index.examples
Class SimpleArtifactGenerator
java.lang.Object
org.apache.maven.index.examples.SimpleArtifactGenerator
- Author:
- mtodorov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertGAVToPath(String groupId, String artifactId, String version, String classifier, String extension) generateArtifact(String repositoryBasedir, String groupId, String artifactId, String version, String classifier, String extension) protected void
-
Constructor Details
-
SimpleArtifactGenerator
public SimpleArtifactGenerator()
-
-
Method Details
-
generateArtifact
public File generateArtifact(String repositoryBasedir, String groupId, String artifactId, String version, String classifier, String extension) throws IOException, NoSuchAlgorithmException, org.codehaus.plexus.util.xml.pull.XmlPullParserException - Throws:
IOExceptionNoSuchAlgorithmExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
generatePom
protected void generatePom(File pomFile, String groupId, String artifactId, String version, String type) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException, NoSuchAlgorithmException - Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionNoSuchAlgorithmException
-
convertGAVToPath
-