public class BundleUtils
extends org.apache.felix.bundleplugin.BundlePlugin
| Modifier and Type | Field and Description |
|---|---|
static BundleUtils |
INSTANCE |
artifactFactory, artifactResolver, buildContext, classifier, createDependencyReducedPom, dependencyGraphBuilder, dependencyReducedPomLocation, dumpClasspath, dumpInstructions, excludeDependencies, exportScr, localRepository, manifestLocation, mavenProjectBuilder, niceManifest, noWarningProjectTypes, packaging, project, remoteArtifactRepositories, scrLocation, session, supportedProjectTypes, unpackBundle| Constructor and Description |
|---|
BundleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.maven.artifact.Artifact |
aetherToMavenArtifactBasic(Artifact artifact) |
String |
calculateBundleSymbolicName(Artifact artifact) |
String |
calculateBundleVersion(Artifact artifact) |
String |
cleanupVersion(String version) |
String |
getBundleName(aQute.bnd.osgi.Jar jar) |
String |
getBundleSymbolicName(aQute.bnd.osgi.Jar jar) |
String |
getBundleVersion(aQute.bnd.osgi.Jar jar) |
boolean |
isBundle(File file) |
boolean |
isBundle(aQute.bnd.osgi.Jar jar) |
boolean |
isReuseSnapshotVersionFromArtifact() |
boolean |
reportErrors(aQute.bnd.osgi.Analyzer analyzer) |
void |
setReuseSnapshotVersionFromArtifact(boolean in) |
static Properties |
transformDirectivesToProperties(Map<String,String> instructions) |
addMavenInstructions, addMavenSourcePath, buildOSGiBundle, convertVersionToOsgi, dumpClasspath, dumpInstructions, dumpManifest, execute, execute, getBase, getBuildDirectory, getBundleName, getClasspath, getDefaultProperties, getEmbeddableArtifacts, getFile, getInstructions, getMaven2OsgiConverter, getMavenResourcePaths, getOptionalPackages, getOSGiBuilder, getOutputDirectory, getProject, includeJava9Fixups, includeMavenResources, isTransitivelyOptional, mergeManifest, mergeMavenManifest, removeTagFromInstruction, reportErrors, sanitize, sanitize, setBuildDirectory, setOutputDirectory, transformDirectives, updateExcludesInDepspublic static final BundleUtils INSTANCE
public boolean reportErrors(aQute.bnd.osgi.Analyzer analyzer)
public static org.apache.maven.artifact.Artifact aetherToMavenArtifactBasic(Artifact artifact)
public boolean isBundle(File file)
public boolean isBundle(aQute.bnd.osgi.Jar jar)
public String getBundleSymbolicName(aQute.bnd.osgi.Jar jar)
public String getBundleVersion(aQute.bnd.osgi.Jar jar)
public String getBundleName(aQute.bnd.osgi.Jar jar)
public static Properties transformDirectivesToProperties(Map<String,String> instructions)
public void setReuseSnapshotVersionFromArtifact(boolean in)
public boolean isReuseSnapshotVersionFromArtifact()
Copyright © 2012–2021. All rights reserved.