taxeditor/setup-project.sh @ 2cd5eebf
1 | e4e551bd | Andreas Kohlbecker | #!/bin/bash
|
---|---|---|---|
2 | |||
3 | echo -n "Use the local repo? [y,n]" |
||
4 | read choice
|
||
5 | |||
6 | if [ "$choice" == "y" ]; then |
||
7 | mvn_profile='-P local-repository' |
||
8 | fi
|
||
9 | |||
10 | 2cd5eebf | Andreas Kohlbecker | # cp -f eu.etaxonomy.taxeditor.cdmlib/.classpath.template eu.etaxonomy.taxeditor.cdmlib/.classpath
|
11 | |||
12 | e4e551bd | Andreas Kohlbecker | mvn clean install -DskipTests |
13 | mvn $mvn_profile -Dlocalrepo=~/.m2/repository validate -pl eu.etaxonomy.taxeditor.cdmlib,eu.etaxonomy.taxeditor.molecular.lib |