Class EclipseRepositoryProject

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled, TychoProject

    @Component(role=TychoProject.class,
               hint="eclipse-repository")
    public class EclipseRepositoryProject
    extends AbstractArtifactBasedProject
    An eclipse repository project produces a p2 repository where a set of products are published.
    • Constructor Detail

      • EclipseRepositoryProject

        public EclipseRepositoryProject()
    • Method Detail

      • getArtifactKey

        public ArtifactKey getArtifactKey​(ReactorProject project)
        The published repository is always under the id of the maven project: this published repository can contain multiple products.
      • loadCategories

        public List<Category> loadCategories​(org.apache.maven.project.MavenProject project)
        Parses the category configuration files
        Parameters:
        project -
        Returns:
      • loadProducts

        protected List<ProductConfiguration> loadProducts​(org.apache.maven.project.MavenProject project)
        Parses the product configuration files
        Parameters:
        project -
        Returns:
      • getProductFiles

        public List<File> getProductFiles​(org.apache.maven.project.MavenProject project)
        Looks for all files at the base of the project that extension is ".product" Duplicated in the P2GeneratorImpl
        Parameters:
        project -
        Returns:
        The list of product files to parse for an eclipse-repository project