[MacPorts] #45035: Refactor the Maven ports
#45035: Refactor the Maven ports -------------------------+------------------------------------------------- Reporter: easieste@… | Owner: easieste Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: maven maven3 maven_select maven- | devel -------------------------+------------------------------------------------- A proposal for rationalizing Maven: The port 'maven' installs the stable, latest version of maven (instead of the current, really obsolete choice of maven-1.0.2. /opt/local/bin/mvn is maintained as a common symbolic link to the invocation of the result of installing 'maven'. maven3 is renamed maven30 which installs maven-3.0.5. We move 'maven-devel' to 'maven31', installing the latest maven-3.1.x. We create a 'maven32' port for the latest version of maven, currently '3.2.3'. We remove 'maven-devel'. 'maven3' becomes a synonym for 'maven32' the current, stable maven-3.x.y. The port 'maven_select' controls which port 'maven' "slaves" to, providing the necessary infrastructure for 'port --select ...' machinery to work. --- I'll start preparing a patch towards these goals locally for review by the responsible maintainers. Critiques from a MacPorts architecture, naming convention matters solicited. -- Ticket URL: <https://trac.macports.org/ticket/45035> MacPorts <http://www.macports.org/> Ports system for OS X
#45035: Refactor the Maven ports -------------------------------------------------+------------------------- Reporter: easieste@… | Owner: easieste Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: maven maven3 maven_select maven- | devel | -------------------------------------------------+------------------------- Description changed by easieste@…: Old description:
A proposal for rationalizing Maven:
The port 'maven' installs the stable, latest version of maven (instead of the current, really obsolete choice of maven-1.0.2.
/opt/local/bin/mvn is maintained as a common symbolic link to the invocation of the result of installing 'maven'.
maven3 is renamed maven30 which installs maven-3.0.5.
We move 'maven-devel' to 'maven31', installing the latest maven-3.1.x.
We create a 'maven32' port for the latest version of maven, currently '3.2.3'.
We remove 'maven-devel'.
'maven3' becomes a synonym for 'maven32' the current, stable maven-3.x.y.
The port 'maven_select' controls which port 'maven' "slaves" to, providing the necessary infrastructure for 'port --select ...' machinery to work.
---
I'll start preparing a patch towards these goals locally for review by the responsible maintainers.
Critiques from a MacPorts architecture, naming convention matters solicited.
New description: A proposal for rationalizing Maven: The port 'maven' installs the stable, latest version of maven (instead of the current, really obsolete choice of maven-1.0.2. /opt/local/bin/mvn is maintained as a common symbolic link to the invocation of the result of installing 'maven'. maven3 is renamed maven30 which installs maven-3.0.5. We move 'maven-devel' to 'maven31', installing the latest maven-3.1.x. We create a 'maven32' port for the latest version of maven, currently '3.2.3'. We remove 'maven-devel'. 'maven3' becomes a synonym for 'maven32' the current, stable maven-3.x.y. The port 'maven_select' controls which port 'maven' "slaves" to, providing the necessary infrastructure for 'port select --OPTION...' machinery to work. --- I'll start preparing a patch towards these goals locally for review by the responsible maintainers. Critiques from a MacPorts architecture, naming convention matters solicited. -- -- Ticket URL: <https://trac.macports.org/ticket/45035#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45035: Refactor the Maven ports -------------------------------------------------+------------------------- Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: maven maven3 maven_select maven- | devel | -------------------------------------------------+------------------------- Changes (by mf2k@…): * owner: easieste => easieste@… * version: 2.3.1 => * type: defect => enhancement -- Ticket URL: <https://trac.macports.org/ticket/45035#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45035: Refactor the Maven ports -------------------------------------------------+------------------------- Reporter: easieste@… | Owner: easieste@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: maven maven3 maven_select maven- | devel | -------------------------------------------------+------------------------- Changes (by easieste@…): * status: new => closed * resolution: => fixed Comment: I implemented a stripped down version of this proposal in r126850: 1. java/maven-devel has been marked as obsolete, replaced by java/maven3. 2. java/maven31 now installs maven-3.1.1. It plays nicely with the select mechanism and maven3 3. java/maven3 should continue to track the stable, latest version of maven-3.x, currently maven-3.2.3 I do not intend to work further on this enhancement unless there is a request from someone else, as it satisfies my need to sometimes downgrade to maven-3.1.1 for some tools (not in MacPorts) which still fail with maven-3.2. -- Ticket URL: <https://trac.macports.org/ticket/45035#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts