pkgsrc/devel/apache-maven/Makefile
yyamano 9763ef7c5d Update devel/apache-maven to 2.2.1.
Maven 2.2.1 aims to correct several critical regressions related to
the selection of the HttpClient-based Wagon implementation for
HTTP/HTTPS transfers in Maven 2.2.0. The new release reverts this
selection, reinstating the Sun-based - or lightweight - Wagon
implementation as the default for this sort of traffic. However, Maven
2.2.1 goes a step further to provide a means of selecting which
provider - or implementation - the user wishes to use for a particular
transfer protocol. More information on providers can be found in our
Guide to Wagon Providers.

In addition, Maven 2.2.1 addresses some long-standing problems related
to injecting custom lifecycle mappings and artifact handlers. These
custom components are now correctly loaded regardless of whether they
come from a plugin with the extensions flag enabled, or from a pure
build extension. In addition, custom artifact handlers now will be
used to configure the attributes of the main project artifact in
addition to any artifacts related to dependencies or project
attachments created during the build.
2009-11-07 00:14:53 +00:00

40 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2009/11/07 00:14:53 yyamano Exp $
#
DISTNAME= apache-maven-2.2.1
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=maven/binaries/}
EXTRACT_SUFX= .tar.bz2
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= yyamano@NetBSD.org
HOMEPAGE= http://maven.apache.org/
COMMENT= Apache Project's software project management and comprehension tool
PKG_DESTDIR_SUPPORT= user-destdir
USE_JAVA= run
USE_JAVA2= 1.5
USE_TOOLS+= pax
NO_BUILD= yes
SUBST_CLASSES+= maven
SUBST_FILES.maven= bin/mvn
SUBST_STAGE.maven= pre-configure
SUBST_SED.maven= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
SUBST_SED.maven+= -e 's,@PREFIX@,${PREFIX},g'
INSTALLATION_DIRS= bin etc/maven lib/java/maven lib/java/maven/boot share/doc/java/maven
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/mvn ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${DESTDIR}${PREFIX}/etc/maven
${INSTALL_DATA} ${WRKSRC}/conf/settings.xml ${DESTDIR}${PREFIX}/etc/maven
${INSTALL_DATA} ${WRKSRC}/boot/*.jar ${DESTDIR}${PREFIX}/lib/java/maven/boot
${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DESTDIR}${PREFIX}/lib/java/maven
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/java/maven
${INSTALL_DATA} ${WRKSRC}/NOTICE.txt ${DESTDIR}${PREFIX}/share/doc/java/maven
${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DESTDIR}${PREFIX}/share/doc/java/maven
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"