3 echo -n "Clear eclipse project? [y,N]"
6 if [ "$choice" == "y" ]; then
7 #remove all ".classpath" and ".project" files and ".settings" folders
8 find .
-type f \
( -name ".classpath" -o -name "*.project" \
) -prune -exec rm -f {} \
;
9 find .
-type d
-name ".settings" -prune -exec rm -rf {} \
;
12 echo -n "Use the local repo? [y,N]"
15 if [ "$choice" == "y" ]; then
16 mvn_profile
='-P local-repository'
19 # cp -f eu.etaxonomy.taxeditor.cdmlib/.classpath.template eu.etaxonomy.taxeditor.cdmlib/.classpath
21 mvn clean
install -U -DskipTests -DskipITs
22 mvn
$mvn_profile -U -Dlocalrepo=~
/.m
2/repository validate
-pl eu.etaxonomy.taxeditor.cdmlib
,eu.etaxonomy.taxeditor.molecular.lib