pkgsrc/devel/apache-maven/Makefile
prlw1 6608644c3c Update apache-maven to 3.5.4
Overview about the changes

   This release is primarily aimed to resolve the two regressions
   introduced in the 3.5.3 release, specifically MNG-6372 and MNG-6388.

   There are some additional minor improvements, the most notable of which
   is:
     * The Maven Super POM changes the default execution of the
       maven-source-plugin jar goal into jar-no-fork which should resolve
       some issues complex projects had running releases.

The detailed issue list

Bugs

     * MNG-6370 ConcurrencyDependencyGraph#getNumberOfBuilds() does not
       remove finished projects from unfinished ones
     * MNG-6372 On Windows Maven can output spurious ANSI escapes such as
       [0m [0m
     * MNG-6382 JANSI fails frequently with NumberFormatException when
       building in parallel
     * MNG-6386 ${project.baseUri} is not a valid URI (according to RFC
       3986)
     * MNG-6388 Error Fetching Artifacts: “[B cannot be cast to
       java.lang.String”
     * MNG-6403 Artifact#VERSION_FILE_PATTERN does not escape period
       between date and time
     * MNG-6410 Add groupId to --resume-from suggestion if artifactId is
       not unique in reactor

Improvements

     * MNG-5756 Java home output in mvn -v is misleading
     * MNG-5940 Change the maven-source-plugin jar goal into jar-no-fork
       in Maven Super POM
     * MNG-6362 Add documentation information for GitHub
     * MNG-6363 Remove secret thread configuration property from code
     * MNG-6364 Enhanced Jenkinsfile to test Core with JDK 9
     * MNG-6411 Improve readability of project list returned when
       --resume-from option value is invalid

Tasks

     * MNG-6377 switch from Git-WIP to Gitbox

Dependency upgrades

     * MNG-6344 Upgrade Guice to 4.2.0
     * MNG-6423 Upgrade to Wagon 3.1.0

https://maven.apache.org/docs/3.5.4/release-notes.html
2018-08-21 15:22:01 +00:00

49 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2018/08/21 15:22:01 prlw1 Exp $
#
DISTNAME= apache-maven-3.5.4
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=maven/maven-3/${PKGVERSION_NOREV}/binaries/}
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= yyamano@NetBSD.org
HOMEPAGE= http://maven.apache.org/
COMMENT= Apache Project's software project management and comprehension tool
LICENSE= apache-2.0
USE_JAVA= run
USE_JAVA2= 7
USE_TOOLS+= pax
NO_BUILD= yes
SUBST_CLASSES+= maven
SUBST_FILES.maven= bin/m2.conf bin/mvn
SUBST_STAGE.maven= pre-configure
SUBST_VARS.maven= PKG_JAVA_HOME PKG_SYSCONFDIR PREFIX
INSTALLATION_DIRS= bin etc/maven lib/java/maven lib/java/maven/boot \
share/doc/java/maven share/examples/maven \
share/examples/maven/logging
PKG_SYSCONFSUBDIR= maven
MAKE_DIRS+= ${PKG_SYSCONFDIR}/logging
CONF_FILES= share/examples/maven/m2.conf \
${PKG_SYSCONFDIR}/m2.conf
CONF_FILES+= share/examples/maven/settings.xml \
${PKG_SYSCONFDIR}/settings.xml
CONF_FILES+= share/examples/maven/logging/simplelogger.properties \
${PKG_SYSCONFDIR}/logging/simplelogger.properties
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/mvn ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/bin/m2.conf ${DESTDIR}${PREFIX}/share/examples/maven
${INSTALL_DATA} ${WRKSRC}/conf/settings.xml ${DESTDIR}${PREFIX}/share/examples/maven
${INSTALL_DATA} ${WRKSRC}/conf/logging/simplelogger.properties ${DESTDIR}${PREFIX}/share/examples/maven/logging
${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 ${DESTDIR}${PREFIX}/share/doc/java/maven
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/java/maven
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"