Add maven-ant-tasks 2.1.0, allows Maven's artifact handling to be used

from within an Ant build.

PR:		ports/147889
Submitted by:	Chris Rees <utisoft at gmail.com>
This commit is contained in:
Li-Wen Hsu 2010-08-22 15:07:57 +00:00
parent 715d7bb207
commit 1987256609
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=259743
4 changed files with 52 additions and 0 deletions

View file

@ -968,6 +968,7 @@
SUBDIR += makeplus
SUBDIR += maketool
SUBDIR += maven
SUBDIR += maven-ant-tasks
SUBDIR += maven2
SUBDIR += mcpp
SUBDIR += memcheck

View file

@ -0,0 +1,38 @@
# New ports collection Makefile for: maven-ant-tasks
# Date created: June 2010
# Whom: Chris Rees <utisoft@gmail.com>
#
# $FreeBSD$
#
PORTNAME= maven-ant-tasks
PORTVERSION= 2.1.0
DISTVERSIONSUFFIX= -src
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= maven/source
MAINTAINER= utisoft@gmail.com
COMMENT= Allows Maven's artifact handling to be used from within an Ant build
BUILD_DEPENDS= mvn:${PORTSDIR}/devel/maven2
RUN_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LICENSE= ASL
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_ZIP= yes
USE_JAVA= 1.5+
JAR_NAME= ${PORTNAME}-${PORTVERSION}.jar
PLIST_FILES= %%JAVASHAREDIR%%/apache-ant/lib/${JAR_NAME}
do-build:
@cd ${WRKSRC} && mvn package
do-install:
@${INSTALL_DATA} "${WRKSRC}/target/${JAR_NAME}" ${JAVASHAREDIR}/apache-ant/lib/
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (maven-ant-tasks-2.1.0-src.zip) = 80da5f2710db95414edb569ce2af30af
SHA256 (maven-ant-tasks-2.1.0-src.zip) = fb4192e9b5d53e0e84f201851d539c08f4b48edc39444ec504e54431f90b1b5c
SIZE (maven-ant-tasks-2.1.0-src.zip) = 158289

View file

@ -0,0 +1,10 @@
The Maven Ant Tasks allow several of Maven's artifact handling features to be
used from within an Ant build. These include:
- Dependency management - including transitive dependencies, scope
recognition and SNAPSHOT handling
- Artifact deployment - deployment to a Maven repository (file
integrated, other with extensions)
- POM processing - for reading and writing a Maven 2 pom.xml file
WWW: http://maven.apache.org/ant-tasks/index.html