KEYCLOAK-4793 Fix authorization services maven scanner properties in base testsuite for product

This commit is contained in:
mhajas 2018-01-19 11:12:42 +01:00
parent 502627f590
commit 2a2f255640
2 changed files with 3 additions and 4 deletions

View file

@ -253,13 +253,12 @@
<!--see KEYCLOAK-4793-->
<id>kie.maven.settings</id>
<activation>
<property>
<name>repo.url</name>
</property>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<maven.repo.local>${user.home}/.m2/repository</maven.repo.local>
<settings.path>${user.home}/.m2/settings.xml</settings.path>
<repo.url/>
<kie.maven.settings>
-Dkie.maven.settings.custom=${settings.path}
-Dkie.maven.repo.local=${maven.repo.local}

View file

@ -97,7 +97,7 @@ public class RulesPolicyManagementTest extends AbstractPolicyManagementTest {
representation.setLogic(Logic.NEGATIVE);
representation.setArtifactGroupId("org.keycloak");
representation.setArtifactId("photoz-authz-policy");
representation.setArtifactVersion(Version.VERSION);
representation.setArtifactVersion(System.getProperty("project.version"));
representation.setModuleName("PhotozAuthzOwnerPolicy");
representation.setSessionName("MainOwnerSession");
representation.setScannerPeriod("1");