snapcrafters / eclipse

A community-maintained package to easily install Eclipse on Linux
MIT License
8 stars 11 forks source link

[Bug]: update of m2e plugin #71

Open jozwikkatarzyna opened 2 weeks ago

jozwikkatarzyna commented 2 weeks ago

What happened?

Update of the m2e plugin via 'Help->Check for Updates' properly installs the plugin under $SNAP_USER_DATA. However, after the update, I have two versions of the plugin:

Zrzut ekranu z 2024-06-19 04-14-35

In my Java project, Eclipse seems to pick up the older version of the plugin (provided with snap), causing build errors.

What should have happened?

Use the newer, updated version of the plugin.

Output of snap info $snap_name

name:      eclipse
summary:   Extensible Tool Platform and Java IDE
publisher: Snapcrafters✪
store-url: https://snapcraft.io/eclipse
contact:   https://github.com/snapcrafters/eclipse/issues
license:   unset
description: |
  Eclipse provides IDEs and platforms for nearly every language and architecture. We are famous for
  our Java IDE, C/C++, JavaScript and PHP IDEs built on extensible platforms for creating desktop,
  Web and cloud IDEs. These platforms deliver the most extensive collection of add-on tools
  available for software developers.

  You may need to install a compatible JRE on the host

     sudo apt install default-jre

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - eclipse
snap-id:      QzFGHW76hR3cZjpcuHt4sAjj5KZbd05T
tracking:     latest/stable
refresh-date: 2024-04-18
channels:
  latest/stable:    2024-03 2024-03-28 (87) 349MB classic
  latest/candidate: 2024-03 2024-06-03 (91) 349MB classic
  latest/beta:      ↑                             
  latest/edge:      2024-03 2024-06-04 (93) 349MB classic
installed:          2024-03            (87) 349MB classic

Output of snap connections $snap_name

None

Output of snap version

snap    2.63+22.04
snapd   2.63+22.04
series  16
ubuntu  22.04
kernel  6.5.0-35-generic

Relevant log output

No response

Teminal output of app

No response

jozwikkatarzyna commented 2 weeks ago

I confirm the same buggy behavior with the candidate release:

name:      eclipse
summary:   Extensible Tool Platform and Java IDE
publisher: Snapcrafters✪
store-url: https://snapcraft.io/eclipse
contact:   https://github.com/snapcrafters/eclipse/issues
license:   unset
description: |
  Eclipse provides IDEs and platforms for nearly every language and architecture. We are famous for
  our Java IDE, C/C++, JavaScript and PHP IDEs built on extensible platforms for creating desktop,
  Web and cloud IDEs. These platforms deliver the most extensive collection of add-on tools
  available for software developers.

  You may need to install a compatible JRE on the host

     sudo apt install default-jre

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - eclipse
snap-id:      QzFGHW76hR3cZjpcuHt4sAjj5KZbd05T
tracking:     latest/candidate
refresh-date: today at 04:26 CEST
channels:
  latest/stable:    2024-03 2024-03-28 (87) 349MB classic
  latest/candidate: 2024-03 2024-06-03 (91) 349MB classic
  latest/beta:      ↑                             
  latest/edge:      2024-03 2024-06-04 (93) 349MB classic
installed:          2024-03            (91) 349MB classic