Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The p2 repository ships a relatively old version of Jetty, i.e., 10.0.13, rather than the most recent 10.0.15 version #1234

Closed
merks opened this issue Jun 2, 2023 · 25 comments · Fixed by #1238

Comments

@merks
Copy link
Contributor

merks commented Jun 2, 2023

Looking at the repository currently contributed to SimRel

https://download.eclipse.org/wildwebdeveloper/releases/1.1.1/

I see these versions of Jetty:

image

Version 10.3.15 is available.

It's not clear where these come from because I don't see Jetty in the target platform.

@vrubezhny
Copy link
Contributor

@merks Currently I see the same jetty versions.
No traces of direct dependency inclusion nor downloading jetty when building.
It looks like jetty comes in when building the repository as part of some feature included to category.xml.

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

They must be coming transitively from dependencies in these repositories with older versions of Jetty

https://download.eclipse.org/releases/latest
https://download.eclipse.org/eclipse/updates/latest

I guess because you have a product you pull in a huge number of dependencies into your product's repo and this is the only repo you have which gets contributed to SimRel with older releases of the Platform, WTP and perhaps more...

@vrubezhny
Copy link
Contributor

For sure it comes from https://download.eclipse.org/eclipse/updates/latest as only this repo contains v.10.0.13

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

This does too:

image

So I guess this issue will correct itself after the release June 14th. Given WWD produces releases of products before that time, the only other alternative is to produce releases from other things that are not yet released, which also is not a good alternative.

That reminds me that I opened this related issue:

#938

Ideally there would be a repository for general updates to WWD as installed in any product rather than only a product update site, but that requires significantly more releng work...

@vrubezhny
Copy link
Contributor

https://download.eclipse.org/releases/2023-06/202306021000/plugins/ has jetty v.10.0.15, so probably it's not yet set as the latest one.

Anyway, after the release of June 14th, should we re-rebuild/release/contribute to SimRel any products in order to include the latest changes from 2023-06?

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

Exactly, that will happen precisely on June 14th 9:30 EST.

Mostly this problem came to my attention because of this:

https://git.eclipse.org/r/c/simrel/org.eclipse.simrel.build/+/202328

So WTP was contributing an old version of WWD and even when that fixed, WTP was still also dragging in some old versions of Jetty that were only available for WWD's repository, which made me wonder why such old versions are there for WWD because if they weren't I'd never have noticed there was an issue with WTP's contribution.

But it's clear now that this comes from WWD building a product and using the product repository as the contribution to SimRel. That is not wrong, but it is a source of potential problems and confusion because one never knows if some other thing contributing to SimRel is dragging in a dependencies that come from some older thing only in WWD...

It would be much better to have a repository with only WWD's features...

@akurtakov
Copy link
Contributor

@vrubezhny It's worth trying what is described here https://www.eclipse.org/lists/cross-project-issues-dev/msg19679.html . Instead of bundling refer to the repos and skip things that are in refered repos.

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

That's a interesting idea...

One potential concern with that approach (though I'm just hypothesizing) is that some of these feature includes in the product:

      <feature id="org.eclipse.epp.package.common.feature"/>
      <feature id="org.eclipse.platform"/>
      <feature id="org.eclipse.epp.mpc" installMode="root"/>
      <feature id="org.eclipse.justj.openjdk.hotspot.jre.full" installMode="root"/>
      <feature id="org.eclipse.egit" installMode="root"/>
      <feature id="org.eclipse.egit.gitflow.feature" installMode="root"/>
      <feature id="org.eclipse.epp.package.common.feature" installMode="root"/>
      <feature id="org.eclipse.equinox.p2.user.ui" installMode="root"/>
      <feature id="org.eclipse.help" installMode="root"/>
      <feature id="org.eclipse.mylyn.wikitext.editors_feature" installMode="root"/>
      <feature id="org.eclipse.wildwebdeveloper.feature" installMode="root"/>
      <feature id="org.eclipse.wildwebdeveloper.embedder.node.feature" installMode="root"/>
      <feature id="org.eclipse.wst.server_ui.feature" installMode="root"/>
      <feature id="org.eclipse.wst.server_adapters.feature" installMode="root"/>
      <feature id="org.eclipse.tm.terminal.feature" installMode="root"/>
      <feature id="org.eclipse.rse" installMode="root"/>

result in very specific versions requirements in the product IU:

    <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.epp.package.common.feature.feature.group' range='[4.27.0.20230309-1200,4.27.0.20230309-1200]'/>
    <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.platform.feature.group' range='[4.27.0.v20230302-0300,4.27.0.v20230302-0300]'/>
    <required namespace='org.eclipse.equinox.p2.iu' name='toolingorg.eclipse.wildwebdeveloper.product.configuration' range='[1.1.1.202305232103,1.1.1.202305232103]'/>

so if the "latest" points at something else that doesn't have these exactly versions, the product's requirement won't be satisfied.

So either one has to be more careful using "moving target" repositories or one must be more careful with feature inclusion, even in the product. One might move some features out of a product to a separate feature that imports other features whose versions are likely to change over time...

@vrubezhny
Copy link
Contributor

@akurtakov Adding <filterProvided>true</filterProvided> option to the tycho-p2-repository-plugin plugin configuration doesn't change anything at the moment. The same plugin set is added to the repository and it still has jetty v.10.0.13 included.

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

This only filters based on the referenced repositories:

https://github.com/eclipse-tycho/tycho/blob/master/RELEASE_NOTES.md#new-parameter-for-tycho-p2-repository-pluginassemble-repository

I believe those are the ones added on the category.xml's Repository Properties page's Additional Repositories section.

@akurtakov
Copy link
Contributor

Yes, you should add https://download.eclipse.org/eclipse/updates/latest as additional repository .

@vrubezhny
Copy link
Contributor

vrubezhny commented Jun 6, 2023

Adding filterProvided option and https://download.eclipse.org/eclipse/updates/latest as additional repository makes jetty not to be added to the repository.

The full list of plugins not to be added to repository ("../old-repository" - a previous build (master), "./repository" - a build with added "filterProvided" option):

$ diff ../old-repository/target/repository/plugins/ ./repository/target/repository/plugins/
Only in ../old-repository/target/repository/plugins/: bcpg_1.72.2.jar
Only in ../old-repository/target/repository/plugins/: bcprov_1.72.0.jar
Only in ../old-repository/target/repository/plugins/: com.ibm.icu_72.1.0.jar
Only in ../old-repository/target/repository/plugins/: com.jcraft.jsch_0.1.55.v20221112-0806.jar
Only in ../old-repository/target/repository/plugins/: com.sun.el.javax.el_3.0.0.jar
Only in ../old-repository/target/repository/plugins/: jakarta.servlet-api_4.0.0.jar
Only in ../old-repository/target/repository/plugins/: javax.annotation_1.3.5.v20221203-1659.jar
Only in ../old-repository/target/repository/plugins/: javax.el-api_3.0.3.jar
Only in ../old-repository/target/repository/plugins/: javax.inject_1.0.0.v20220405-0441.jar
Only in ../old-repository/target/repository/plugins/: javax.servlet.jsp-api_2.3.3.jar
Only in ../old-repository/target/repository/plugins/: org.apache.ant_1.10.12.v20211102-1452.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.constants_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.css_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.i18n_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.util_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.command_1.1.2.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.runtime_1.1.6.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.shell_1.1.4.jar
Only in ../old-repository/target/repository/plugins/: org.apache.jasper.glassfish_2.2.2.v201501141630.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.analysis-common_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.analysis-smartcn_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.core_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.xmlgraphics_2.7.0.v20221018-0736.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ant.core_3.6.500.v20220718-1722.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare_3.8.500.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare.core_3.7.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare.win32_1.2.900.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.commands_3.10.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.contenttype_3.8.200.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding_1.12.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.beans_1.9.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.observable_1.12.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.property_1.9.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.expressions_3.8.200.v20220613-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.externaltools_1.2.300.v20220618-1805.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filebuffers_3.7.200.v20220202-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem_1.9.500.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.linux.aarch64_1.4.200.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.linux.x86_64_1.2.400.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.macosx_1.3.400.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.win32.x86_64_1.4.300.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.jobs_3.13.300.v20230111-0823.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net_1.4.0.v20220813-1037.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.linux_1.0.200.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.win32_1.0.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.win32.x86_64_1.1.700.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.resources_3.18.200.v20230209-0754.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.resources.win32.x86_64_3.5.500.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.runtime_3.26.100.v20221021-0005.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.variables_3.5.100.v20210721-1355.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.core_3.20.100.v20230124-1239.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.ui_3.17.200.v20230220-1318.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.ui.launchview_1.0.300.v20220811-0741.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.commands_1.0.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.contexts_1.11.0.v20220716-0839.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di_1.8.300.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.annotations_1.7.200.v20220613-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.extensions_0.17.200.v20220613-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.extensions.supplier_0.16.400.v20220613-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.services_2.3.400.v20220915-1347.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.emf.xpath_0.3.200.v20230220-1427.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.bindings_0.13.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.core_0.13.500.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.swt_0.14.800.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.swt.theme_0.13.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.di_1.4.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.dialogs_1.3.500.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.ide_3.16.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.model.workbench_2.3.0.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.progress_0.3.700.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.services_1.5.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.swt.gtk_1.1.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.swt.win32_1.1.200.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.widgets_1.3.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench_1.14.100.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench3_0.16.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.addons.swt_1.4.600.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.renderers.swt_0.15.800.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.renderers.swt.cocoa_0.13.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.swt_0.16.800.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.app_1.6.200.v20220720-2012.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.bidi_1.4.200.v20220710-1223.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.common_3.17.100.v20230202-1341.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.concurrent_1.2.100.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.console_1.4.500.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.event_1.6.200.v20230120-0604.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.frameworkadmin_2.2.100.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.frameworkadmin.equinox_1.2.200.v20220315-2155.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.jetty_3.8.200.v20221109-0702.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.registry_1.3.200.v20220720-2012.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.servlet_1.7.400.v20221006-1531.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.jsp.jasper_1.1.700.v20220801-1124.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.jsp.jasper.registry_1.2.100.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.cocoa.macosx.aarch64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.gtk.linux.aarch64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.artifact.repository_1.4.800.v20221205-1614.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.console_1.2.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.core_2.9.200.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.director_2.5.400.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.director.app_1.2.300.v20220911-2007.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.directorywatcher_1.3.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.engine_2.7.500.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.extensionlocation_1.4.100.v20220213-0541.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.garbagecollector_1.2.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.jarprocessor_1.2.400.v20221201-0952.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.metadata_2.6.300.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.metadata.repository_1.4.100.v20220329-1456.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.operations_2.6.100.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.publisher_1.7.300.v20221203-1819.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.publisher.eclipse_1.4.300.v20221214-0640.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.reconciler.dropins_1.4.200.v20220911-2007.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.repository_2.6.300.v20221030-1923.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.repository.tools_2.3.300.v20221203-1932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.touchpoint.eclipse_2.3.300.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.touchpoint.natives_1.4.400.v20220506-1821.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.transport.ecf_1.3.300.v20220512-1321.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui_2.7.800.v20230113-1239.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.importexport_1.3.300.v20220329-1456.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.sdk_1.2.100.v20220814-1551.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.sdk.scheduler_1.5.400.v20220805-0804.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.updatechecker_1.3.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.updatesite_1.2.300.v20220420-1427.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.preferences_3.10.200.v20230120-0604.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.registry_3.11.200.v20220817-1601.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security_1.3.1000.v20220801-1135.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.linux_1.0.300.v20220904-1118.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.macosx_1.101.400.v20210427-1958.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.ui_1.3.400.v20221007-1815.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.win32.x86_64_1.1.300.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.simpleconfigurator_1.4.200.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.simpleconfigurator.manipulator_2.2.100.v20221117-1044.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help_3.9.100.v20210721-0601.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.base_4.3.1000.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.ui_4.4.100.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.webapp_3.10.1000.v20221221-1358.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.http_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.io_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.security_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.server_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.servlet_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.util_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.util.ajax_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface_3.29.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.databinding_1.14.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.notifications_0.5.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.text_3.23.0.v20230123-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jsch.core_1.4.0.v20220813-1037.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jsch.ui_1.4.200.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ltk.core.refactoring_3.13.100.v20230117-1625.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ltk.ui.refactoring_3.12.200.v20220808-2221.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi_3.18.300.v20230220-1352.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.compatibility.state_1.2.800.v20221116-1440.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.services_3.11.100.v20221006-1531.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.util_3.7.200.v20230103-1101.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.platform_4.27.0.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.platform.doc.user_4.27.0.v20230301-1632.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.rcp_4.27.0.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.search_3.14.400.v20230209-0804.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.cocoa.macosx.aarch64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.cocoa.macosx.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.gtk.linux.aarch64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.gtk.linux.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.win32.win32.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.core_3.9.700.v20221201-0946.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.genericeditor.diff.extension_1.1.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.ui_3.9.600.v20230207-1607.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.text_3.12.300.v20220921-1010.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.text.quicksearch_1.1.500.v20230129-1959.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui_3.202.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.browser_3.7.400.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.cheatsheets_3.7.500.v20220903-1020.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.cocoa_1.3.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.console_3.11.400.v20221012-0524.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.editors_3.15.0.v20221201-1935.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.externaltools_3.5.300.v20230126-0801.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.forms_3.11.600.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.genericeditor_1.2.400.v20221207-1659.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.ide_3.20.100.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.ide.application_1.4.700.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro_3.6.600.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro.quicklinks_1.1.200.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro.universal_3.4.300.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.monitoring_1.2.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.navigator_3.11.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.navigator.resources_3.8.600.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.net_1.4.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.themes_1.2.2200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views_3.11.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views.log_1.3.500.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views.properties.tabbed_3.9.400.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.win32_3.4.600.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.workbench_3.128.0.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.workbench.texteditor_3.16.700.v20230210-0941.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.update.configurator_3.4.1000.v20221114-1512.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.urischeme_1.2.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.cm_1.6.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.component_1.5.1.202212101352.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.device_1.1.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.event_1.4.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.metatype_1.4.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.prefs_1.1.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.provisioning_1.2.0.201505202024.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.upnp_1.2.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.useradmin_1.1.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.wireadmin_1.0.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.function_1.2.0.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.measurement_1.0.2.201802012109.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.position_1.0.1.201505202026.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.promise_1.3.0.202212101352.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.xml_1.0.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.tukaani.xz_1.9.0.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.css.sac_1.3.1.v200903091627.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.smil_1.0.1.v200903091627.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.svg_1.1.0.v201011041433.jar

@akurtakov
Copy link
Contributor

I think this is pretty satisfying result, esp if the produced tarballs are working just fine too. @mickaelistria wdyt?

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

Keep in mind my comments about the moving target repositories. As soon as there is a release, the product's IU will have requirements that are not satisfied by the references repositories. One might avoid that by using installMode="root" on all features, though I don't know if that has any negative impact. It does allow any feature to be updated without the product IU itself being updated, though I think it also allows to uninstall things that would leave the product without an executable...

@mickaelistria
Copy link
Contributor

Yes, it's good to avoid duplicated artifacts if we can reference the upstream platform repo. Note that adding jetty and many others to the repo never was the final intention, this was a side-effect of building a product in the repo. If this filterProvided still contains "exclusive" content and we can reference upstream Eclpse repo and everything installs well, then it's the best of both worlds. Definitely worth trying!

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

Did you add https://download.eclipse.org/justj/jres/latest in the referenced repos? If so, I expect those will be removed too. Even better, then the user will be able to more easily update to newer Java 17 releases as they become available with potential security updates in those new versions...

@vrubezhny
Copy link
Contributor

vrubezhny commented Jun 6, 2023

@merks After adding https://download.eclipse.org/justj/jres/latest repo to the referenced repo the following plugins were excluded:

$ diff ../old-repository/target/repository/plugins/ ./repository/target/repository/plugins/
Only in ../old-repository/target/repository/plugins/: bcpg_1.72.2.jar
Only in ../old-repository/target/repository/plugins/: bcprov_1.72.0.jar
Only in ../old-repository/target/repository/plugins/: com.ibm.icu_72.1.0.jar
Only in ../old-repository/target/repository/plugins/: com.jcraft.jsch_0.1.55.v20221112-0806.jar
Only in ../old-repository/target/repository/plugins/: com.sun.el.javax.el_3.0.0.jar
Only in ../old-repository/target/repository/plugins/: jakarta.servlet-api_4.0.0.jar
Only in ../old-repository/target/repository/plugins/: javax.annotation_1.3.5.v20221203-1659.jar
Only in ../old-repository/target/repository/plugins/: javax.el-api_3.0.3.jar
Only in ../old-repository/target/repository/plugins/: javax.inject_1.0.0.v20220405-0441.jar
Only in ../old-repository/target/repository/plugins/: javax.servlet.jsp-api_2.3.3.jar
Only in ../old-repository/target/repository/plugins/: org.apache.ant_1.10.12.v20211102-1452.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.constants_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.css_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.i18n_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.batik.util_1.16.0.v20221027-0840.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.command_1.1.2.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.runtime_1.1.6.jar
Only in ../old-repository/target/repository/plugins/: org.apache.felix.gogo.shell_1.1.4.jar
Only in ../old-repository/target/repository/plugins/: org.apache.jasper.glassfish_2.2.2.v201501141630.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.analysis-common_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.analysis-smartcn_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.lucene.core_9.4.2.v20221211-0752.jar
Only in ../old-repository/target/repository/plugins/: org.apache.xmlgraphics_2.7.0.v20221018-0736.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ant.core_3.6.500.v20220718-1722.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare_3.8.500.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare.core_3.7.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.compare.win32_1.2.900.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.commands_3.10.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.contenttype_3.8.200.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding_1.12.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.beans_1.9.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.observable_1.12.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.databinding.property_1.9.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.expressions_3.8.200.v20220613-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.externaltools_1.2.300.v20220618-1805.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filebuffers_3.7.200.v20220202-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem_1.9.500.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.linux.aarch64_1.4.200.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.linux.x86_64_1.2.400.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.macosx_1.3.400.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.filesystem.win32.x86_64_1.4.300.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.jobs_3.13.300.v20230111-0823.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net_1.4.0.v20220813-1037.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.linux_1.0.200.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.win32_1.0.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.net.win32.x86_64_1.1.700.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.resources_3.18.200.v20230209-0754.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.resources.win32.x86_64_3.5.500.v20220812-1420.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.runtime_3.26.100.v20221021-0005.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.core.variables_3.5.100.v20210721-1355.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.core_3.20.100.v20230124-1239.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.ui_3.17.200.v20230220-1318.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.debug.ui.launchview_1.0.300.v20220811-0741.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.commands_1.0.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.contexts_1.11.0.v20220716-0839.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di_1.8.300.v20220817-1539.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.annotations_1.7.200.v20220613-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.extensions_0.17.200.v20220613-1008.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.di.extensions.supplier_0.16.400.v20220613-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.core.services_2.3.400.v20220915-1347.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.emf.xpath_0.3.200.v20230220-1427.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.bindings_0.13.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.core_0.13.500.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.swt_0.14.800.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.css.swt.theme_0.13.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.di_1.4.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.dialogs_1.3.500.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.ide_3.16.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.model.workbench_2.3.0.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.progress_0.3.700.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.services_1.5.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.swt.gtk_1.1.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.swt.win32_1.1.200.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.widgets_1.3.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench_1.14.100.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench3_0.16.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.addons.swt_1.4.600.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.renderers.swt_0.15.800.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.renderers.swt.cocoa_0.13.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.e4.ui.workbench.swt_0.16.800.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.app_1.6.200.v20220720-2012.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.bidi_1.4.200.v20220710-1223.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.common_3.17.100.v20230202-1341.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.concurrent_1.2.100.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.console_1.4.500.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.event_1.6.200.v20230120-0604.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.frameworkadmin_2.2.100.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.frameworkadmin.equinox_1.2.200.v20220315-2155.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.jetty_3.8.200.v20221109-0702.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.registry_1.3.200.v20220720-2012.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.http.servlet_1.7.400.v20221006-1531.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.jsp.jasper_1.1.700.v20220801-1124.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.jsp.jasper.registry_1.2.100.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.cocoa.macosx.aarch64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.gtk.linux.aarch64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.artifact.repository_1.4.800.v20221205-1614.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.console_1.2.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.core_2.9.200.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.director_2.5.400.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.director.app_1.2.300.v20220911-2007.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.directorywatcher_1.3.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.engine_2.7.500.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.extensionlocation_1.4.100.v20220213-0541.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.garbagecollector_1.2.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.jarprocessor_1.2.400.v20221201-0952.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.metadata_2.6.300.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.metadata.repository_1.4.100.v20220329-1456.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.operations_2.6.100.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.publisher_1.7.300.v20221203-1819.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.publisher.eclipse_1.4.300.v20221214-0640.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.reconciler.dropins_1.4.200.v20220911-2007.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.repository_2.6.300.v20221030-1923.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.repository.tools_2.3.300.v20221203-1932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.touchpoint.eclipse_2.3.300.v20220817-1208.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.touchpoint.natives_1.4.400.v20220506-1821.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.transport.ecf_1.3.300.v20220512-1321.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui_2.7.800.v20230113-1239.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.importexport_1.3.300.v20220329-1456.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.sdk_1.2.100.v20220814-1551.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.ui.sdk.scheduler_1.5.400.v20220805-0804.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.updatechecker_1.3.100.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.p2.updatesite_1.2.300.v20220420-1427.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.preferences_3.10.200.v20230120-0604.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.registry_3.11.200.v20220817-1601.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security_1.3.1000.v20220801-1135.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.linux_1.0.300.v20220904-1118.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.macosx_1.101.400.v20210427-1958.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.ui_1.3.400.v20221007-1815.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.security.win32.x86_64_1.1.300.v20211021-1418.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.simpleconfigurator_1.4.200.v20221111-1340.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.equinox.simpleconfigurator.manipulator_2.2.100.v20221117-1044.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help_3.9.100.v20210721-0601.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.base_4.3.1000.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.ui_4.4.100.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.help.webapp_3.10.1000.v20221221-1358.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.http_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.io_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.security_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.server_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.servlet_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.util_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jetty.util.ajax_10.0.13.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface_3.29.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.databinding_1.14.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.notifications_0.5.200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jface.text_3.23.0.v20230123-1047.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jsch.core_1.4.0.v20220813-1037.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.jsch.ui_1.4.200.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full.linux.aarch64_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full.macosx.aarch64_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full.macosx.x86_64_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_20.0.1.v20230425-1611.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ltk.core.refactoring_3.13.100.v20230117-1625.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ltk.ui.refactoring_3.12.200.v20220808-2221.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi_3.18.300.v20230220-1352.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.compatibility.state_1.2.800.v20221116-1440.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.services_3.11.100.v20221006-1531.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.osgi.util_3.7.200.v20230103-1101.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.platform_4.27.0.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.platform.doc.user_4.27.0.v20230301-1632.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.rcp_4.27.0.v20230302-0300.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.search_3.14.400.v20230209-0804.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.cocoa.macosx.aarch64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.cocoa.macosx.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.gtk.linux.aarch64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.gtk.linux.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.swt.win32.win32.x86_64_3.123.0.v20230220-1431.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.core_3.9.700.v20221201-0946.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.genericeditor.diff.extension_1.1.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.team.ui_3.9.600.v20230207-1607.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.text_3.12.300.v20220921-1010.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.text.quicksearch_1.1.500.v20230129-1959.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui_3.202.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.browser_3.7.400.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.cheatsheets_3.7.500.v20220903-1020.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.cocoa_1.3.100.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.console_3.11.400.v20221012-0524.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.editors_3.15.0.v20221201-1935.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.externaltools_3.5.300.v20230126-0801.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.forms_3.11.600.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.genericeditor_1.2.400.v20221207-1659.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.ide_3.20.100.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.ide.application_1.4.700.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro_3.6.600.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro.quicklinks_1.1.200.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.intro.universal_3.4.300.v20220619-1918.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.monitoring_1.2.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.navigator_3.11.0.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.navigator.resources_3.8.600.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.net_1.4.100.v20220812-1406.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.themes_1.2.2200.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views_3.11.400.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views.log_1.3.500.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.views.properties.tabbed_3.9.400.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.win32_3.4.600.v20230214-1401.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.workbench_3.128.0.v20230220-1021.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.ui.workbench.texteditor_3.16.700.v20230210-0941.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.update.configurator_3.4.1000.v20221114-1512.jar
Only in ../old-repository/target/repository/plugins/: org.eclipse.urischeme_1.2.300.v20230220-0932.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.cm_1.6.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.component_1.5.1.202212101352.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.device_1.1.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.event_1.4.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.metatype_1.4.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.prefs_1.1.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.provisioning_1.2.0.201505202024.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.upnp_1.2.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.useradmin_1.1.1.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.service.wireadmin_1.0.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.function_1.2.0.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.measurement_1.0.2.201802012109.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.position_1.0.1.201505202026.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.promise_1.3.0.202212101352.jar
Only in ../old-repository/target/repository/plugins/: org.osgi.util.xml_1.0.2.202109301733.jar
Only in ../old-repository/target/repository/plugins/: org.tukaani.xz_1.9.0.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.css.sac_1.3.1.v200903091627.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.events_3.0.0.draft20060413_v201105210656.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.smil_1.0.1.v200903091627.jar
Only in ../old-repository/target/repository/plugins/: org.w3c.dom.svg_1.1.0.v201011041433.jar

@vrubezhny
Copy link
Contributor

The resulting zipped repository size is reduced from 986.4 MB to 268.6 MB.

The generated product archives are not changed in their size not contents.

@vrubezhny
Copy link
Contributor

@merks This change should probably fix #938, shouldn't it?

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

@vrubezhny

I think this is ready good! And yes, that addresses #938 too, all while making this even more awesome for the user. Thanks @laeubi for this great new feature!!

@vrubezhny
Copy link
Contributor

BTW, the resulting product archives stay unchanged and still include jetty "old" 10.0.13 plugins. Hopefully, after the PR #1238 is released,,WWD will not be the reason anymore and problem should go away after the release of June 14th.

@merks
Copy link
Contributor Author

merks commented Jun 6, 2023

@vrubezhny

You're awesome. 🚀

@laeubi
Copy link

laeubi commented Jun 6, 2023

One potential concern with that approach (though I'm just hypothesizing) is that some of these feature includes in the product

I just wanted to note for completeness:

The option only affects how update-sites (p2 repositories) are packed, a product will always contain everything required regardless of the settings, so whatever happens after that should be the part of P2 Updater that will ask the user to install the latest version anyways, so I think even if the product declares a specific (older) version and the site uses a reference to a repository that contains a later version it will still pick up the later one (even though I have not tested it).

@vrubezhny
Copy link
Contributor

vrubezhny commented Jun 6, 2023

@vrubezhny

You're awesome. rocket

@merks With your precise advice and guidance - that's easy 👍

@vrubezhny
Copy link
Contributor

@laeubi Great feature, thanks!

eclipse-tycho/tycho#2472

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants