Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ if [ "0" != "$status" ] ; then
exit
fi

jarsigner -keystore keystore.p12 -storetype PKCS12 -storepass changeit "target/${PACKAGE_JAR}" mirth-client-plugins
if [ -f keystore.p12 ] ; then
jarsigner -keystore keystore.p12 -storetype PKCS12 -storepass changeit "target/${PACKAGE_JAR}" mirth-client-plugins
else
echo "*********"
echo "No keystore.p12 file exists for signing. The plug-in will not be signed."
echo "*********"
fi

# Use a separate directory for ZIP assembly
rm -rf "${PACKAGE_NAME}"
Expand All @@ -40,3 +46,6 @@ zip -r9 "target/${PACKAGE_ZIP}" "${PACKAGE_NAME}"

rm -rf "${PACKAGE_NAME}"

echo "Build complete."
echo "You can find your plug-in artifact in target/${PACKAGE_ZIP}"

13 changes: 13 additions & 0 deletions libs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# libs

Libraries which have been manually installed instead of located via Maven.

You can fetch the libraries necessary to build this plug-in like this:

```
# Extract the required dependencies
$ tar xvzf oie_unix_4_5_2.tar.gz -C libs/ oie/client-lib/mirth-client.jar oie/server-lib/mirth-server.jar oie/cli-lib/mirth-client-core.jar

# Move out of subdirectories
$ mv libs/oie/*/*.jar libs/

# Clean up
$ rm -rf libs/oie
```
35 changes: 7 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,53 +12,32 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>com.mirth</groupId>
<artifactId>server</artifactId>
<version>3.8.0</version>
<version>4.5.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/mirth-server.jar</systemPath>
</dependency>
<dependency>
<groupId>com.mirth</groupId>
<artifactId>client-core</artifactId>
<version>3.8.0</version>
<version>4.5.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/mirth-client-core.jar</systemPath>
</dependency>
<dependency>
<groupId>com.mirth</groupId>
<artifactId>client</artifactId>
<version>3.8.0</version>
<version>4.5.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/mirth-client.jar</systemPath>
</dependency>
<dependency>
<groupId>org.jdesktop</groupId>
<artifactId>swingx-core</artifactId>
<version>1.6.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/swingx-core-1.6.2.jar</systemPath>
</dependency>
<dependency>
<groupId>net.miginfocom</groupId>
<artifactId>miglayout-swing</artifactId>
<version>4.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/miglayout-swing-4.2.jar</systemPath>
</dependency>
<dependency>
<groupId>net.miginfocom</groupId>
<artifactId>miglayout-core</artifactId>
<version>4.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/miglayout-core-4.2.jar</systemPath>
</dependency>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -69,13 +48,13 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>5.2.1</version>
<version>12.1.8</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
Expand Down