View | Details | Raw Unified | Return to bug 188110 | Differences between
and this patch

Collapse All | Expand All

(-)maven/Makefile (-17 / +14 lines)
Lines 1-28 Link Here
1
# Created by: Herve Quiroz <hq@FreeBSD.org>
1
# Created by: Herve Quiroz <hq@FreeBSD.org>
2
# $FreeBSD: head/devel/maven3/Makefile 357428 2014-06-11 08:09:32Z marino $
2
# $FreeBSD: head/devel/maven31/Makefile 343834 2014-02-12 02:26:25Z fluffy $
3
3
4
PORTNAME=	maven3
4
PORTNAME=	maven
5
DISTVERSION=	3.0.5
5
DISTVERSION=	3.3.1
6
CATEGORIES=	devel java
6
CATEGORIES=	devel java
7
MASTER_SITES=	${MASTER_SITE_APACHE}
7
MASTER_SITES=	${MASTER_SITE_APACHE}
8
MASTER_SITE_SUBDIR=	maven/binaries
8
MASTER_SITE_SUBDIR=	maven/maven-3/${DISTVERSION}/binaries
9
DISTNAME=	apache-maven-${DISTVERSION}-bin
9
DISTNAME=	apache-maven-${DISTVERSION}-bin
10
10
11
MAINTAINER=	wombat@marsupial.org
11
MAINTAINER=	yerenkow@gmail.com
12
COMMENT=	Java project management tool, 3.x branch
12
COMMENT=	Java project management tool
13
13
14
LICENSE=	APACHE20
14
LICENSE=	APACHE20
15
15
16
RUN_DEPENDS=	mvn:${PORTSDIR}/devel/maven-wrapper
16
RUN_DEPENDS=	mvn:${PORTSDIR}/devel/maven-wrapper
17
17
18
USE_JAVA=	yes
18
USE_JAVA=	yes
19
JAVA_VERSION=	1.6+
19
JAVA_VERSION=	1.7+
20
NO_BUILD=	yes
20
NO_BUILD=	yes
21
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
21
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
22
WRKSRC=		${WRKDIR}/apache-maven-${DISTVERSION}
22
WRKSRC=		${WRKDIR}/apache-maven-${DISTVERSION}
23
SUB_FILES=	mvn.sh
23
SUB_FILES=	mvn.sh
24
SUB_LIST=	CLASSWORLDS_JAR=plexus-classworlds-2.4.jar
24
SUB_LIST=	CLASSWORLDS_JAR=plexus-classworlds-2.5.2.jar
25
INSTANCE_FILE=	030005-${PORTNAME}-${PORTVERSION}
25
INSTANCE_FILE=	030205-${PORTNAME}-${PORTVERSION}
26
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
26
INSTANCES_DIR=	etc/maven-wrapper/instances.d/
27
27
28
post-extract:
28
post-extract:
Lines 30-43 Link Here
30
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
30
	${ECHO_CMD} "${DATADIR}" > ${WRKSRC}/${INSTANCE_FILE}
31
31
32
do-install:
32
do-install:
33
	cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} \
33
	cd ${WRKSRC} && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} \;
34
		${STAGEDIR}${DATADIR}/{} \;
34
	cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
35
	cd ${WRKSRC} && ${FIND} . -type f -not -path "\./bin/" \
35
	${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${STAGEDIR}${DATADIR}/bin/
36
		-exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
37
	${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${STAGEDIR}${DATADIR}/bin
38
	${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${STAGEDIR}${DATADIR}/bin/mvn
36
	${INSTALL_SCRIPT} ${WRKDIR}/mvn.sh ${STAGEDIR}${DATADIR}/bin/mvn
39
	@${MKDIR} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
37
	${MKDIR} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
40
	${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} \
38
	${INSTALL_DATA} ${WRKSRC}/${INSTANCE_FILE} ${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
41
		${STAGEDIR}${PREFIX}/${INSTANCES_DIR}
42
39
43
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)maven/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (apache-maven-3.0.5-bin.tar.gz) = d98d766be9254222920c1d541efd466ae6502b82a39166c90d65ffd7ea357dd9
1
SHA256 (apache-maven-3.3.1-bin.tar.gz) = 153564900617218a126f78d2603d060d0a15f19f3ec1689fc2b7692a3c15b9aa
2
SIZE (apache-maven-3.0.5-bin.tar.gz) = 5144659
2
SIZE (apache-maven-3.3.1-bin.tar.gz) = 8059952
(-)maven/files/mvn.sh.in (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD: /tmp/pcvs/ports/devel/maven3/files/mvn.sh.in,v 1.1 2011-09-01 21:53:01 hq Exp $
3
# $FreeBSD$
4
4
5
if [ -f /etc/mavenrc ] ; then
5
if [ -f /etc/mavenrc ] ; then
6
	. /etc/mavenrc
6
	. /etc/mavenrc
(-)maven/pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
the concept of a project object model (POM), Maven can manage a project's
2
the concept of a project object model (POM), Maven can manage a project's
3
build, reporting and documentation from a central piece of information. 
3
build, reporting and documentation from a central piece of information. 
4
4
5
WWW: http://maven.apache.org/
5
WWW:	http://maven.apache.org/
(-)maven/pkg-plist (-30 / +72 lines)
Lines 1-41 Link Here
1
etc/maven-wrapper/instances.d/030005-maven3-3.0.5
1
etc/maven-wrapper/instances.d/030205-maven32-3.2.5
2
%%DATADIR%%/030005-maven3-3.0.5
2
%%DATADIR%%/030205-maven32-3.2.5
3
%%DATADIR%%/LICENSE.txt
3
%%DATADIR%%/LICENSE
4
%%DATADIR%%/NOTICE.txt
4
%%DATADIR%%/NOTICE
5
%%DATADIR%%/README.txt
5
%%DATADIR%%/README.txt
6
%%DATADIR%%/bin/m2.conf
6
%%DATADIR%%/bin/m2.conf
7
%%DATADIR%%/bin/mvn
7
%%DATADIR%%/bin/mvn
8
%%DATADIR%%/bin/mvnDebug
8
%%DATADIR%%/bin/mvnDebug
9
%%DATADIR%%/bin/mvnyjp
9
%%DATADIR%%/bin/mvnyjp
10
%%DATADIR%%/boot/plexus-classworlds-2.4.jar
10
%%DATADIR%%/boot/plexus-classworlds-2.5.2.jar
11
%%DATADIR%%/conf/logging/simplelogger.properties
11
%%DATADIR%%/conf/settings.xml
12
%%DATADIR%%/conf/settings.xml
12
%%DATADIR%%/lib/aether-api-1.13.1.jar
13
%%DATADIR%%/lib/aether-api-1.0.0.v20140518.jar
13
%%DATADIR%%/lib/aether-connector-wagon-1.13.1.jar
14
%%DATADIR%%/lib/aether-api.license
14
%%DATADIR%%/lib/aether-impl-1.13.1.jar
15
%%DATADIR%%/lib/aether-connector-basic-1.0.0.v20140518.jar
15
%%DATADIR%%/lib/aether-spi-1.13.1.jar
16
%%DATADIR%%/lib/aether-connector-basic.license
16
%%DATADIR%%/lib/aether-util-1.13.1.jar
17
%%DATADIR%%/lib/aether-impl-1.0.0.v20140518.jar
18
%%DATADIR%%/lib/aether-impl.license
19
%%DATADIR%%/lib/aether-spi-1.0.0.v20140518.jar
20
%%DATADIR%%/lib/aether-spi.license
21
%%DATADIR%%/lib/aether-transport-wagon-1.0.0.v20140518.jar
22
%%DATADIR%%/lib/aether-transport-wagon.license
23
%%DATADIR%%/lib/aether-util-1.0.0.v20140518.jar
24
%%DATADIR%%/lib/aether-util.license
25
%%DATADIR%%/lib/aopalliance-1.0.jar
26
%%DATADIR%%/lib/cdi-api-1.0.jar
27
%%DATADIR%%/lib/cdi-api.license
17
%%DATADIR%%/lib/commons-cli-1.2.jar
28
%%DATADIR%%/lib/commons-cli-1.2.jar
29
%%DATADIR%%/lib/commons-io-2.2.jar
30
%%DATADIR%%/lib/commons-lang-2.6.jar
18
%%DATADIR%%/lib/ext/README.txt
31
%%DATADIR%%/lib/ext/README.txt
19
%%DATADIR%%/lib/maven-aether-provider-3.0.5.jar
32
%%DATADIR%%/lib/guava-18.0.jar
20
%%DATADIR%%/lib/maven-artifact-3.0.5.jar
33
%%DATADIR%%/lib/javax.inject-1.jar
21
%%DATADIR%%/lib/maven-compat-3.0.5.jar
34
%%DATADIR%%/lib/jsoup-1.7.2.jar
22
%%DATADIR%%/lib/maven-core-3.0.5.jar
35
%%DATADIR%%/lib/jsoup.license
23
%%DATADIR%%/lib/maven-embedder-3.0.5.jar
36
%%DATADIR%%/lib/jsr250-api-1.0.jar
24
%%DATADIR%%/lib/maven-model-3.0.5.jar
37
%%DATADIR%%/lib/jsr250-api.license
25
%%DATADIR%%/lib/maven-model-builder-3.0.5.jar
38
%%DATADIR%%/lib/maven-aether-provider-3.2.5.jar
26
%%DATADIR%%/lib/maven-plugin-api-3.0.5.jar
39
%%DATADIR%%/lib/maven-aether-provider.license
27
%%DATADIR%%/lib/maven-repository-metadata-3.0.5.jar
40
%%DATADIR%%/lib/maven-artifact-3.2.5.jar
28
%%DATADIR%%/lib/maven-settings-3.0.5.jar
41
%%DATADIR%%/lib/maven-artifact.license
29
%%DATADIR%%/lib/maven-settings-builder-3.0.5.jar
42
%%DATADIR%%/lib/maven-compat-3.2.5.jar
43
%%DATADIR%%/lib/maven-compat.license
44
%%DATADIR%%/lib/maven-core-3.2.5.jar
45
%%DATADIR%%/lib/maven-core.license
46
%%DATADIR%%/lib/maven-embedder-3.2.5.jar
47
%%DATADIR%%/lib/maven-embedder.license
48
%%DATADIR%%/lib/maven-model-3.2.5.jar
49
%%DATADIR%%/lib/maven-model-builder-3.2.5.jar
50
%%DATADIR%%/lib/maven-model-builder.license
51
%%DATADIR%%/lib/maven-model.license
52
%%DATADIR%%/lib/maven-plugin-api-3.2.5.jar
53
%%DATADIR%%/lib/maven-plugin-api.license
54
%%DATADIR%%/lib/maven-repository-metadata-3.2.5.jar
55
%%DATADIR%%/lib/maven-repository-metadata.license
56
%%DATADIR%%/lib/maven-settings-3.2.5.jar
57
%%DATADIR%%/lib/maven-settings-builder-3.2.5.jar
58
%%DATADIR%%/lib/maven-settings-builder.license
59
%%DATADIR%%/lib/maven-settings.license
60
%%DATADIR%%/lib/org.eclipse.sisu.inject-0.3.0.M1.jar
61
%%DATADIR%%/lib/org.eclipse.sisu.inject.license
62
%%DATADIR%%/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar
63
%%DATADIR%%/lib/org.eclipse.sisu.plexus.license
30
%%DATADIR%%/lib/plexus-cipher-1.7.jar
64
%%DATADIR%%/lib/plexus-cipher-1.7.jar
65
%%DATADIR%%/lib/plexus-cipher.license
31
%%DATADIR%%/lib/plexus-component-annotations-1.5.5.jar
66
%%DATADIR%%/lib/plexus-component-annotations-1.5.5.jar
32
%%DATADIR%%/lib/plexus-interpolation-1.14.jar
67
%%DATADIR%%/lib/plexus-interpolation-1.21.jar
33
%%DATADIR%%/lib/plexus-sec-dispatcher-1.3.jar
68
%%DATADIR%%/lib/plexus-sec-dispatcher-1.3.jar
34
%%DATADIR%%/lib/plexus-utils-2.0.6.jar
69
%%DATADIR%%/lib/plexus-sec-dispatcher.license
35
%%DATADIR%%/lib/sisu-guava-0.9.9.jar
70
%%DATADIR%%/lib/plexus-utils-3.0.20.jar
36
%%DATADIR%%/lib/sisu-guice-3.1.0-no_aop.jar
71
%%DATADIR%%/lib/sisu-guice-3.2.3-no_aop.jar
37
%%DATADIR%%/lib/sisu-inject-bean-2.3.0.jar
72
%%DATADIR%%/lib/slf4j-api-1.7.5.jar
38
%%DATADIR%%/lib/sisu-inject-plexus-2.3.0.jar
73
%%DATADIR%%/lib/slf4j-api.license
39
%%DATADIR%%/lib/wagon-file-2.4.jar
74
%%DATADIR%%/lib/slf4j-simple-1.7.5.jar
40
%%DATADIR%%/lib/wagon-http-2.4-shaded.jar
75
%%DATADIR%%/lib/slf4j-simple.license
41
%%DATADIR%%/lib/wagon-provider-api-2.4.jar
76
%%DATADIR%%/lib/wagon-file-2.8.jar
77
%%DATADIR%%/lib/wagon-file.license
78
%%DATADIR%%/lib/wagon-http-2.8-shaded.jar
79
%%DATADIR%%/lib/wagon-http-shared-2.8.jar
80
%%DATADIR%%/lib/wagon-http-shared.license
81
%%DATADIR%%/lib/wagon-http.license
82
%%DATADIR%%/lib/wagon-provider-api-2.8.jar
83
%%DATADIR%%/lib/wagon-provider-api.license

Return to bug 188110