pkgsrc/devel/apache-maven/Makefile
yyamano 8f0bb03ea7 Update apache-maven to 3.6.3. Closes PR pkg/55221.
The patch is provided by Vicente Chaves. Thank you!

Changes from Maven 3.6.2 to 3.6.3

* This is a regression release to fix some critical issues shipped with 3.6.2.
* Some license issues on binary distribution have been fixed.
* This Maven distribution is now Reproducible: if you download Maven source
  archive (apache-maven-3.6.3-src.zip or .tar.gz), build it on Windows with
  JDK 8 using following command:

See https://maven.apache.org/docs/3.6.3/release-notes.html for the detailed issue list.

Changes from Maven 3.6.1 to 3.6.2

* This release focuses mostly performance improvements, better memory footprint,
  and less CPU usage.
* We are continuing to convert Maven Core to use JSR 330 annotations instead of
  Plexus (still not finished, see MNG-5577).
* New support for 'release' qualifier (see MNG-6655).
* The toolchain.xml file supports environment variables (see MNG-6665).

See https://maven.apache.org/docs/3.6.2/release-notes.html for the detailed issue list.

Changes from Maven 3.6.0 to 3.6.1

* An issue has been fixed causing multiple executions of plugin goals, related
  to using parallel build options like mvn plugin:goal -T 4. This resulted in
  duplicated executions of phases. This has been fixed with MNG-5965.
* NullPointerException related to call in parallel build like mvn -T 1C clean
  javadoc:aggregate MNG-5705
* A performance issue related to artifact transfer has been found related to
  WAGON-537. It has been solved via the update to Maven Wagon 3.3.1.
* There had been issues related calling Maven script like this: mvn -f ..
* Having parentheses within the path, which has been fixed with MNG-6346.
* Script can break having special characters as part of the path, which has been
  solved with MNG-6256.
* Issue related to the Maven Resolver API which broke some IDEs (for example
  https://youtrack.jetbrains.com/issue/IDEA-201282); this has been fixed by MNG-6538.
* Issue related to missing event for ToolchainsBuildingResult on EventSpy MNG-6558.
* Issue related to support Java 9+ ClassLoader.findClass(String moduleName,
  String name) in Mojos. This has been fixed with MNG-6543.
* Improvement about the memory consumption has been done with MNG-6571.
* Issue related to relative parent POM resolution failing in 3.5.0 with complex
  multimodule builds has been fixed with MNG-6261.
* Missing export for org.slf4j.event.Level has been done with MNG-6618

See https://maven.apache.org/docs/3.6.1/release-notes.html for the detailed issue list.

# Changes from Maven 3.5.4 to 3.6.0

* There had been issues related to the project discoverytime which has been
  increased in previous version which influenced some of our users. This should
  have been fixed MNG-6311, MNG-6383 and MNG-6412.
* The output in the reactor summary has been improved MNG-6391 cause it confused
  people.
* There was an issue related to the classpath ordering MNG-6415 in Maven which
  can cause issues which has been fixed.
See https://maven.apache.org/docs/3.6.0/release-notes.html for the detailed issue list.
2020-06-29 12:39:54 +00:00

49 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2020/06/29 12:39:54 yyamano Exp $
#
DISTNAME= apache-maven-3.6.3
CATEGORIES= devel java
MASTER_SITES= ${MASTER_SITE_APACHE:=maven/maven-3/${PKGVERSION_NOREV}/binaries/}
DISTFILES= ${DISTNAME}-bin${EXTRACT_SUFX}
MAINTAINER= yyamano@NetBSD.org
HOMEPAGE= https://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"