[arch-commits] Commit in maven/repos/community-any (4 files)

Levente Polyak anthraxx at archlinux.org
Tue Nov 6 02:15:54 UTC 2018


    Date: Tuesday, November 6, 2018 @ 02:15:53
  Author: anthraxx
Revision: 401686

archrelease: copy trunk to community-any

Added:
  maven/repos/community-any/PKGBUILD
    (from rev 401685, maven/trunk/PKGBUILD)
  maven/repos/community-any/maven.sh
    (from rev 401685, maven/trunk/maven.sh)
Deleted:
  maven/repos/community-any/PKGBUILD
  maven/repos/community-any/maven.sh

----------+
 PKGBUILD |  106 +++++++++++++++++++++++++++++++------------------------------
 maven.sh |   10 ++---
 2 files changed, 59 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 02:15:47 UTC (rev 401685)
+++ PKGBUILD	2018-11-06 02:15:53 UTC (rev 401686)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=maven
-pkgver=3.5.4
-pkgrel=1
-pkgdesc='Java project management and project comprehension tool'
-url='https://maven.apache.org'
-arch=('any')
-license=('APACHE')
-depends=('java-environment=8' 'bash' 'procps-ng')
-makedepends=('maven' 'java-environment=8')
-backup=('opt/maven/conf/settings.xml')
-source=(https://www-eu.apache.org/dist/maven/maven-3/${pkgver}/source/apache-maven-${pkgver}-src.tar.gz{,.asc}
-        maven.sh)
-validpgpkeys=('042B29E928995B9DB963C636C7CA19B7B620D787') # StephenConnolly<stephenc at apache.org>
-sha256sums=('f3ba1f1b24bbd4c345174ac616d40e26e72dad6022d56317d3ff6f7dd003e2f5'
-            'SKIP'
-            '24dc65607ff9e25c74ff2f75711911471910eaf415bce1856789c9d047209b8b')
-
-build() {
-  cd apache-maven-${pkgver}
-
-  . /etc/profile.d/jre.sh
-
-  mvn package \
-    -Dmaven.repo.local="${srcdir}/repo" \
-    -Dproject.build.sourceEncoding=UTF-8 -e
-}
-
-package() {
-  cd apache-maven-${pkgver}
-
-  . /etc/profile.d/jre.sh
-
-  install -Dm 755 ../maven.sh -t "${pkgdir}/etc/profile.d"
-  install -d "${pkgdir}/opt/maven"
-
-  # skip tests as they were already executed
-  mvn install \
-    -Dmaven.repo.local="${srcdir}/repo" \
-    -Dproject.build.sourceEncoding=UTF-8 -e \
-    -DdistributionTargetDir="${pkgdir}/opt/maven" \
-    -DskipTests -Dmaven.test.skip=true
-
-  install -d "${pkgdir}/usr/bin"
-  ln -s /opt/maven/bin/mvn "${pkgdir}/usr/bin/mvn"
-  ln -s /opt/maven/bin/mvnDebug "${pkgdir}/usr/bin/mvnDebug"
-}
-
-# vim: ts=2 sw=2 et:

Copied: maven/repos/community-any/PKGBUILD (from rev 401685, maven/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-06 02:15:53 UTC (rev 401686)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=maven
+pkgver=3.6.0
+pkgrel=1
+pkgdesc='Java project management and project comprehension tool'
+url='https://maven.apache.org'
+arch=('any')
+license=('APACHE')
+depends=('java-environment>=7' 'bash' 'procps-ng')
+makedepends=('maven' 'java-environment=8')
+backup=('opt/maven/conf/settings.xml')
+source=(https://www-eu.apache.org/dist/maven/maven-3/${pkgver}/source/apache-maven-${pkgver}-src.tar.gz{,.asc}
+        maven.sh)
+# https://www.apache.org/dist/maven/KEYS
+validpgpkeys=(
+  '042B29E928995B9DB963C636C7CA19B7B620D787' # StephenConnolly<stephenc at apache.org>
+  'AE9E53FC28FF2AB1012273D0BF1518E0160788A2' # Karl Heinz Marbaise (ASF Key) <khmarbaise at apache.org>
+)
+sha256sums=('b31c0a4d5b76151a0cbef657e332585a6b7604c39754b4ed93c914cbb1c3599e'
+            'SKIP'
+            '24dc65607ff9e25c74ff2f75711911471910eaf415bce1856789c9d047209b8b')
+
+build() {
+  cd apache-maven-${pkgver}
+
+  export PATH="/usr/lib/jvm/java-8-openjdk/bin:${PATH}"
+  mvn package \
+    -Dmaven.repo.local="${srcdir}/repo" \
+    -Dproject.build.sourceEncoding=UTF-8 -e
+}
+
+package() {
+  cd apache-maven-${pkgver}
+
+  install -Dm 755 ../maven.sh -t "${pkgdir}/etc/profile.d"
+  install -d "${pkgdir}/opt/maven"
+
+  # skip tests as they were already executed
+  export PATH="/usr/lib/jvm/java-8-openjdk/bin:${PATH}"
+  mvn install \
+    -Dmaven.repo.local="${srcdir}/repo" \
+    -Dproject.build.sourceEncoding=UTF-8 -e \
+    -DdistributionTargetDir="${pkgdir}/opt/maven" \
+    -DskipTests -Dmaven.test.skip=true
+
+  install -d "${pkgdir}/usr/bin"
+  ln -s /opt/maven/bin/mvn "${pkgdir}/usr/bin/mvn"
+  ln -s /opt/maven/bin/mvnDebug "${pkgdir}/usr/bin/mvnDebug"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: maven.sh
===================================================================
--- maven.sh	2018-11-06 02:15:47 UTC (rev 401685)
+++ maven.sh	2018-11-06 02:15:53 UTC (rev 401686)
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-export MAVEN_OPTS=-Xmx512m
-#export M2_HOME=/opt/maven
-#export PATH=$PATH:$M2_HOME/bin

Copied: maven/repos/community-any/maven.sh (from rev 401685, maven/trunk/maven.sh)
===================================================================
--- maven.sh	                        (rev 0)
+++ maven.sh	2018-11-06 02:15:53 UTC (rev 401686)
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+export MAVEN_OPTS=-Xmx512m
+#export M2_HOME=/opt/maven
+#export PATH=$PATH:$M2_HOME/bin


More information about the arch-commits mailing list