Extract the Maven 2.x layout provider code into a separate module
Added a convenience test method.
@@ -33,6 +33,14 @@ public class TestCaseWithArtifactGeneration
throws IOException,
XmlPullParserException,
NoSuchAlgorithmException
+ {
+ return generateArtifact(new File(basedir), gavtc);
+ }
+
+ public Artifact generateArtifact(File basedir, String gavtc)
+ throws IOException,
+ XmlPullParserException,
+ NoSuchAlgorithmException
{
Artifact artifact = ArtifactUtils.getArtifactFromGAVTC(gavtc);
artifact.setFile(new File(basedir + "/" + ArtifactUtils.convertArtifactToPath(artifact)));
