[MacPorts] #45035: Refactor the Maven ports

MacPorts noreply at macports.org
Thu Sep 18 04:36:21 PDT 2014


#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


More information about the macports-tickets mailing list