dnet45/modules/dnet-mapreduce-jobs/branches/beta/install.sh @ 56165
1 | 26600 | sandro.lab | #!/bin/bash
|
---|---|---|---|
2 | |||
3 | 42423 | claudio.at | VERSION=`xmlstarlet sel -t -m "/_:project/_:version" -v "." pom.xml` |
4 | echo "using version: $VERSION" |
||
5 | |||
6 | 40063 | alessia.ba | mvn clean install; |
7 | 26600 | sandro.lab | rm -rf ~/.m2/repository/eu/dnetlib/dnet-mapreduce-jobs-assembly; |
8 | 42423 | claudio.at | 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 |