Package org.apache.maven.index.examples
Class SimpleArtifactGenerator
java.lang.Object
org.apache.maven.index.examples.SimpleArtifactGenerator
- Author:
- mtodorov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertGAVToPath
(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:
IOException
NoSuchAlgorithmException
org.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:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
NoSuchAlgorithmException
-
convertGAVToPath
-