Project

General

Profile

1
#!/bin/bash
2

    
3
VERSION=`xmlstarlet sel -t -m "/_:project/_:version" -v "." pom.xml`
4
echo "using version: $VERSION"
5

    
6
mvn clean install -DskipTests=true;
7
rm -rf ~/.m2/repository/eu/dnetlib/dnet-mapreduce-jobs-assembly;
8
mvn assembly:assembly -DskipTests=true && mvn install:install-file -Dfile=target/dnet-mapreduce-jobs-$VERSION-jar-with-dependencies.jar -DgroupId=eu.dnetlib -DartifactId=dnet-mapreduce-jobs-assembly -Dversion=$VERSION -Dpackaging=jar
(2-2/5)