maveninstallationeclipse-pluginp2update-site

Eclipse plug in not discovered from the site where i uploaded my 'update site project' directory


I have an Eclipse plug-in project for which I've created a feature project and an update site project. During the build process of the update site project, I notice that certain artifacts are generated (including directories for features and plugins, site.xml, artifact.jar, content.jar, and a project file).

When I install the feature from the update site directory locally, it is recognized without any issues. However, when I upload the update site project to an official site, the same feature is not recognized

Upon reviewing other update site directories that are recognized through the site, I noticed that 'artifacts.xml.xz', 'content.xml.xz', and 'p2.index' files are missing from my directory. How can I ensure that these files are generated when building my update site project? Could the absence of these files be the reason why my feature is not recognizable when uploaded to the site, or could there be other reasons?

Reference Picture while trying to install plugin

Files that was generated while building my update site project


Solution

  • The screenshot shows that the update site URL (in the field Work with) ends with .zip, but instead of the ZIP archive the update site needs to provide the extracted files directly.

    A ZIP archive can only be used locally. In contrast, when working with a remote update site, only the necessary files are accessed, so that less has to be downloaded.