Skip to content

Commit

Permalink
bumped pom and build script to version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Jan 9, 2020
1 parent 4ac3d02 commit 33186bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions compileAndDeploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
exit_required=false

EMU_VERSION="1.1"

# get MM2 home
MM2_HOME=$1
if ! [ -d "$MM2_HOME" ]; then
Expand Down Expand Up @@ -28,10 +30,10 @@ if [ "$exit_required" = false ]; then
mvn clean package shade:shade -Dmaven.test.skip=true

# then deploy it to be used for plugins
mvn install:install-file -Dfile="target\EMU-1.0-SNAPSHOT.jar" -DgroupId=de.embl.rieslab -DartifactId=EMU -Dversion=1.0-SNAPSHOT -Dpackaging=jar
mvn install:install-file -Dfile="target\EMU-$EMU_VERSION.jar" -DgroupId=de.embl.rieslab -DartifactId=EMU -Dversion=$EMU_VERSION -Dpackaging=jar

# finally copy the jar to MM
cp "target\EMU-1.0-SNAPSHOT.jar" "$MM2_PLUGINS_HOME\EMU-1.0.jar"
cp "target\EMU-$EMU_VERSION.jar" "$MM2_PLUGINS_HOME\EMU-$EMU_VERSION.jar"

# test if the EMU folder exist, otherwise create it
MM2_EMU="$MM2_HOME\EMU"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>de.embl.rieslab</groupId>
<artifactId>emu</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1</version>

<name>Easier Micro-manager User interface</name>
<description>A plugin for Micro-manager that loads UIs and interface them with device properties.</description>
Expand Down

0 comments on commit 33186bb

Please sign in to comment.