Opened 10 years ago

Last modified 10 years ago

#45035 closed enhancement

Refactor the Maven ports — at Initial Version

Reported by: easye Owned by: easieste
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: maven maven3 maven_select maven-devel

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.

Change History (0)

Note: See TracTickets for help on using tickets.