org.ow2.jonas.launcher.felix.util
Class Maven2Utils
java.lang.Object
org.ow2.jonas.launcher.felix.util.Maven2Utils
public final class Maven2Utils
- extends Object
Maven2 Utilities.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBundleMaven2Location
public static String getBundleMaven2Location(String repository,
String groupId,
String artifactId,
String version,
String classifier)
throws MalformedURLException
- Parameters:
repository
- Artifact repositorygroupId
- Artifact groupIdartifactId
- Artifact IDversion
- Artifact versionclassifier
- Artifact's classifier (may be null)
- Returns:
- a string-ified URL
- Throws:
MalformedURLException
- If jar file is not in the repository.
getMaven2Repository
public static File getMaven2Repository()
- Returns:
- a
File
to a usable Maven2 repository.
Copyright © 2010 OW2 Consortium. All Rights Reserved.