Opened 10 years ago
Closed 10 years ago
#45035 closed enhancement (fixed)
Refactor the Maven ports
Reported by: | easye | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | maven maven3 maven_select maven-devel |
Description (last modified by easye)
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.
Change History (3)
comment:1 Changed 10 years ago by easye
Description: | modified (diff) |
---|
comment:2 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from easieste to easieste@… |
---|---|
Type: | defect → enhancement |
Version: | 2.3.1 |
comment:3 Changed 10 years ago by easye
Resolution: | → fixed |
---|---|
Status: | new → closed |
I implemented a stripped down version of this proposal in r126850:
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.