fix #9199: layout issues in nomenclatural source details and external links
[taxeditor.git] / setup-project.sh
index 709386e2a50f7eab9afae9ce8d59b40ff6dce38b..8a319709b1945ef26e9d9dbb5d78edf8fee28b82 100755 (executable)
@@ -4,8 +4,8 @@ echo -n "Clear eclipse project? [y,N]"
 read choice
 
 if [ "$choice" == "y" ]; then
-       find -type f -name ".classpath" -or -name ".project" -prune -exec rm -f {} \;
-       find -type d -name ".settings" -prune -exec rm -rf {} \;
+       find . -type f \( -name ".classpath" -o -name "*.project" \) -prune -exec rm -f {} \;
+       find -type d -name ".settings" -prune -exec rm -rf {} \;
 fi
 
 echo -n "Use the local repo? [y,N]"
@@ -17,5 +17,5 @@ fi
 
 # cp -f eu.etaxonomy.taxeditor.cdmlib/.classpath.template eu.etaxonomy.taxeditor.cdmlib/.classpath
 
-mvn clean install -DskipTests
-mvn $mvn_profile  -Dlocalrepo=~/.m2/repository validate -pl eu.etaxonomy.taxeditor.cdmlib,eu.etaxonomy.taxeditor.molecular.lib
+mvn clean install -U -DskipTests -DskipITs
+mvn $mvn_profile  -U -Dlocalrepo=~/.m2/repository validate -pl eu.etaxonomy.taxeditor.cdmlib,eu.etaxonomy.taxeditor.molecular.lib