Skip to content

Commit

Permalink
Fix scoping of maven enforcer evaluations
Browse files Browse the repository at this point in the history
By default maven enforcer uses global scope of variables.
That means that during parallel builds (-T maven option) its possible
that variables with the same name used in different modules enforcer rules
will interfere.
PR changes scoping of variables to be local instead of global.
  • Loading branch information
MishaDemianenko committed Jun 13, 2018
1 parent 466a9db commit ca2072e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -656,7 +656,7 @@
<rules>
<evaluateBeanshell>
<message>Maven module has to be in a "groupId" beginning with "org.neo4j"</message>
<condition>String s = "${project.groupId}"; s.startsWith("org.neo4j")</condition>
<condition>{String s = "${project.groupId}"; s.startsWith("org.neo4j");}</condition>
</evaluateBeanshell>
<requireFilesDontExist>
<message>You are not allowed to have classes in "com" package</message>
Expand Down

0 comments on commit ca2072e

Please sign in to comment.