public class MavenUtils extends Object
| Constructor and Description |
|---|
MavenUtils(Class<?> mainJarClass)
Initializes the class by retrieving the jar name of the jar that contains a specified
class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHarvesterJarName()
Returns the name of the main jar of this service.
|
List<String> |
getMavenVersionInfo(String groupId)
Returns a list of dependencies of this service's classpath.
|
public MavenUtils(Class<?> mainJarClass)
mainJarClass - a class of the harvester jarpublic List<String> getMavenVersionInfo(String groupId)
groupId - a Maven groupId that can be used to filter the Maven projects,
or null if no filter is to be appliedpublic String getHarvesterJarName()
Copyright © 2017–2019. All rights reserved.