dnet40/modules/dnet-mapreduce-jobs/tags/dnet-mapreduce-jobs-0.0.9.6-PIWIK/install.sh @ 53439
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; |
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 |