mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Add maven a Java project management and project comprehension tool. More
details are available at http://maven.apache.org. PR: 58339 Submitted by: Rui Lopes <rui@ruilopes.com>
This commit is contained in:
parent
95b861012b
commit
246afb20c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91844
@ -426,6 +426,7 @@
|
||||
SUBDIR += makedepend
|
||||
SUBDIR += makeplus
|
||||
SUBDIR += maketool
|
||||
SUBDIR += maven
|
||||
SUBDIR += memcheck
|
||||
SUBDIR += meta-cvs
|
||||
SUBDIR += mico
|
||||
|
39
devel/maven/Makefile
Normal file
39
devel/maven/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# New ports collection makefile for: maven
|
||||
# Date created: 17 October 2003
|
||||
# Whom: Rui Lopes <rui@ruilopes.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= maven
|
||||
PORTVERSION= 1.0.r1
|
||||
CATEGORIES= devel java
|
||||
MASTER_SITES= http://nagoya.apache.org/mirror/%SUBDIR%/binaries/
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}-1.0-rc1
|
||||
|
||||
MAINTAINER= rui@ruilopes.com
|
||||
COMMENT= Java project management and project comprehension tool
|
||||
|
||||
USE_JAVA= 1.3+
|
||||
NO_BUILD= YES
|
||||
DIR= share/java/maven
|
||||
PLIST_SUB= DIR=${DIR}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${FIND} . \! -name '*.bat' \! -name repository \
|
||||
| cpio -pduv -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${DIR}
|
||||
${CHMOD} -R ${LIBMODE} ${PREFIX}/${DIR}
|
||||
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/${DIR}/bin
|
||||
${CHMOD} -R ${BINMODE} ${PREFIX}/${DIR}/bin
|
||||
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${DIR}/bin/*.conf
|
||||
${CHMOD} ${SHAREMODE} ${PREFIX}/${DIR}/bin/*.conf
|
||||
${FIND} ${PREFIX}/${DIR} -type d | ${XARGS} ${CHMOD} +rx
|
||||
${LN} -fs ${PREFIX}/${DIR}/bin/maven ${PREFIX}/bin
|
||||
@${CAT} ${PKGDIR}/pkg-message
|
||||
|
||||
# This target is only meant to be used by the port maintainer.
|
||||
x-generate-plist:
|
||||
(/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
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/maven/distinfo
Normal file
1
devel/maven/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (maven-1.0-rc1.tar.gz) = 7f5e787ff3b930d906d01243ccf7c237
|
12
devel/maven/pkg-descr
Normal file
12
devel/maven/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
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.
|
||||
|
||||
The intent of Maven is to make intra-project development highly manageable in
|
||||
the hopes of providing more time for cross-project development. You might call
|
||||
it cross-project pollination or the sharing of project development knowledge,
|
||||
this is what Maven attempts to encourage.
|
||||
|
||||
WWW: http://maven.apache.org/
|
9
devel/maven/pkg-message
Normal file
9
devel/maven/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
To work with Maven you need to set the following environment variables:
|
||||
* JAVA_HOME
|
||||
Set it to the base directory of your java installation.
|
||||
* MAVEN_HOME
|
||||
Set it to ``/usr/local/share/java/maven''.
|
||||
|
||||
Then, you should initialize your repository with:
|
||||
/usr/local/share/java/maven/bin/install_repo.sh ~/.maven/repository
|
119
devel/maven/pkg-plist
Normal file
119
devel/maven/pkg-plist
Normal file
@ -0,0 +1,119 @@
|
||||
bin/maven
|
||||
%%DIR%%/bin/forehead.conf
|
||||
%%DIR%%/bin/install_repo.sh
|
||||
%%DIR%%/bin/maven
|
||||
%%DIR%%/lib/ant-1.5.3-1.jar
|
||||
%%DIR%%/lib/ant-optional-1.5.3-1.jar
|
||||
%%DIR%%/lib/commons-beanutils-1.6.1.jar
|
||||
%%DIR%%/lib/commons-betwixt-1.0-beta-1.20030111.103454.jar
|
||||
%%DIR%%/lib/commons-cli-1.0-beta-2.jar
|
||||
%%DIR%%/lib/commons-collections-2.1.jar
|
||||
%%DIR%%/lib/commons-digester-1.4.1.jar
|
||||
%%DIR%%/lib/commons-grant-1.0-beta-4.jar
|
||||
%%DIR%%/lib/commons-graph-0.8.1.jar
|
||||
%%DIR%%/lib/commons-io-20030203.000550.jar
|
||||
%%DIR%%/lib/commons-jelly-20030902.160215.jar
|
||||
%%DIR%%/lib/commons-jelly-tags-ant-20030625.032346.jar
|
||||
%%DIR%%/lib/commons-jelly-tags-define-20030211.142932.jar
|
||||
%%DIR%%/lib/commons-jelly-tags-util-20030211.141939.jar
|
||||
%%DIR%%/lib/commons-jexl-1.0-beta-1.jar
|
||||
%%DIR%%/lib/commons-lang-1.0-b1.1.jar
|
||||
%%DIR%%/lib/commons-logging-1.0.1.jar
|
||||
%%DIR%%/lib/dom4j-1.4-dev-8.jar
|
||||
%%DIR%%/lib/endorsed/xerces-2.4.0.jar
|
||||
%%DIR%%/lib/endorsed/xml-apis-1.0.b2.jar
|
||||
%%DIR%%/lib/forehead-1.0-beta-5.jar
|
||||
%%DIR%%/lib/log4j-1.2.8.jar
|
||||
%%DIR%%/lib/maven.jar
|
||||
%%DIR%%/lib/plexus-0.6.jar
|
||||
%%DIR%%/lib/werkz-1.0-beta-10.jar
|
||||
%%DIR%%/lib/which-1.0.jar
|
||||
%%DIR%%/lib/xpp3-1.1.2a.jar
|
||||
%%DIR%%/maven-project.xsd
|
||||
%%DIR%%/plugins/maven-ant-plugin-1.4.jar
|
||||
%%DIR%%/plugins/maven-antlr-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-appserver-plugin-2.0-dev.jar
|
||||
%%DIR%%/plugins/maven-artifact-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-ashkelon-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-cactus-plugin-3.1.jar
|
||||
%%DIR%%/plugins/maven-castor-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-changelog-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-changes-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-checkstyle-plugin-2.1.jar
|
||||
%%DIR%%/plugins/maven-clean-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-clover-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-codeswitcher-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-console-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-cruisecontrol-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-deploy-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-developer-activity-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-dist-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-docbook-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-ear-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-eclipse-plugin-1.4.jar
|
||||
%%DIR%%/plugins/maven-ejb-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-faq-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-file-activity-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-genapp-plugin-2.0.jar
|
||||
%%DIR%%/plugins/maven-gump-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-hibernate-plugin-1.0-SNAPHOT.jar
|
||||
%%DIR%%/plugins/maven-html2xdoc-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-idea-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-j2ee-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jalopy-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-jar-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-java-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-javadoc-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jboss-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jbuilder-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jcoverage-plugin-1.0.1.jar
|
||||
%%DIR%%/plugins/maven-jdee-plugin-1.0-beta-1.jar
|
||||
%%DIR%%/plugins/maven-jdepend-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jdeveloper-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-jellydoc-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-jnlp-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-junit-doclet-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-junit-report-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-jxr-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-latex-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-latka-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-license-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-linkcheck-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-multiproject-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-native-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-pdf-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-perforce-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-plexus-plugin-0.3.jar
|
||||
%%DIR%%/plugins/maven-plugin-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-pmd-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-pom-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-release-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-repository-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-runner-plugin-0.3.jar
|
||||
%%DIR%%/plugins/maven-scm-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-sea-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-shell-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-simian-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-site-plugin-1.3.jar
|
||||
%%DIR%%/plugins/maven-statcvs-plugin-2.0.jar
|
||||
%%DIR%%/plugins/maven-struts-plugin-1.2.jar
|
||||
%%DIR%%/plugins/maven-summit-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-tasklist-plugin-2.2.jar
|
||||
%%DIR%%/plugins/maven-test-plugin-1.4.jar
|
||||
%%DIR%%/plugins/maven-tjdo-plugin-1.0.0.jar
|
||||
%%DIR%%/plugins/maven-torque-plugin-3.2.jar
|
||||
%%DIR%%/plugins/maven-touchstone-partner-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-touchstone-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-uberjar-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-vdoclet-plugin-1.1.jar
|
||||
%%DIR%%/plugins/maven-war-plugin-1.4.jar
|
||||
%%DIR%%/plugins/maven-was40-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-webserver-plugin-2.0-dev.jar
|
||||
%%DIR%%/plugins/maven-wizard-plugin-1.0.jar
|
||||
%%DIR%%/plugins/maven-word2html-plugin-1.4.jar
|
||||
%%DIR%%/plugins/maven-xdoc-plugin-1.4.jar
|
||||
@dirrm %%DIR%%/plugins
|
||||
@dirrm %%DIR%%/lib/endorsed
|
||||
@dirrm %%DIR%%/lib
|
||||
@dirrm %%DIR%%/bin
|
||||
@dirrm %%DIR%%
|
Loading…
Reference in New Issue
Block a user