This project is a set of interfaces and classes that separate changes of states from the effect of those changes.
To include those in your project as a Maven dependency, include the following to your pom.xml file:
<repositories>
...
<repository>
<id>state-machine-mvn-repo</id>
<url>https://raw.github.com/ll-h/java7-state-machine/mvn-repo/</url>
</repository>
</repositories>
...
</dependencies>
...
<dependency>
<groupId>com.lhl.java7.utils</groupId>
<artifactId>state-machine</artifactId>
<version>0.2</version>
</dependency>
</dependencies>