-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-igb.sh
19 lines (11 loc) · 880 Bytes
/
install-igb.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
sudo apt-get install -y openjdk-11-jdk apache2 maven
git clone https://bitbucket.org/lorainelab/integrated-genome-browser
cd integrated-genome-browser
sed -i '/maven.compiler.source/ c\ <maven.compiler.source>11</maven.compiler.source>' pom.xml
sed -i '/maven.compiler.target/ c\ <maven.compiler.target>11</maven.compiler.target>' pom.xml
sed -i '/maven.compiler.source/ c\ <maven.compiler.source>11</maven.compiler.source>' plugins/cache/pom.xml
sed -i '/maven.compiler.target/ c\ <maven.compiler.target>11</maven.compiler.target>' plugins/cache/pom.xml
sed -i '/maven.compiler.source/ c\ <maven.compiler.source>11</maven.compiler.source>' plugins/cache-api/pom.xml
sed -i '/maven.compiler.target/ c\ <maven.compiler.target>11</maven.compiler.target>' plugins/cache/pom.xml
mvn clean install -DskipTests=true