[
https://issues.jboss.org/browse/ARQ-2052?page=com.atlassian.jira.plugin.s...
]
Matous Jobanek commented on ARQ-2052:
-------------------------------------
Hi,
you can have several arquillian.xml files and invoke them either using the parameter
{{-Darquillian.xml=/path/to/arquillian.xml}}
or {{maven-surefire-plugin}} configuration in several profiles:
{code:xml}
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<arquillian.xml>/path/to/arquillian.xml</arquillian.xml>
</systemPropertyVariables>
</configuration>
</plugin>
{code}
In similar way, you can set the variables you are using in arquillian.xml file
Profiles in arquillian.xml
--------------------------
Key: ARQ-2052
URL:
https://issues.jboss.org/browse/ARQ-2052
Project: Arquillian
Issue Type: Feature Request
Components: Configuration
Environment: Development
Reporter: Rafael Garcia
Priority: Minor
Hi,
Could It set the *arquillian.xml* file for different environments or profiles??
For example:
{code:java}
<property name="username">${jira.username}</property>
<property name="password">${jira.password}</property>
<property name="server">${jira.url}</property>
{code}
On the other hand, we have a properties file with:
{code:java}
# JIRA PROPERTIES
jira.url=http://XXXXX:8080
jira.username=XXXXX
jira.password=XXXXX
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)