41 || exit_on_error "Creating install directory failed." |
42 || exit_on_error "Creating install directory failed." |
42 |
43 |
43 # |
44 # |
44 # install the JAR file |
45 # install the JAR file |
45 # |
46 # |
46 echo "cp ../target/uwproj-0.2.0-SNAPSHOT-jar-with-dependencies.jar $PREFIX/lib/uwproj/uwproj-0.2.0-SNAPSHOT.jar" |
47 echo "cp ../target/uwproj-$VERSION-jar-with-dependencies.jar $PREFIX/lib/uwproj/uwproj-$VERSION.jar" |
47 cp "../target/uwproj-0.2.0-SNAPSHOT-jar-with-dependencies.jar" "$PREFIX/lib/uwproj/uwproj-0.2.0-SNAPSHOT.jar" \ |
48 cp "../target/uwproj-$VERSION-jar-with-dependencies.jar" "$PREFIX/lib/uwproj/uwproj-$VERSION.jar" \ |
48 || exit_on_error "Installing JAR file failed." |
49 || exit_on_error "Installing JAR file failed." |
49 |
50 |
50 # |
51 # |
51 # create a run script in the bin dir |
52 # create a run script in the bin dir |
52 # |
53 # |