JUnique - Helps in preventing multiple instances of the same application - aka AppMutex.
This as a clone of JUnique, published and hosted here on GitHub.
Version 1.0.4 is a precise duplicate of the original 1.0.4, except for adjusted layout for Maven copatibility.
(The original Ant build.xml
will not work anymore as-is, but is left in place for reference.)
The artifact is hosted on GitHub (for now).
In your pom.xml
, include the following to items - under "repositories" and "dependencies":
<repositories>
...
<repository>
<id>github-terjedahl-junique</id>
<name>GitHub TerjeDahl JUnique</name>
<!--<url>https://github.com/terjedahl/junique/tree/master/maven2</url>-->
<url>https://raw.githubusercontent.com/terjedahl/junique/master/maven2</url>
</repository>
...
</repositories>
<dependencies>
...
<dependency>
<groupId>it.sauronsoftware</groupId>
<artifactId>junique</artifactId>
<version>1.0.4</version>
</dependency>
...
</dependencies>