# maven/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "maven" needs Internet access and compatible websites in order to be built. So, the "maven" build procedure isn't guaranteed to work in the future. This is one of a limited number of packages of this type that this distro includes. #--------------------------------------------------------------------- 2. The "maven" package needs a previous binary copy of "maven" in order to build. The previous binary copy should be stored in a tarball named as fol- lows: maven-oldexe64.tar.bz2 The tarball should contain a directory named "maven-oldexe64" which contains the standard "maven" sub-directories "bin", "lib", etc. The previous binary copy should be compatible with the architecture that "maven" is being built for. #--------------------------------------------------------------------- [buildtimes] #--------------------------------------------------------------------- [settings] altpkg = yes configure = none defer = glibc64 strip = no nosyslinks = yes tmpsize = 62M #--------------------------------------------------------------------- [depends] ant-jdk15 javacerts openjdk15 #--------------------------------------------------------------------- [build] PROGDIR=$PKGDIR_PROD/program rm -fr $PROGDIR TMPBIN=/tmp/maven rm -fr $TMPBIN mkdir $TMPBIN pushd $TMPBIN tar jxf $PKGDIR_SPECIAL/maven-oldexe64.tar.bz2 cd maven-oldexe64/bin PATH=`pwd`:$PATH popd tar jxf $PKGDIR_SPECIAL/mavenjars.tar.bz2 mvn -DdistributionTargetDir=build clean package mv apache-maven/build $PROGDIR rm -fr $TMPBIN #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = tbd url_lfs = tbd url_tarball = https://archive.apache.org/dist/maven/maven-3/\ 3.6.3/source/apache-maven-3.6.3-src.tar.gz #--------------------------------------------------------------------- [history] 210509 Added package. Started with 3.6.3.