public class GAVArtifactDescriptor extends GAVArtifactDescriptorBase
coordinates
Constructor and Description |
---|
GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor base)
Creates a new
GAVArtifactDescriptor instance based on the given p2 artifact
descriptor. |
GAVArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Creates a new
GAVArtifactDescriptorBase instance with the given p2 artifact key. |
getMavenCoordinates, readMavenCoordinateProperties, setMavenCoordinateProperties
public GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor base)
GAVArtifactDescriptor
instance based on the given p2 artifact
descriptor. If the given descriptor contains Maven coordinates as properties, these values
are used. Otherwise, fake Maven coordinates with a groupId starting with "p2" will be derived
from the p2 artifact key.base
- The artifact descriptor to be copy-converted into a
GAVArtifactDescriptor
public GAVArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey key)
GAVArtifactDescriptorBase
instance with the given p2 artifact key. The
instance will have fake Maven coordinates with a groupId starting with "p2". These are
derived from the key.key
- The artifact key for the newly created instanceCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.