Interface PublishingRepository

    • Method Detail

      • getProjectIdentities

        ReactorProjectIdentities getProjectIdentities()
        Returns the project for which this instance contains the publishing results.
      • getMetadataRepository

        org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getMetadataRepository()
      • getArtifactRepository

        org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository getArtifactRepository()
      • getArtifactRepositoryForWriting

        org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepositoryForWriting​(WriteSessionContext writeSession)
        Returns a view onto the project's artifact repository which allows writing new artifacts.
        Parameters:
        writeSession - a callback used to assign (Maven) classifiers to the new (p2) artifacts.
      • addArtifactLocation

        void addArtifactLocation​(java.lang.String classifier,
                                 java.io.File artifactLocation)
                          throws org.eclipse.equinox.p2.core.ProvisionException
        Adds the location of an existing artifact. This method should be called for artifacts which are not packed by a publisher action.
        Parameters:
        classifier - the classifier of the artifact, or null for the main artifact.
        artifactLocation - the location of the artifact
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException