org.ow2.jonas.launcher.jonas.util
Class Maven2Utils
java.lang.Object
org.ow2.jonas.launcher.jonas.util.Maven2Utils
public final class Maven2Utils
- extends java.lang.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 java.lang.String getBundleMaven2Location(java.lang.String repository,
java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String classifier)
throws java.net.MalformedURLException
- Parameters:
repository - Artifact repositorygroupId - Artifact groupIdartifactId - Artifact IDversion - Artifact versionclassifier - Artifact's classifier (may be null)
- Returns:
- a string-ified URL
- Throws:
java.net.MalformedURLException - If jar file is not in the repository.
getMaven2Repository
public static java.io.File getMaven2Repository()
- Returns:
- a
File to a usable Maven2 repository.
getMaven2InternalRepository
public static java.io.File getMaven2InternalRepository()
- Returns:
- a File pointing to $JONAS_ROOT/repositories/maven2-internal
Copyright © 2012 OW2 Consortium. All Rights Reserved.