UmVirt LFS Package info

📦Package info

🔙Parent Directory  -

DB commit: d35a620850806ab581b32cb34d268a904c9c0a5f
APP commit:
[ BASH | XML | JSON ]

apache-maven

Apache-Maven is a tool that can be used for building and managing any Java-based project. Based on the concept of a project object model (POM), Apache-Maven can manage a project's build, reporting and documentation from a central piece of information.

Package info

Codename: apache-maven
Source file: apache-maven-3.6.1-src.tar.gz
Source directory: apache-maven-3.6.1
Package URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/a/apache-maven-3.6.1-src.tar.gz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.1/packages/a/apache-maven-3.6.1-src.tar.gz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: *** NO PACKAGES FOUND ***
Patches: *** NO PATCHES FOUND ***
Addons: apache-maven-3.5.4-bin.tar.gz, maven2-maven3.6.1.tar.gz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -e '/-surefire-/a<version>2.21.0</version>' \
    -e '/<commonsLang/s/3\.5/3.7/'              \
    -i pom.xml

tar -xf ../maven2-maven3.6.1.tar.gz
mkdir ~/.m2
mkdir ~/.m2/repository/
cp -rv maven2/* ~/.m2/repository/

install -vdm 755 ../apache-maven-bin     

tar -xf ../apache-maven-3.5.4-bin.tar.gz \
    --strip-components=1                 \
    --directory ../apache-maven-bin      

SAVEPATH=$PATH  
PATH=../apache-maven-bin/bin:$PATH 


Build script:
mvn -DdistributionTargetDir=build \
    package -Dmaven.test.skip=true \
    -DskipTests=true -DskipITs \
    -Drat.numUnapprovedLicenses=100000 

Install script:
install -vdm 755            /opt/maven-3.6.1 &&
cp -Rv apache-maven/build/* /opt/maven-3.6.1 &&
ln -sfvn maven-3.6.1 /opt/maven

#PATH=\$SAVEPATH &&
#rm -rf ../apache-maven-bin

cat > /etc/profile.d/maven.sh << "EOF"
# Begin /etc/profile.d/maven.sh

pathappend /opt/maven/bin

# End /etc/profile.d/maven.sh
EOF

. /etc/profile


Comments:

  1. Autonomous compilation.


Apache/2.4.62 (Debian) Server at ulfs.org Port 443