// TODO: Work out how to use Plexus to obtain these values
String url = "file://" + localRepositoryDirectory;
ArtifactRepository localRepository =
new DefaultArtifactRepository( "local", url, new DefaultRepositoryLayout() );
ArtifactFactory artifactFactory = new DefaultArtifactFactory();
DefaultArtifactHandler javaSourceArtifactHandler = new DefaultArtifactHandler( "java-source" );
setVariableValueToObject( javaSourceArtifactHandler, "extension", "jar" );
DefaultArtifactHandler javadocArtifactHandler = new DefaultArtifactHandler( "javadoc" );