Project

General

Profile

Download (622 Bytes) Statistics
| Branch: | Tag: | Revision:
1 e4e551bd Andreas Kohlbecker
#!/bin/bash
2
3 6a62b0e6 Andreas Kohlbecker
echo -n "Clear eclipse project? [y,N]"
4 e1e6ddc7 Andreas Kohlbecker
read choice
5
6
if [ "$choice" == "y" ]; then
7 f1ae6ccd Patrick Plitzner
	find . -type f \( -name ".classpath" -o -name "*.project" \) -prune -exec rm -f {} \;
8
	find . -type d -name ".settings" -prune -exec rm -rf {} \;
9 e1e6ddc7 Andreas Kohlbecker
fi
10
11 6a62b0e6 Andreas Kohlbecker
echo -n "Use the local repo? [y,N]"
12 e4e551bd Andreas Kohlbecker
read choice
13
14
if [ "$choice" == "y" ]; then
15
  mvn_profile='-P local-repository'
16
fi
17
18 2cd5eebf Andreas Kohlbecker
# cp -f eu.etaxonomy.taxeditor.cdmlib/.classpath.template eu.etaxonomy.taxeditor.cdmlib/.classpath
19
20 e4e551bd Andreas Kohlbecker
mvn clean install -DskipTests
21
mvn $mvn_profile  -Dlocalrepo=~/.m2/repository validate -pl eu.etaxonomy.taxeditor.cdmlib,eu.etaxonomy.taxeditor.molecular.lib