Merge pull request #4465 from vramik/KEYCLOAK-4793

KEYCLOAK-4793 add kie.maven.settings.custom property to tests
This commit is contained in:
Pavel Drozd 2017-09-11 11:55:13 +02:00 committed by GitHub
commit 9032889c15
2 changed files with 24 additions and 1 deletions

View file

@ -86,6 +86,7 @@
${migration.import.properties}
${auth.server.profile}
${auth.server.feature}
${kie.maven.settings}
</property>
<property name="javaVmArguments">
${auth.server.jboss.jvm.debug.args}

View file

@ -90,6 +90,8 @@
<adapter.test.props/>
<migration.import.properties/>
<kie.maven.settings/>
<examples.home>${project.build.directory}/examples</examples.home>
<browser>htmlUnit</browser>
@ -248,6 +250,7 @@
<adapter.test.props>${adapter.test.props}</adapter.test.props>
<migration.import.properties>${migration.import.properties}</migration.import.properties>
<kie.maven.settings>${kie.maven.settings}</kie.maven.settings>
<testsuite.constants>${testsuite.constants}</testsuite.constants>
<cli.log.output>${cli.log.output}</cli.log.output>
@ -1256,6 +1259,25 @@
</properties>
</profile>
<profile>
<!--see KEYCLOAK-4793-->
<id>kie.maven.settings</id>
<activation>
<property>
<name>repo.url</name>
</property>
</activation>
<properties>
<maven.repo.local>${user.home}/.m2/repository</maven.repo.local>
<settings.path>${user.home}/.m2/settings.xml</settings.path>
<kie.maven.settings>
-Dkie.maven.settings.custom=${settings.path}
-Dkie.maven.repo.local=${maven.repo.local}
-Drepo.url=${repo.url}
</kie.maven.settings>
</properties>
</profile>
</profiles>
</project>