public class MavenAccessor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARTIFACT_ID_PEPPER_FRAMEWORK
this String contains the artifactId of pepper-framework.
|
static String |
ARTIFACT_ID_PEPPER_PARENT
this String contains the artifactId of pepper-parentModule.
|
static String |
CENTRAL_REPO
path to maven central
|
static String |
GROUP_ID_PEPPER
group-id of pepper-framework artifact
|
static String |
KORPLING_MAVEN_REPO
path to korpling maven repo
|
| Constructor and Description |
|---|
MavenAccessor(PepperOSGiConnector pepperOSGiConnector) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBlacklist() |
protected String |
printDependencies(org.osgi.framework.Bundle bundle)
This method tries to determine maven project coordinates from a bundle id
to invoke
printDependencies(String, String, String, String). |
String |
printDependencies(String groupId,
String artifactId,
String version,
String repositoryUrl)
This method starts invokes the computation of the dependency tree.
|
boolean |
update(String groupId,
String artifactId,
String repositoryUrl,
boolean isSnapshot,
boolean ignoreFrameworkVersion,
org.osgi.framework.Bundle installedBundle)
This method checks the provided pepper plugin for updates and triggers
the installation process if a newer version is available
|
public static final String ARTIFACT_ID_PEPPER_FRAMEWORK
public static final String ARTIFACT_ID_PEPPER_PARENT
public static final String KORPLING_MAVEN_REPO
public static final String CENTRAL_REPO
public static final String GROUP_ID_PEPPER
public MavenAccessor(PepperOSGiConnector pepperOSGiConnector)
public boolean update(String groupId, String artifactId, String repositoryUrl, boolean isSnapshot, boolean ignoreFrameworkVersion, org.osgi.framework.Bundle installedBundle)
public String getBlacklist()
public String printDependencies(String groupId, String artifactId, String version, String repositoryUrl)
protected String printDependencies(org.osgi.framework.Bundle bundle)
printDependencies(String, String, String, String).Copyright © 2009–2020 Humboldt-Universität zu Berlin, INRIA. All rights reserved.