= ArtifactLocator.locateArtifact("org.junit")
getBundleContext().installBundle(location.getPath());
} catch (BundleException installationException) {
fail("Bundle could not be installed.");
}
}
}
On 7/14/07, Timothy Reilly <[EMAIL PROTECTED]> wrot
In a Mojo developer cookbook [1] I found the snippet of code that
shows how to get the path of an artifact in the local repository.
Namely,
Set artifacts = project.getDependencyArtifacts();
for (Iterator artifactIterator = artifacts.iterator();
artifactIterator.hasNext();) {
Artifact artifact =