#58190 closed enhancement (fixed)

maven3 @3.6.0: change dependency from Kaffe to OpenJDK

Reported by: FranklinYu (Franklin Yu) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: maven3

Description

Currently Maven 3 depends on bin:java:kaffe. Kaffe is no longer maintained, so it makes sense to switch to bin:java:openjdk11.

Change History (9)

comment:1 Changed 20 months ago by FranklinYu (Franklin Yu)

Actually, this issue affects not only maven3. I tried with following command to count the total number:

grep -r bin:java:kaffe . | wc

I got 112 ports. Do we change all of them?

comment:2 Changed 16 months ago by mf2k (Frank Schima)

Owner: blair deleted

comment:3 Changed 16 months ago by mouse07410 (Mouse)

May I ask what is the issue here? What doesn't seem to work with the current setup/config?

I suggest we leave this alone, at least for now. Some of us are using Oracle JDK, and the current Maven3 port works just fine with it. I for one don't want to crowd my Macports installation with large useless ports that could interfere with other software installed on the machine.

Those who prefer openjdk8 or openjdk11 can easily install 'em themselves.

comment:4 Changed 16 months ago by mf2k (Frank Schima)

I believe that switching to the java 1.0 portgroup is the way to go here. If the user has Oracle Java installed, then that will satisfy the dependency. As a fallback, it will require an openjdk port of the minimum specified version.

comment:5 in reply to:  4 ; Changed 16 months ago by FranklinYu (Franklin Yu)

Replying to mf2k:

I believe that switching to the java 1.0 portgroup is the way to go here. If the user has Oracle Java installed, then that will satisfy the dependency. As a fallback, it will require an openjdk port of the minimum specified version.

Do you mean PortGroup java 1.0 as mentioned here? If we omit java.fallback then what’s the default value?

comment:6 Changed 16 months ago by mf2k (Frank Schima)

Yes exactly! I guess the (greatly appreciated) documentation needs to be updated. I don't know and I'm none the wiser after looking at the portgroup code.

comment:7 in reply to:  5 Changed 14 months ago by chrstphrchvz (Christopher Chavez)

This ticket can be closed; I neglected to do so via the commit message of [69d55c8883/macports-ports].

Replying to FranklinYu:

If we omit java.fallback then what’s the default value?

Nothing; if an appropriate Java isn't found and no fallback is specified, the port will fail to install.

comment:8 Changed 14 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:9 Changed 14 months ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.