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--> <!--see KEYCLOAK-4793-->
<id>kie.maven.settings</id> <id>kie.maven.settings</id>
<activation> <activation>
<property> <activeByDefault>true</activeByDefault>
<name>repo.url</name>
</property>
</activation> </activation>
<properties> <properties>
<maven.repo.local>${user.home}/.m2/repository</maven.repo.local> <maven.repo.local>${user.home}/.m2/repository</maven.repo.local>
<settings.path>${user.home}/.m2/settings.xml</settings.path> <settings.path>${user.home}/.m2/settings.xml</settings.path>
<repo.url/>
<kie.maven.settings> <kie.maven.settings>
-Dkie.maven.settings.custom=${settings.path} -Dkie.maven.settings.custom=${settings.path}
-Dkie.maven.repo.local=${maven.repo.local} -Dkie.maven.repo.local=${maven.repo.local}

View file

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