Commit a8baafa5 authored by fluffy's avatar fluffy
Browse files

- Add maven31, as separate branch of Apache Maven engine

- Pass maintanership to Alexander Yerenkow
- Connect maven31 to devel/Makefile

Submitted by:	Alexander Yerenkow via skype
Approved by:	hq@, maintainer of maven3, in email discussion with Alexander
parent 6b8846ea
......@@ -1201,6 +1201,7 @@
SUBDIR += maven-wrapper
SUBDIR += maven2
SUBDIR += maven3
SUBDIR += maven31
SUBDIR += mcpp
SUBDIR += mdds
SUBDIR += meck
......
# Created by: Herve Quiroz <hq@FreeBSD.org>
# $FreeBSD$
PORTNAME= maven31
DISTVERSION= 3.1.1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= maven/binaries
DISTNAME= apache-maven-${DISTVERSION}-bin
MAINTAINER= yerenkow@gmail.com
COMMENT= Java project management tool, 3.1.x branch
LICENSE= APACHE20
RUN_DEPENDS= mvn:${PORTSDIR}/devel/maven-wrapper
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/apache-maven-${DISTVERSION}
SUB_FILES= mvn.sh
SUB_LIST= CLASSWORLDS_JAR=plexus-classworlds-2.4.jar
INSTANCE_FILE= 030101-${PORTNAME}-${PORTVERSION}
INSTANCES_DIR= etc/maven-wrapper/instances.d/
post-extract:
${RM} -f ${WRKSRC}/bin/*.bat
${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
do-install:
cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${STAGEDIR}${DATADIR}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${STAGEDIR}${DATADIR}/bin/mvn
${MKDIR} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
.include <bsd.port.mk>
SHA256 (apache-maven-3.1.1-bin.tar.gz) = 077ed466455991d5abb4748a1d022e2d2a54dc4d557c723ecbacdc857c61d51b
SIZE (apache-maven-3.1.1-bin.tar.gz) = 5494427
#!/bin/sh
#
# $FreeBSD$
if [ -f /etc/mavenrc ] ; then
. /etc/mavenrc
fi
if [ -f "${HOME}/.mavenrc" ] ; then
. "${HOME}/.mavenrc"
fi
M2_HOME=${M2_HOME:-"%%DATADIR%%"}
JAVA_VERSION="%%JAVA_VERSION%%" exec "%%LOCALBASE%%/bin/java" $MAVEN_OPTS \
-classpath "${M2_HOME}/boot/%%CLASSWORLDS_JAR%%" \
"-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
"-Dmaven.home=${M2_HOME}" org.codehaus.classworlds.Launcher "$@"
Apache Maven is a software project management and comprehension tool. Based on
the concept of a project object model (POM), Maven can manage a project's
build, reporting and documentation from a central piece of information.
WWW: http://maven.apache.org/
etc/maven-wrapper/instances.d/030101-maven31-3.1.1
%%DATADIR%%/030101-maven31-3.1.1
%%DATADIR%%/LICENSE
%%DATADIR%%/NOTICE
%%DATADIR%%/README.txt
%%DATADIR%%/bin/m2.conf
%%DATADIR%%/bin/mvn
%%DATADIR%%/bin/mvnDebug
%%DATADIR%%/bin/mvnyjp
%%DATADIR%%/boot/plexus-classworlds-2.5.1.jar
%%DATADIR%%/conf/logging/simplelogger.properties
%%DATADIR%%/conf/settings.xml
%%DATADIR%%/lib/aether-api-0.9.0.M2.jar
%%DATADIR%%/lib/aether-api.license
%%DATADIR%%/lib/aether-connector-wagon-0.9.0.M2.jar
%%DATADIR%%/lib/aether-connector-wagon.license
%%DATADIR%%/lib/aether-impl-0.9.0.M2.jar
%%DATADIR%%/lib/aether-impl.license
%%DATADIR%%/lib/aether-spi-0.9.0.M2.jar
%%DATADIR%%/lib/aether-spi.license
%%DATADIR%%/lib/aether-util-0.9.0.M2.jar
%%DATADIR%%/lib/aether-util.license
%%DATADIR%%/lib/aopalliance-1.0.jar
%%DATADIR%%/lib/cdi-api-1.0.jar
%%DATADIR%%/lib/cdi-api.license
%%DATADIR%%/lib/commons-cli-1.2.jar
%%DATADIR%%/lib/ext/README.txt
%%DATADIR%%/lib/guava-11.0.2.jar
%%DATADIR%%/lib/javax.inject-1.jar
%%DATADIR%%/lib/jsr250-api-1.0.jar
%%DATADIR%%/lib/jsr250-api.license
%%DATADIR%%/lib/jsr305-1.3.9.jar
%%DATADIR%%/lib/maven-aether-provider-3.1.1.jar
%%DATADIR%%/lib/maven-artifact-3.1.1.jar
%%DATADIR%%/lib/maven-compat-3.1.1.jar
%%DATADIR%%/lib/maven-core-3.1.1.jar
%%DATADIR%%/lib/maven-embedder-3.1.1.jar
%%DATADIR%%/lib/maven-model-3.1.1.jar
%%DATADIR%%/lib/maven-model-builder-3.1.1.jar
%%DATADIR%%/lib/maven-plugin-api-3.1.1.jar
%%DATADIR%%/lib/maven-repository-metadata-3.1.1.jar
%%DATADIR%%/lib/maven-settings-3.1.1.jar
%%DATADIR%%/lib/maven-settings-builder-3.1.1.jar
%%DATADIR%%/lib/org.eclipse.sisu.inject-0.0.0.M5.jar
%%DATADIR%%/lib/org.eclipse.sisu.inject.license
%%DATADIR%%/lib/org.eclipse.sisu.plexus-0.0.0.M5.jar
%%DATADIR%%/lib/org.eclipse.sisu.plexus.license
%%DATADIR%%/lib/plexus-cipher-1.7.jar
%%DATADIR%%/lib/plexus-cipher.license
%%DATADIR%%/lib/plexus-component-annotations-1.5.5.jar
%%DATADIR%%/lib/plexus-interpolation-1.19.jar
%%DATADIR%%/lib/plexus-sec-dispatcher-1.3.jar
%%DATADIR%%/lib/plexus-sec-dispatcher.license
%%DATADIR%%/lib/plexus-utils-3.0.15.jar
%%DATADIR%%/lib/sisu-guice-3.1.3-no_aop.jar
%%DATADIR%%/lib/slf4j-api-1.7.5.jar
%%DATADIR%%/lib/slf4j-api.license
%%DATADIR%%/lib/slf4j-simple-1.7.5.jar
%%DATADIR%%/lib/slf4j-simple.license
%%DATADIR%%/lib/wagon-file-2.4.jar
%%DATADIR%%/lib/wagon-http-2.4-shaded.jar
%%DATADIR%%/lib/wagon-provider-api-2.4.jar
@dirrmtry %%DATADIR%%/lib/ext
@dirrmtry %%DATADIR%%/lib
@dirrmtry %%DATADIR%%/conf/logging
@dirrmtry %%DATADIR%%/conf
@dirrmtry %%DATADIR%%/boot
@dirrmtry %%DATADIR%%/bin
@dirrmtry %%DATADIR%%
@dirrmtry etc/maven-wrapper/instances.d
@dirrmtry etc/maven-wrapper
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment