Do not allow version or release to contain dashes

The RPM file specification does not allow the version or release to
contain dashes, so throw IllegalArgumentException if they are set.

Also had to adjust pom to get tests to run.