dnet45/modules/dnet-mapreduce-jobs/trunk/install.sh @ 63331
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 |