#1757 closed defect (wontfix)
New: apache-maven-1.0RC2
Reported by: | sean@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
apache-maven-1.0RC2
the portfile can be found here: http://www.msgilligan.com/downloads/Portfile and INLINE
Description: Maven is a Java project management and project comprehension tool.
Homepage: http://maven.apache.org/
Comments: The Portfile does not build from source but creates an installation from the binary tarball made available by Apache. There are a few reasons for this:
1) Maven is built by maven and the build process is complicated (and may be processor intensive)
a) There is no source tarball available for download b) I'm not sure how the prerequisie of junit.jar being installed in $ANT_HOME/lib can
be handled by the existing apache-ant and junit ports.
2) It is not necessary since the .jar files will run on any system that has Java (Kaffe??)
Other questions: a) Should the port be called apache-maven or just maven? b) Should it be in the devel or java directory?
================INLINE CONTENT================
# $Id: $
PortSystem 1.0
name apache-maven version 1.0RC2 categories java devel platforms darwin maintainers sean@… description Java project management and project comprehension tool long_description Maven is a Java project management and project \
comprehension tool. Maven is based on the concept of a \ project object model (POM) in that all the artifacts produced \ by Maven are a result of consulting a well defined model for \ your project. Builds, documentation, source metrics, and source \ cross-references are all controlled by your POM.
# # This one is a little bit of a "cheat" because we are downloading the # binary, but since it is Java .jar files it should work fine. # Since this is my first Portfile, I don't want to try to do the # Maven bootstrap build (yet) # distname maven-1.0-rc2 homepage http://maven.apache.org/ master_sites http://www.apache.org/dist/maven/binaries/ checksums md5 2104228d1762413e35b80387f41db727
# will maven work with kaffe or does it need Apple Java? depends_build bin:javac:kaffe
use_configure no
build.cmd true
destroot {
xinstall -m 755 -d ${destroot}${prefix}/java/${name} xinstall -m 644 ${worksrcpath}/maven-navigation-1.0.xsd \
${destroot}${prefix}/java/${name}
xinstall -m 644 ${worksrcpath}/maven-project.xsd \
${destroot}${prefix}/java/${name}
file copy ${worksrcpath}/bin ${destroot}${prefix}/java/${name} file copy ${worksrcpath}/lib ${destroot}${prefix}/java/${name} file copy ${worksrcpath}/plugins ${destroot}${prefix}/java/${name} system "chmod 755 ${destroot}${prefix}/java/${name}/bin/maven" system "ln -fs ${prefix}/java/${name}/bin/maven ${destroot}${prefix}/bin/maven"
}
Change History (2)
comment:1 Changed 21 years ago by mww@…
comment:2 Changed 20 years ago by blb@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing as jberry@ has recently committed his own version of the port (java/maven).
There is a rather evil bootstrap instruction here http://maven.apache.org/start/bootstrap.html
Coolest would be to achieve this level of 'buildiness'; (the FreeBSD ports cheat and just copy the .jar files)
if you need changes in the junit port (perhaps a symlink to $ANT_PATH?), tell us.
I'd prefered java/apache-maven, but devel and/or 'maven' would be ok for me, too. (FreeBSD devel/ maven)
using the apache mirrors would be good; something like: master_site apache:dist/maven