Package org.eclipse.tycho.p2.target
Class PomDependencyCollectorImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.target.PomDependencyCollectorImpl
-
- All Implemented Interfaces:
PomDependencyCollector
public class PomDependencyCollectorImpl extends java.lang.Object implements PomDependencyCollector
-
-
Field Summary
Fields Modifier and Type Field Description private TargetPlatformBundlePublisher
bundlesPublisher
private MavenLogger
logger
private java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade>
mavenInstallableUnits
private ReactorProject
project
-
Constructor Summary
Constructors Constructor Description PomDependencyCollectorImpl(MavenContext mavenContext, ReactorProject project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArtifactWithExistingMetadata(IArtifactFacade artifact, IArtifactFacade p2MetadataFile)
void
addMavenArtifact(IArtifactFacade artifact, boolean allowGenerateOSGiBundle)
void
addMavenArtifact(IArtifactFacade artifact, java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)
(package private) java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit>
gatherMavenInstallableUnits()
(package private) IRawArtifactFileProvider
getArtifactRepoOfPublishedBundles()
(package private) java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade>
getMavenInstallableUnits()
java.io.File
getProjectLocation()
private java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>
readUnits(IArtifactFacade p2MetadataFile)
-
-
-
Field Detail
-
bundlesPublisher
private final TargetPlatformBundlePublisher bundlesPublisher
-
logger
private final MavenLogger logger
-
mavenInstallableUnits
private java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenInstallableUnits
-
project
private ReactorProject project
-
-
Constructor Detail
-
PomDependencyCollectorImpl
public PomDependencyCollectorImpl(MavenContext mavenContext, ReactorProject project)
-
-
Method Detail
-
getProjectLocation
public java.io.File getProjectLocation()
-
addMavenArtifact
public void addMavenArtifact(IArtifactFacade artifact, boolean allowGenerateOSGiBundle)
- Specified by:
addMavenArtifact
in interfacePomDependencyCollector
-
addArtifactWithExistingMetadata
public void addArtifactWithExistingMetadata(IArtifactFacade artifact, IArtifactFacade p2MetadataFile)
- Specified by:
addArtifactWithExistingMetadata
in interfacePomDependencyCollector
-
readUnits
private java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> readUnits(IArtifactFacade p2MetadataFile) throws java.io.IOException
- Throws:
java.io.IOException
-
addMavenArtifact
public void addMavenArtifact(IArtifactFacade artifact, java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)
-
gatherMavenInstallableUnits
java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> gatherMavenInstallableUnits()
-
getMavenInstallableUnits
java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getMavenInstallableUnits()
-
getArtifactRepoOfPublishedBundles
IRawArtifactFileProvider getArtifactRepoOfPublishedBundles()
-
-