eclipse-m2e/m2e-core

zip dependency not shown in Package Explorer

Opened this issue · 1 comments

Looks like zip dependencies are not displayed in Package Explorer - Maven Dependencies

So one cannot set method breakpoints.

Ran into this with

<dependency>
  <groupId>com.ibm.db2</groupId>
  <artifactId>sqlj4</artifactId>
  <version>4.33.31</version>
  <type>zip</type>
</dependency>

Eclipse IDE for Enterprise Java and Web Developers
Version: 2024-09 (4.33.0)
Build id: 20240905-0614

gerib commented

@weberjn

zip seems not to have a Default Artifact Handler. But POM Reference > Dependencies > type reads:

New types can be defined by plugins that set extensions to true, so this is not a complete list.

What if you rename the file to *.jar? It's in the classpath either way so names shouldn't matter.