ports/147889: New port: devel/maven-ant-tasks Allows Maven's handling to be used from Ant

Chris Rees utisoft at gmail.com
Tue Jun 15 20:10:01 UTC 2010


>Number:         147889
>Category:       ports
>Synopsis:       New port: devel/maven-ant-tasks Allows Maven's handling to be used from Ant
>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 Jun 15 20:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 8.0-RELEASE-p3
>Organization:
bayofrum.net
>Environment:
FreeBSD amnesiac.bayofrum.net 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Wed May 26 05:45:12 UTC 2010     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
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


I *think* I've written the LICENSE section in the right place, portlint moans about anywhere else. Should it be in the distfile section?

If so then portlint needs fixing! I try that if you let me know.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	devel/maven-ant-tasks
#	devel/maven-ant-tasks/Makefile
#	devel/maven-ant-tasks/pkg-descr
#	devel/maven-ant-tasks/distinfo
#
echo c - devel/maven-ant-tasks
mkdir -p devel/maven-ant-tasks > /dev/null 2>&1
echo x - devel/maven-ant-tasks/Makefile
sed 's/^X//' >devel/maven-ant-tasks/Makefile << '15a4f377fdfc506fd972d8bb09420fec'
X# New ports collection Makefile for:	maven-ant-tasks
X# Date created:		June 2010
X# Whom:			Chris Rees
X#
X# $FreeBSD$
X#
X
XPORTNAME=	maven-ant-tasks
XPORTVERSION=	2.1.0
XDISTVERSIONSUFFIX=	-src
XCATEGORIES=	devel java
XMASTER_SITES=	${MASTER_SITE_APACHE}
XMASTER_SITE_SUBDIR=	maven/source
X
XMAINTAINER=	utisoft at gmail.com
XCOMMENT=	Allows Maven's artifact handling to be used from within an Ant build
X
XBUILD_DEPENDS=	mvn:${PORTSDIR}/devel/maven2
XRUN_DEPENDS=	ant:${PORTSDIR}/devel/apache-ant
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XLICENSE=	ASL
XLICENSE_FILE=	${WRKSRC}/LICENSE
X
XUSE_ZIP=	yes
XUSE_JAVA=	1.5+
X
XJAR_NAME=	${PORTNAME}-${PORTVERSION}.jar
X
XPLIST_FILES=	%%JAVASHAREDIR%%/apache-ant/lib/${JAR_NAME}
X
Xdo-build:
X	@cd ${WRKSRC} && mvn package
X
Xdo-install:
X	@${INSTALL_DATA} "${WRKSRC}/target/${JAR_NAME}" ${JAVASHAREDIR}/apache-ant/lib/
X
X.include <bsd.port.mk>
15a4f377fdfc506fd972d8bb09420fec
echo x - devel/maven-ant-tasks/pkg-descr
sed 's/^X//' >devel/maven-ant-tasks/pkg-descr << '2526cef0e0ff9724bd653571556d0d40'
XThe Maven Ant Tasks allow several of Maven's artifact handling features to be
Xused from within an Ant build. These include:
X
X    - Dependency management - including transitive dependencies, scope
X      recognition and SNAPSHOT handling
X    - Artifact deployment - deployment to a Maven repository (file
X      integrated, other with extensions)
X    - POM processing - for reading and writing a Maven 2 pom.xml file
X
XWWW:http://maven.apache.org/ant-tasks/index.html
2526cef0e0ff9724bd653571556d0d40
echo x - devel/maven-ant-tasks/distinfo
sed 's/^X//' >devel/maven-ant-tasks/distinfo << '2cdff2177b8e5558989c135a71ca3b20'
XMD5 (maven-ant-tasks-2.1.0-src.zip) = 80da5f2710db95414edb569ce2af30af
XSHA256 (maven-ant-tasks-2.1.0-src.zip) = fb4192e9b5d53e0e84f201851d539c08f4b48edc39444ec504e54431f90b1b5c
XSIZE (maven-ant-tasks-2.1.0-src.zip) = 158289
2cdff2177b8e5558989c135a71ca3b20
exit



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



More information about the freebsd-ports-bugs mailing list