Skip site navigation (1)Skip section navigation (2)
Date:      21 Oct 2003 16:58:27 -0000
From:      Rui Lopes <rui@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58339: New port: devel/maven for http://maven.apache.org/
Message-ID:  <20031021165827.85418.qmail@ns.webtt.biz>
Resent-Message-ID: <200310211700.h9LH0R0r017070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         58339
>Category:       ports
>Synopsis:       New port: devel/maven for http://maven.apache.org/
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 21 10:00:27 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD cheetah 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #3: Sat Oct 11 19:39:45 WEST 2003 root@cheetah:/usr/obj/usr/src/sys/DEBUGGER i386


	
>Description:
Port for http://maven.apache.org/.
	
>How-To-Repeat:
	
>Fix:

	

--- maven.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	maven
#	maven/Makefile
#	maven/distinfo
#	maven/pkg-descr
#	maven/pkg-plist
#	maven/pkg-message
#
echo c - maven
mkdir -p maven > /dev/null 2>&1
echo x - maven/Makefile
sed 's/^X//' >maven/Makefile << 'END-of-maven/Makefile'
X# New ports collection makefile for:	maven
X# Date created:				17 October 2003
X# Whom:					Rui Lopes <rui@ruilopes.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	maven
XPORTVERSION=	1.0.r1
XCATEGORIES=	devel java
XMASTER_SITES=	http://nagoya.apache.org/mirror/%SUBDIR%/binaries/
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	${PORTNAME}-1.0-rc1
X
XMAINTAINER=	rui@ruilopes.com
XCOMMENT=	Java project management and project comprehension tool
X
XUSE_JAVA=	1.3+
XNO_BUILD=	YES
XDIR=		share/java/maven
XPLIST_SUB=	DIR=${DIR}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${DIR}
X	@(cd ${WRKSRC}; tar cf - --exclude repository --exclude '*.bat' *) | (cd ${PREFIX}/share/java/maven; tar xvf -)
X	${LN} -fs ${PREFIX}/${DIR}/bin/maven ${PREFIX}/bin
X	${CHMOD} +x ${PREFIX}/${DIR}/bin/install_repo.sh
X	@${CAT} ${PKGDIR}/pkg-message
X
Xx-generate-plist:
X	(/usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist ${PREFIX}|sed -E 's,^share/nls/.+$$,,g;s,${DIR},%%DIR%%,g'|tr -s '\n') > temp-pkg-plist
X
X.include <bsd.port.mk>
END-of-maven/Makefile
echo x - maven/distinfo
sed 's/^X//' >maven/distinfo << 'END-of-maven/distinfo'
XMD5 (maven-1.0-rc1.tar.gz) = 7f5e787ff3b930d906d01243ccf7c237
END-of-maven/distinfo
echo x - maven/pkg-descr
sed 's/^X//' >maven/pkg-descr << 'END-of-maven/pkg-descr'
XMaven is a Java project management and project comprehension tool.  Maven is
Xbased on the concept of a project object model (POM) in that all the artifacts
Xproduced by Maven are a result of consulting a well defined model for your
Xproject.  Builds, documentation, source metrics, and source cross-references
Xare all controlled by your POM.
X
XThe intent of Maven is to make intra-project development highly manageable in
Xthe hopes of providing more time for cross-project development.  You might call
Xit cross-project pollination or the sharing of project development knowledge,
Xthis is what Maven attempts to encourage.
X
XWWW: http://maven.apache.org/
END-of-maven/pkg-descr
echo x - maven/pkg-plist
sed 's/^X//' >maven/pkg-plist << 'END-of-maven/pkg-plist'
Xbin/maven
X%%DIR%%/bin/forehead.conf
X%%DIR%%/bin/install_repo.sh
X%%DIR%%/bin/maven
X%%DIR%%/lib/ant-1.5.3-1.jar
X%%DIR%%/lib/ant-optional-1.5.3-1.jar
X%%DIR%%/lib/commons-beanutils-1.6.1.jar
X%%DIR%%/lib/commons-betwixt-1.0-beta-1.20030111.103454.jar
X%%DIR%%/lib/commons-cli-1.0-beta-2.jar
X%%DIR%%/lib/commons-collections-2.1.jar
X%%DIR%%/lib/commons-digester-1.4.1.jar
X%%DIR%%/lib/commons-grant-1.0-beta-4.jar
X%%DIR%%/lib/commons-graph-0.8.1.jar
X%%DIR%%/lib/commons-io-20030203.000550.jar
X%%DIR%%/lib/commons-jelly-20030902.160215.jar
X%%DIR%%/lib/commons-jelly-tags-ant-20030625.032346.jar
X%%DIR%%/lib/commons-jelly-tags-define-20030211.142932.jar
X%%DIR%%/lib/commons-jelly-tags-util-20030211.141939.jar
X%%DIR%%/lib/commons-jexl-1.0-beta-1.jar
X%%DIR%%/lib/commons-lang-1.0-b1.1.jar
X%%DIR%%/lib/commons-logging-1.0.1.jar
X%%DIR%%/lib/dom4j-1.4-dev-8.jar
X%%DIR%%/lib/endorsed/xerces-2.4.0.jar
X%%DIR%%/lib/endorsed/xml-apis-1.0.b2.jar
X%%DIR%%/lib/forehead-1.0-beta-5.jar
X%%DIR%%/lib/log4j-1.2.8.jar
X%%DIR%%/lib/maven.jar
X%%DIR%%/lib/plexus-0.6.jar
X%%DIR%%/lib/werkz-1.0-beta-10.jar
X%%DIR%%/lib/which-1.0.jar
X%%DIR%%/lib/xpp3-1.1.2a.jar
X%%DIR%%/maven-project.xsd
X%%DIR%%/plugins/maven-ant-plugin-1.4.jar
X%%DIR%%/plugins/maven-antlr-plugin-1.1.jar
X%%DIR%%/plugins/maven-appserver-plugin-2.0-dev.jar
X%%DIR%%/plugins/maven-artifact-plugin-1.0.jar
X%%DIR%%/plugins/maven-ashkelon-plugin-1.1.jar
X%%DIR%%/plugins/maven-cactus-plugin-3.1.jar
X%%DIR%%/plugins/maven-castor-plugin-1.0.jar
X%%DIR%%/plugins/maven-changelog-plugin-1.3.jar
X%%DIR%%/plugins/maven-changes-plugin-1.2.jar
X%%DIR%%/plugins/maven-checkstyle-plugin-2.1.jar
X%%DIR%%/plugins/maven-clean-plugin-1.1.jar
X%%DIR%%/plugins/maven-clover-plugin-1.2.jar
X%%DIR%%/plugins/maven-codeswitcher-plugin-1.1.jar
X%%DIR%%/plugins/maven-console-plugin-1.0.jar
X%%DIR%%/plugins/maven-cruisecontrol-plugin-1.0.jar
X%%DIR%%/plugins/maven-deploy-plugin-1.1.jar
X%%DIR%%/plugins/maven-developer-activity-plugin-1.3.jar
X%%DIR%%/plugins/maven-dist-plugin-1.3.jar
X%%DIR%%/plugins/maven-docbook-plugin-1.1.jar
X%%DIR%%/plugins/maven-ear-plugin-1.2.jar
X%%DIR%%/plugins/maven-eclipse-plugin-1.4.jar
X%%DIR%%/plugins/maven-ejb-plugin-1.1.jar
X%%DIR%%/plugins/maven-faq-plugin-1.1.jar
X%%DIR%%/plugins/maven-file-activity-plugin-1.3.jar
X%%DIR%%/plugins/maven-genapp-plugin-2.0.jar
X%%DIR%%/plugins/maven-gump-plugin-1.2.jar
X%%DIR%%/plugins/maven-hibernate-plugin-1.0-SNAPHOT.jar
X%%DIR%%/plugins/maven-html2xdoc-plugin-1.1.jar
X%%DIR%%/plugins/maven-idea-plugin-1.2.jar
X%%DIR%%/plugins/maven-j2ee-plugin-1.3.jar
X%%DIR%%/plugins/maven-jalopy-plugin-1.1.jar
X%%DIR%%/plugins/maven-jar-plugin-1.3.jar
X%%DIR%%/plugins/maven-java-plugin-1.3.jar
X%%DIR%%/plugins/maven-javadoc-plugin-1.3.jar
X%%DIR%%/plugins/maven-jboss-plugin-1.3.jar
X%%DIR%%/plugins/maven-jbuilder-plugin-1.3.jar
X%%DIR%%/plugins/maven-jcoverage-plugin-1.0.1.jar
X%%DIR%%/plugins/maven-jdee-plugin-1.0-beta-1.jar
X%%DIR%%/plugins/maven-jdepend-plugin-1.3.jar
X%%DIR%%/plugins/maven-jdeveloper-plugin-1.2.jar
X%%DIR%%/plugins/maven-jellydoc-plugin-1.1.jar
X%%DIR%%/plugins/maven-jnlp-plugin-1.2.jar
X%%DIR%%/plugins/maven-junit-doclet-plugin-1.1.jar
X%%DIR%%/plugins/maven-junit-report-plugin-1.3.jar
X%%DIR%%/plugins/maven-jxr-plugin-1.2.jar
X%%DIR%%/plugins/maven-latex-plugin-1.1.jar
X%%DIR%%/plugins/maven-latka-plugin-1.3.jar
X%%DIR%%/plugins/maven-license-plugin-1.1.jar
X%%DIR%%/plugins/maven-linkcheck-plugin-1.1.jar
X%%DIR%%/plugins/maven-multiproject-plugin-1.1.jar
X%%DIR%%/plugins/maven-native-plugin-1.0.jar
X%%DIR%%/plugins/maven-pdf-plugin-1.2.jar
X%%DIR%%/plugins/maven-perforce-plugin-1.1.jar
X%%DIR%%/plugins/maven-plexus-plugin-0.3.jar
X%%DIR%%/plugins/maven-plugin-plugin-1.1.jar
X%%DIR%%/plugins/maven-pmd-plugin-1.2.jar
X%%DIR%%/plugins/maven-pom-plugin-1.3.jar
X%%DIR%%/plugins/maven-release-plugin-1.1.jar
X%%DIR%%/plugins/maven-repository-plugin-1.0.jar
X%%DIR%%/plugins/maven-runner-plugin-0.3.jar
X%%DIR%%/plugins/maven-scm-plugin-1.1.jar
X%%DIR%%/plugins/maven-sea-plugin-1.0.jar
X%%DIR%%/plugins/maven-shell-plugin-1.0.jar
X%%DIR%%/plugins/maven-simian-plugin-1.2.jar
X%%DIR%%/plugins/maven-site-plugin-1.3.jar
X%%DIR%%/plugins/maven-statcvs-plugin-2.0.jar
X%%DIR%%/plugins/maven-struts-plugin-1.2.jar
X%%DIR%%/plugins/maven-summit-plugin-1.1.jar
X%%DIR%%/plugins/maven-tasklist-plugin-2.2.jar
X%%DIR%%/plugins/maven-test-plugin-1.4.jar
X%%DIR%%/plugins/maven-tjdo-plugin-1.0.0.jar
X%%DIR%%/plugins/maven-torque-plugin-3.2.jar
X%%DIR%%/plugins/maven-touchstone-partner-plugin-1.0.jar
X%%DIR%%/plugins/maven-touchstone-plugin-1.0.jar
X%%DIR%%/plugins/maven-uberjar-plugin-1.1.jar
X%%DIR%%/plugins/maven-vdoclet-plugin-1.1.jar
X%%DIR%%/plugins/maven-war-plugin-1.4.jar
X%%DIR%%/plugins/maven-was40-plugin-1.0.jar
X%%DIR%%/plugins/maven-webserver-plugin-2.0-dev.jar
X%%DIR%%/plugins/maven-wizard-plugin-1.0.jar
X%%DIR%%/plugins/maven-word2html-plugin-1.4.jar
X%%DIR%%/plugins/maven-xdoc-plugin-1.4.jar
X@dirrm %%DIR%%/plugins
X@dirrm %%DIR%%/lib/endorsed
X@dirrm %%DIR%%/lib
X@dirrm %%DIR%%/bin
X@dirrm %%DIR%%
END-of-maven/pkg-plist
echo x - maven/pkg-message
sed 's/^X//' >maven/pkg-message << 'END-of-maven/pkg-message'
X
XTo work with Maven you need to set the following environment variables:
X  * JAVA_HOME
X    Set it to the base directory of your java installation.
X  * MAVEN_HOME
X    Set it to ``/usr/local/share/java/maven''.
X
XThen, you should initialize your repository with:
X  /usr/local/share/java/maven/bin/install_repo.sh ~/.maven/repository
X
END-of-maven/pkg-message
exit
--- maven.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031021165827.85418.qmail>