Hi.
I had the same issue trying to compiling Jira Software version 7.2.12.
I solved the issue adding an exception on rules of build. I changed the file <SOURCE_DIR>/jira-project/pom.xml, adding the following exclusion:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.2</version>
<configuration>
<rules>
<banVersionDeps implementation="com.atlassian.maven.enforcer.BanVersionDeps">
<bannedDependencyVersionRegexp>(?i)^.*-(rc|m)-?[0-9]+(-.+)?$</bannedDependencyVersionRegexp>
<noFailReactorVersionRegexp>(?i)^.*-m-?[0-9]+(-.+)?$</noFailReactorVersionRegexp>
<excludes>
<!-- Version being used is an RC with no newer GA release -->
<exclude>com.atlassian.crowd:*</exclude>
<exclude>net.fortuna.ical4j:ical4j</exclude>
<!-- Version being used is a milestone with no newer GA release -->
<exclude>com.atlassian.extension:*</exclude>
<exclude>com.atlassian.jira.plugins.inline-create:*</exclude>
<exclude>rhino:js:*</exclude>
<exclude>com.atlassian.plugins:atlassian-plugins-osgi-bridge:*</exclude>
<!-- exclusion added here -->
<exclude>com.atlassian.browsers:atlassian-browsers-windows:*</exclude>
</excludes>
</banVersionDeps>
</rules>
</configuration>