eclipse-egit / egit

EGit, the git integration of Eclipse IDE
https://www.eclipse.org/egit/
Eclipse Public License 2.0
18 stars 7 forks source link

egit fails after MWE2 2.20 upgrade #62

Open Bananeweizen opened 2 hours ago

Bananeweizen commented 2 hours ago

Version

7.0

Operating System

Windows

Eclipse version

No response

Bug description

have both egit and MWE2 from the 2024-09 release in the same IDE upgrade MWE2 to 2.20 (released November 16).

Actual behavior

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.egit.ui [991]
  Unresolved requirement: Import-Package: org.eclipse.egit.core.internal.gerrit; version="[7.0.0,7.1.0)"
    -> Export-Package: org.eclipse.egit.core.internal.gerrit; bundle-symbolic-name="org.eclipse.egit.core"; bundle-version="7.0.0.202409031743-r"; version="7.0.0"; x-friends:="org.eclipse.egit.ui"
       org.eclipse.egit.core [987]
         Unresolved requirement: Import-Package: org.eclipse.jgit.lfs; version="[7.0.0,7.1.0)"; resolution:="optional"
         Unresolved requirement: Import-Package: org.eclipse.jgit.transport.http.apache; version="[7.0.0,7.1.0)"
           -> Export-Package: org.eclipse.jgit.transport.http.apache; bundle-symbolic-name="org.eclipse.jgit.http.apache"; bundle-version="7.0.0.202409031743-r"; version="7.0.0"; uses:="org.apache.http.client,  org.eclipse.jgit.transport.http,  org.apache.http.entity,  org.apache.http.client.methods,  javax.net.ssl,  org.eclipse.jgit.util,  org.apache.http"
              org.eclipse.jgit.http.apache [1078]
                Unresolved requirement: Import-Package: org.apache.http.client; version="[4.4.0,5.0.0)"
                  -> Export-Package: org.apache.http.client; bundle-symbolic-name="org.apache.httpcomponents.httpclient"; bundle-version="4.5.14"; version="4.5.14"; uses:="org.apache.http,org.apache.http.auth,org.apache.http.client.methods,org.apache.http.conn,org.apache.http.conn.routing,org.apache.http.cookie,org.apache.http.params,org.apache.http.protocol"
                     org.apache.httpcomponents.httpclient [125]
                       Unresolved requirement: Import-Package: org.apache.commons.logging; version="[1.1.0,1.3.0)"
                Unresolved requirement: Import-Package: org.apache.http.client.config; version="[4.4.0,5.0.0)"
                  -> Export-Package: org.apache.http.client.config; bundle-symbolic-name="org.apache.httpcomponents.httpclient"; bundle-version="4.5.14"; version="4.5.14"; uses:="org.apache.http"

I've raised another bug over at the MWE2 issue tracker before this one: https://github.com/eclipse/mwe/issues/314. However, I don't fully get the linked responses. Are all projects required to upgrade some of the logging dependencies?

Expected behavior

-

Relevant log output

No response

Other information

No response

cdietrich commented 2 hours ago

to my knowledge installing the bundle twice should work. also mwe should work with the old one.